You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Nilesh More <nm...@cybage.com> on 2009/01/06 08:41:05 UTC
URL Help
Hi Friends,
I want to check the content of the url in my java code.
How can I do it?
Thanks in advance
Nilesh N. More
"Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment."
www.cybage.com
Re: URL Help
Posted by Dipu <di...@googlemail.com>.
from java doc
java.lang.CharSequence urlFor(java.lang.Class pageClass,
PageParameters parameters)
Returns a bookmarkable URL that references a given page
class using a given set of page parameters.
java.lang.CharSequence urlFor(IBehavior behaviour,
RequestListenerInterface listener)
Gets a URL for the listener interface on a behavior (e.g.
java.lang.CharSequence urlFor(IPageMap pageMap, java.lang.Class
pageClass, PageParameters parameters)
Returns a bookmarkable URL that references a given page
class using a given set of page parameters.
java.lang.CharSequence urlFor(IRequestTarget requestTarget)
Returns a URL that references the given request target.
java.lang.CharSequence urlFor(RequestListenerInterface listener)
Gets a URL for the listener interface (e.g.
java.lang.CharSequence urlFor(ResourceReference resourceReference)
Returns a URL that references a shared resource through the
provided resource reference.
Cheers
Dipu
On Tue, Jan 6, 2009 at 11:33 AM, Nilesh More <nm...@cybage.com> wrote:
> Hi
> I used the method but it's giving the url of the component that I am
> clicking.
> Actually I wanted to get the content of the main page url
> Is there any different solution?
>
> Nilesh
>
> -----Original Message-----
> From: Dipu [mailto:dipu.wkt@googlemail.com]
> Sent: Tuesday, January 06, 2009 2:36 PM
> To: users@wicket.apache.org
> Subject: Re: URL Help
>
> try getRequestCycle().getRequest().getURL()
>
>
> Regards
> Dipu
>
> On Tue, Jan 6, 2009 at 7:41 AM, Nilesh More <nm...@cybage.com> wrote:
>> Hi Friends,
>>
>> I want to check the content of the url in my java code.
>>
>> How can I do it?
>>
>>
>>
>> Thanks in advance
>>
>>
>>
>>
>>
>> Nilesh N. More
>>
>>
>>
>>
>> "Legal Disclaimer: This electronic message and all contents contain
> information from Cybage Software Private Limited which may be
> privileged, confidential, or otherwise protected from disclosure. The
> information is intended to be for the addressee(s) only. If you are not
> an addressee, any disclosure, copy, distribution, or use of the contents
> of this message is strictly prohibited. If you have received this
> electronic message in error please notify the sender by reply e-mail to
> and destroy the original message and all copies. Cybage has taken every
> reasonable precaution to minimize the risk of malicious content in the
> mail, but is not liable for any damage you may sustain as a result of
> any malicious content in this e-mail. You should carry out your own
> malicious content checks before opening the e-mail or attachment."
>> www.cybage.com
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
RE: URL Help
Posted by Nilesh More <nm...@cybage.com>.
Hi
I used the method but it's giving the url of the component that I am
clicking.
Actually I wanted to get the content of the main page url
Is there any different solution?
Nilesh
-----Original Message-----
From: Dipu [mailto:dipu.wkt@googlemail.com]
Sent: Tuesday, January 06, 2009 2:36 PM
To: users@wicket.apache.org
Subject: Re: URL Help
try getRequestCycle().getRequest().getURL()
Regards
Dipu
On Tue, Jan 6, 2009 at 7:41 AM, Nilesh More <nm...@cybage.com> wrote:
> Hi Friends,
>
> I want to check the content of the url in my java code.
>
> How can I do it?
>
>
>
> Thanks in advance
>
>
>
>
>
> Nilesh N. More
>
>
>
>
> "Legal Disclaimer: This electronic message and all contents contain
information from Cybage Software Private Limited which may be
privileged, confidential, or otherwise protected from disclosure. The
information is intended to be for the addressee(s) only. If you are not
an addressee, any disclosure, copy, distribution, or use of the contents
of this message is strictly prohibited. If you have received this
electronic message in error please notify the sender by reply e-mail to
and destroy the original message and all copies. Cybage has taken every
reasonable precaution to minimize the risk of malicious content in the
mail, but is not liable for any damage you may sustain as a result of
any malicious content in this e-mail. You should carry out your own
malicious content checks before opening the e-mail or attachment."
> www.cybage.com
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: URL Help
Posted by Dipu <di...@googlemail.com>.
try getRequestCycle().getRequest().getURL()
Regards
Dipu
On Tue, Jan 6, 2009 at 7:41 AM, Nilesh More <nm...@cybage.com> wrote:
> Hi Friends,
>
> I want to check the content of the url in my java code.
>
> How can I do it?
>
>
>
> Thanks in advance
>
>
>
>
>
> Nilesh N. More
>
>
>
>
> "Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment."
> www.cybage.com
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org