And your html?

2006/12/1, Ted Roeloffzen <[EMAIL PROTECTED]>:

list.add(new AttributeModifier("class", new Model() {
    public Object getObject(final Component component)
    {
    String cssClass;
    if(isHorizontal)
    {
     cssClass = "menuItemsHorizontal";
    } else {
     cssClass = "menuItemsVertical";
    }
    return cssClass;
    }
   }));

This is almost exactly the same as the example i got from Erik.

Ted

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to