It seems that AttributeModifier/SimpleAttributeModifier have no effect with
ListView. For example, if we change
wicket.examples.nested.RecursivePanel.java a little like this:
1)original
public RecursivePanel(final String id, List list)
{
super(id);
add(new Rows("rows", list));
setVersioned(false);
}
private static class Rows extends ListView
{
...
}
2) after change:
public RecursivePanel(final String id, List list)
{
super(id);
add(new Rows("rows", list).add(new
SimpleAttributeModifier("class","testclass"))); setVersioned(false);
}
private static class Rows extends ListView
{
...
}
We can find that the output html page doest not include anything like
class="testclass". What's the problem ? Thanks!
--
View this message in context:
http://www.nabble.com/AttributeModifier-SimpleAttributeModifier-have-no-effect-with-ListView--tf4059735.html#a11533822
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user