Presumably you know at *some* point and can either craft JSON or other
JavaScript or JSP or etc. to produce valid view layer markup. What
have you tried so far?

Dave

On Tuesday, January 18, 2011, clockdva242 <sb.stefanobio...@gmail.com> wrote:
>
> how can i use it in a dynamic way?
> i don't know the number and name of columns
>
> thanks
>
>
> Dave Newton-6 wrote:
>>
>> Have you considered the display:table custom tags provided by the
>> displaytag
>> project [1]?
>>
>> IIRC there were issues with some of its links being executed as OGNL; I
>> don't know how or if that was ever resolved. There are a number of other
>> options as well, including JavaScript-based things like DataTables [2].
>>
>> Dave
>>
>> [1] http://www.displaytag.org/1.2/
>> <http://www.displaytag.org/1.2/>[2] http://www.datatables.net/
>>
>> On Sun, Jan 16, 2011 at 11:17 AM, clockdva242
>> <sb.stefanobio...@gmail.com>wrote:
>>
>>>
>>> i'm using s:iterator e display:table to view my list
>>>
>>> now i have a problem
>>>
>>> there is a dynamic list for which i don't know the number and the name of
>>> columns so i have to build the table when i get the info; a solution
>>> could
>>> be write a dynamic table using code java in the jsp
>>>
>>> it's not very good to see but it works (i have not written the code but
>>> it
>>> seems easy)
>>>
>>> now i ask: it is possible to make that using s:iterator e display:table?
>>>
>>> thanks
>>> --
>>> View this message in context:
>>> http://old.nabble.com/dynamic-list-in-struts-2-tp30676156p30676156.html
>>> Sent from the Struts - Dev mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: dev-h...@struts.apache.org
>>>
>>>
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/dynamic-list-in-struts-2-tp30676156p30698187.html
> Sent from the Struts - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to