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 ba
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
Actually, It is simple.
On the GWT side, you can duplicate the ".gwt.xml" file and change the name
and stuff... both modules will be recognized and will be separate and can
share all the code. Of course you will need to name them differently. And
create a second html file that points to the sec
The great thing with RequestFactory (compared to GWT-RPC), is that your
client(s) is not tightly bound to your server. Simply create another "GWT
app" (another *.gwt.xml, either in the same Eclipse project or in a
distinct one, as you prefer; called from another HTML page) and use your
RequestF
Hi all,
thank you very much, it works for me now as you described:
I have created a new module inside my existing project. The new xml is
placed in the same folder as the xml of my first project. I created a
new client package for the second frontend and a corresponding html-
page for the second x
While I am a fan of the decoupling pointed out by Thomas Broyer with
RequestFactory, you can still do the same thing with RPC rather easily, and
skip the need for RequestFactory.
In the projects at my office, we use Maven and the following project
structure:
- MainProject.pom
- Client