add(new LInk("link") {}.setVisible(someCondition));
Martijn
On 1/10/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote:
> I need show a downloadlink when a record has a attachment info. since the
> reocrd may have not attachment, the downloadlink must be create by condition.
> how can i do it ?
> I also feel puzzle for how to do generate a system menu or some dymic link .
> since the componet have to bind with some id.
>
> Need i add a webmarkcontainer to hold the id of downloadlink to do this ?
> it's too verbose.
>
> or it's another question, could I decide bind the compoent into the id by
> condition?
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
--
Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
http://wicketframework.org
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user