Tuesday, July 5, 2016

Cascading GWT Application ?

Hey.

My question is simple : is this possible of calling a gwt application into another gwt application.

My sample case is simplest as hell, but I can't figure it out what is the best solution to do it :
I Would like 3 differents GWT project to deploy them independently :
- A first app doing single job (App1)
- Another one doing other stuffs (App2)
- And a sophisticate menu to switch from the first to the other. (AppMenu)

Actually, what i am trying to do is using jsp file in App1 / App2 project to import the jsp file of my AppMenu. (Using c:import url="localhost:8080/AppMenu/AppMenu.jsp" />)
But when I do that, even if my AppMenu.jsp is rendering well my menu on my tomcat's url : localhost:8080/AppMenu/AppMenu.jsp, on App1's url I got nothing. The hearder and the simple html is printed in my page, but my GWT containerDiv is still empty.

I'm pretty sure GWT can do that, but i do not want create GWT module for each project to import a .jar in another. The goal is really to got 3 linked applications working together but independent ! 

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment