select dynamic columns

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

select dynamic columns
This post has NOT been accepted by the mailing list yet.
Hi Guys,
I want to select dynamic columns in select

option I have tried is  
1) For each in select but it didn't worked
2) using $ variable but it also not worked
where parameter  is name,desc,id etc

<select id="selectList" resultMap="myMap" parameterType="String" useCache="true" flushCache="false">
                select ${value}
                 from myView

So can any one tell how to to dynamic selection if I pass column list from my java object.