Hi All!

Sorry to send this doubt to this list, but no one had answered this question
in the user list.

Supose I want to decorate a table column wich represents a nested bean like
in the JSP piece below:

        <% 
                Person person = new Person( "Joseph" );

                Address address = new Address( );
                address.setCity( new City("Brasilia") );

                person.setAddress( address );

                List addressList = new ArrayList( );
                addressList.add( address );

                request.setAttribute( "test", person); 
        %>

        <display:table name="test">
                  <display:column property="address.city" title="CityName"/>
<!-- supose I want use the 'city' object to change the default output -->
        </display:table>

How can I create a decorator (TableDecorator) to accomplish this?? I want to
use a TableDecorator but I don't know how would be the method's signature...

Thanks,

Expedito.


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to