wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From miao2oo <miao...@gmail.com>
Subject Adding border in border
Date Wed, 10 Jul 2013 16:34:27 GMT
Hi need some help here. Anyone knows how to add a Border in a Border.
Eg. 
[HTML]
<wicket:border wicket:id="mainBorder">
    <wicket:border wicket:id="subBorder1">
        
    </wicket:border> 
    <wicket:border wicket:id="subBorder2">
        
    </wicket:border>	
</wicket:border>

[Java]
public TestPage(final String id) {
super(id);
    MainBorder mainBorder = new MainBorder("mainBorder");
    mainBorder.addToBorder(new SubBorder("subBorder1"));
    mainBorder.addToBorder(new SubBorder("subBorder2"));
    add(mainBorder);
}



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Adding-border-in-border-tp4660191.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message