multi pages in gwt

43 views
Skip to first unread message

Marko Borges

unread,
Aug 25, 2011, 11:51:36 AM8/25/11
to google-we...@googlegroups.com
Hello.

I am trying to use 3 different pages and I can see the result ok in the hosted page but not in the respective page.

Its weird cause I had 2 pages, and create 1 module for each one and it worked! but for this 3rd page it doesnt. I consider module as the Service and ServiceAsync classes. Am I right?

For the first 2 pages I used only one entry point, one module for each page and the server class which implements the 2 services. This worked, but for the new page doesnt.

Can anybody explain me why?

Thanks,
Mark

Sandney Farias

unread,
Aug 25, 2011, 2:22:54 PM8/25/11
to google-we...@googlegroups.com

Marko Borges

unread,
Aug 29, 2011, 4:22:25 AM8/29/11
to google-we...@googlegroups.com
Thanks for your answer. This looks like a little complicated and confusing. Isnt there a easier way? I will have many pages.

Thanks,
Mark

2011/8/25 Sandney Farias <sandne...@gmail.com>
Mark,

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/nKFb_l7W81UJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Marko Borges

unread,
Aug 29, 2011, 7:30:42 AM8/29/11
to google-we...@googlegroups.com
By the way I am trying to work with gwt-multipage jar that looks simple but had to update gwt and smartgwt and everything is crashing now...

Baaaaaah



2011/8/29 Marko Borges <markob...@gmail.com>

Cristian Rinaldi

unread,
Aug 29, 2011, 8:17:26 AM8/29/11
to google-we...@googlegroups.com
What is the reason to have multiple pages? (HTML Pages)
Ajax applications respond to the pattern Sinlge Page.
You can manage the content to be displayed using MVP (Place / Activities).


A.U.S Cristian Rinaldi

2011/8/29 Marko Borges <markob...@gmail.com>

Marko Borges

unread,
Aug 29, 2011, 9:52:08 AM8/29/11
to google-we...@googlegroups.com
Cause i am doing a project migration and i dont wanna loose the structure.
I know that GWT applications have a single page as pattern but I would like to use multiple pages.

In case I change my mind and wanna use MVP, does anyone have a complete example, cause in case of menus and complex widgets how would MVP work?

2011/8/29 Cristian Rinaldi <cristian...@logikas.com>

Bruno Sandivilli

unread,
Aug 29, 2011, 10:50:59 AM8/29/11
to google-we...@googlegroups.com
I have the same doubt a months ago, my project had to use clean urls. To solve this i did like i think twitter dows. i put a hash tag listener in my page, so the urls looks like www.myapp.com/#!/user , and i catch the events on there. But im asking me now, theres another beuatfull way to achive clean url's in GWT?

2011/8/29 Marko Borges <markob...@gmail.com>
Reply all
Reply to author
Forward
0 new messages