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 <[email protected]> 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:[email protected]]
> Sent: Tuesday, January 06, 2009 2:36 PM
> To: [email protected]
> Subject: Re: URL Help
>
> try getRequestCycle().getRequest().getURL()
>
>
> Regards
> Dipu
>
> On Tue, Jan 6, 2009 at 7:41 AM, Nilesh More <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]