Re: design pattern for common functionality between Activities
hi Nicolas & others,
I understand how you work with the dynamic hosted page, but how do you
throw the remote exception like you describe here :
On server side, I use a security framework that check permission on
rpc
call. If user is not logged in (session has expired) but want to
access to a
"secured method" -> I throw a special remote exception. This
exceptions is
handled by a custom AsyncCallback that will redirects the user to a
login
page + sends a new LoginStatusEvent(false)
I am using Requestfactory and I have "/gwtRequest" behind a security
constraint; so I can block unauthorized request, but I am not
receiving a RemoteException; Neither is 'onViolation' or 'onFailure'
triggered; My console displays just a JSON exception that occurs.
thx
Koen
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home