How to get the url in xform

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to get the url in xform

sunilmanyam

 

Hello All,

 

         I want to get the URL into my xform. I have 3 pages having similar behavior and similar code.

Based on the URL value I have to change the small changes into my code.

 

My pages are like

 

http://localhost:8080/web/guest/ABC

 

http://localhost:8080/web/guest/XYZ

 

http://localhost:8080/web/guest/PQR

 

I want to get the last term value ABC/XYZ/PQR

 

I tried like this

 

http://localhost:8080/web/guest/ABC?page=ABC

 

But liferay not supports this type of friendly url.

 

Any idea will be a great help.

 

Thanks

Sunil M

Software Engineer

Prodigy Sys & Services Pvt Ltd.

Hyderabad

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How to get the url in xform

Alessandro Vernet
Administrator
Sunil,

sunilmanyam wrote
         I want to get the URL into my xform. I have 3 pages having similar
behavior and similar code.
Do you have 3 separate forms right now, and you would like to have just one? Are you mapping those URL to the different forms using a page-flow.xml?

Alex
Reply | Threaded
Open this post in threaded view
|

RE: Re: How to get the url in xform

sunilmanyam
Alex,
        Thanks for your response. I will try with different forms using
page-flow.xml. It will work I think so.

Thanks
Sunil

-----Original Message-----
From: Alessandro Vernet [mailto:[hidden email]]
Sent: Tuesday, May 19, 2009 6:45 AM
To: [hidden email]
Subject: [ops-users] Re: How to get the url in xform


Sunil,


sunilmanyam wrote:
>
>          I want to get the URL into my xform. I have 3 pages having
> similar
> behavior and similar code.
>

Do you have 3 separate forms right now, and you would like to have just one?
Are you mapping those URL to the different forms using a page-flow.xml?

Alex

-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet
--
View this message in context:
http://www.nabble.com/How-to-get-the-url-in-xform-tp23592136p23608037.html
Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws