You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gwt-pl...@googlegroups.com
Hey all,
I have an application that I'm trying to convert from GWT-MVP to GWTP. The previous implementation made all the history tokens very verbose - they actually contained the Place's simple class name. I want to change them to be much simpler, but I still want to make all the old history tokens work in case users have links bookmarked or saved. Is there a way in GWTP to do this - perhaps to make an alias for a name token, or to map multiple name tokens to a single presenter? Or, do I need to file some kind of enhancement request on github?
Thanks,
Chris
Christian
unread,
Dec 10, 2013, 11:15:46 AM12/10/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
When I'm looking into the JavaDoc there is a ProxyPlaceAbstract#matchesRequest(PlaceRequest).. that could probably the place where you have to implement a check against both of your NameTokens?
But the best thing would be, if GWTP implements this directly itself (or maybe it is already?) through something like a NameToken-annotation that could have more than one value.
Christian
unread,
Dec 10, 2013, 11:17:43 AM12/10/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gwt-pl...@googlegroups.com
Thanks, Christian - I'll check out using a custom proxy. I agree, though, it would be much better if GWTP could allow this automatically - I'll file an issue on github for it.
Chris
David Ignjić
unread,
Dec 11, 2013, 2:11:24 AM12/11/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message