So essentially, you need some variable to hold state and based on the
value of that variable, you show or hide a component, right?

Just use an IndexedParamCodingStrategy.

Does that make sense, or do you need more details?



On Wed, 2008-07-02 at 11:12 -0700, Michael Mehrle wrote:
> I need to hide a textfield based on the URI path of the page that's
> being visited. For instance:
> 
>  
> 
> http://www.mysite.com/app/foo (hide the field)
> 
> http://www.mysite.com/app/bar (hide the field)
> 
>  
> 
> http://www.mysite.com/app/* (any other path, show the field).
> 
>  
> 
> I don't want to use the HTTP URI var since I would have to change that
> everytime I change wicket URI paths. What approach would you guys
> suggest?
> 
>  
> 
> Thanks,
> 
>  
> 
> Michael
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to