To answer a part of your question:

You can 'hide' elements on a condition like this:

add(new SomeComponent(....) {
   public boolean isVisible() {
       return your_condition;
   }
});

Regards,
     Erik.


tooy li(Gmail) schreef:
> 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?
>   

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


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