Daniil Petrov wrote:
> Hi
>
> I'm using List<Map<String,String>> as source for a table. Is it 
> possible to configure table decorator for this case? What methods 
> should be overloaded?

You create methods  using the key of the map as the property name.

For a Map like so:
{name=Tim, age=74, sex=male}

you need to define methods in your TableDecorator like so:

public String getName() {
}

public String getAge() {
}

public String getSex() {
}


and that should be that.

Ed!

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to