Che Schneider wrote:
> Hi all,
> 
> I still have a little trouble figuring out how to do certain things with
> wicket.
> At the moment I am stuck with modelling the typical <c:choose><c:when>
> construct.
> 
> For example:
> I query a database for a company. If an instance is found I want to
> display it's information (name, address, etc). If no instance is found I
> want to display just a general message like "No company found".
> 
> How do I accomplish this with wicket?

You have a panel in your page, and you make them visible/invisible in
your java code, not in the template. IMO this makes the templates sooo
much more readable.

Regards, Upayavira

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to