Hi Mark,

Maybe one way of doing this is to add a parameter in the URL for your
clients. Just one example

--> For the first type of users, you ask them to access your site at
http://www.yoursite.com?destination=site1

--> For the second type of users, you ask them to access your site at
http://www.yoursite.com?destination=site2

In your entry point module, you redirect to a different class
according to the parameter. This is the code that should do the
trick :

String destination = Window.Location.getParameter("destination");

if (destination.equals("site1") then {
  display_web_site1()
  }
if (destination.equals("site2") then {
  display_web_site2()
  }

There might be (better) ways of doing this but this one should work.

Cheers,

Olivier

On 4 mar, 12:14, Bestmacfly <[email protected]> wrote:
> Dear all,
> I'm creating a booking system using GWT. The backend is nearly
> completed. I have created one html page with one entry point, in my
> entry point I'm changing navigation / layout of the page dynamically.
> Now I need a second frontend, which will be totaly different from the
> already created backend. This second frontend should be able to use
> the whole code stuff from my backend (especialy the Requestfactory
> proxies). As far as I understood, it is not possible to simple create
> a second entry point in my application and combine this second entry
> point with a second base html page. So what would be the best approach
> now to realize this?
>
> Best regards
>
> Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to