-Original Message-
From: David Leangen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2008 6:14 PM
To: users@wicket.apache.org
Subject: RE: Enabling compoents based on Wicket URI path?
A little bit confused... perhaps I or you misunderstood. I'm using a
textfield in the 'navigator' section
: Enabling compoents based on Wicket URI path?
A little bit confused... perhaps I or you misunderstood. I'm using a
textfield in the 'navigator' section of my site. So, if a particular
URL
is being accessed (.../foo or .../bar) then I want to hide the
textfield. Otherwise the navigator shows
.
Michael
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 03, 2008 7:32 AM
To: users@wicket.apache.org
Cc: [EMAIL PROTECTED]
Subject: Re: Enabling compoents based on Wicket URI path?
((webrequest)getrequest()).gethttpservletrequest().getrequesturi
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
Anybody? I couldn't find anything digging around in the archives...
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2008 11:13 AM
To: users@wicket.apache.org
Subject: Enabling compoents based on Wicket URI path?
I need to hide a textfield
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
-Original Message-
From: David Leangen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2008 5:41 PM
To: users@wicket.apache.org
Subject: Re: Enabling compoents based on Wicket URI path?
So essentially, you need some variable to hold state and based on the
value of that variable, you
A little bit confused... perhaps I or you misunderstood. I'm using a
textfield in the 'navigator' section of my site. So, if a particular URL
is being accessed (.../foo or .../bar) then I want to hide the
textfield. Otherwise the navigator shows the textfield. Does that make
more sense?
In