class MyLink extends BookmarkabkePageLink {
  
public MyLink(String id, IModel model) {
 add(new AttributeModifier("value", true, model));
}
}

-Igor


On 9/22/06, Peter Klassen <[EMAIL PROTECTED]> wrote:
Hi all,

just a simple, stupid question:
i want to use a BookmarkablePageLink as button as described in the
wicket examples for links.
Additionaly i want to use a Model to fill the buttons value. How can i
put these things together?
For a short peace of code i would definitly be thankful. :-)

Thx in advance, Peter

-------------------------------------------------------------------------
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