Opening same application with two different url - GWT

77 views
Skip to first unread message

Fhatu

unread,
Jan 7, 2013, 3:10:29 AM1/7/13
to google-we...@googlegroups.com
Hi,

I want to open/access my application using two different url, one with parameters and one without in GWT.

Regards,
Fhatu

Thomas Broyer

unread,
Jan 7, 2013, 4:12:16 AM1/7/13
to google-we...@googlegroups.com
And? What's your problem?

Fhatu

unread,
Jan 7, 2013, 4:33:03 AM1/7/13
to google-we...@googlegroups.com
 Thanks for the reply Thomas

Im very new on GWT, in my application an email will be send to a user containing a hyperlink which the user can click to access the application. This link will contain workitem tag to determine whick item to open in a celltable list and other url wont contain the the workitem tag. At the moment we using the url without the workitem tag. My question is, is it possible to have two different url with different parameters to access the same application if yes, how do you archive that?

Thank in advance

Fhatu

unread,
Jan 7, 2013, 4:43:42 AM1/7/13
to google-we...@googlegroups.com
First scenario i'm using this link  http://dtwtest02:8080/Enforcements/launch.html#Login which is working perfectly, but i want to have something like this http://dtwtest02:8080/Enforcements/launch.html?casenum=95669&qname=BIA-Central-T1&stepname=DEPTRESP#bpm which is another way to access the application via a link sent to the email

Thomas Broyer

unread,
Jan 7, 2013, 4:55:23 AM1/7/13
to google-we...@googlegroups.com

What have you tried? What was the result?
(hint: com.google.gwt.user.client.Window.Location.getParameter("casenum"))

Fhatu

unread,
Jan 9, 2013, 4:34:26 AM1/9/13
to google-we...@googlegroups.com
I used the History.getToken() which allowed me to run different initialization code at startup and the problem is solved.
Thanks again Thomas for your time to reply.
Reply all
Reply to author
Forward
0 new messages