Additionally, it seems that setRenderBodyOnly(true) has no effect with
ListView.

for example: 
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"))
                        .setRenderBodyOnly(true)
                );              
                     setVersioned(false);
        }

        private static class Rows extends ListView
        {
                 ...
        }

We can find that the output html page  still has the html tag like this:

   ...

-- 
View this message in context: 
http://www.nabble.com/AttributeModifier-SimpleAttributeModifier-have-no-effect-with-ListView--tf4059735.html#a11534176
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to