I've started looking at the FAQ page, drthink. Looking good! I've
edited it to remove the undesirable wiki links on CamelCase words.
What I do:
- Prefix it with ! if it's not code (i.e. !AppEngine)
- Use the inline code notation if it's code (i.e. `PresenterWidget`)
Here are some questions I can think of based on my own experience with
the framework:
- Should my ginjector method to return an Provider<MyPresenter> or an
AsyncProvider<MyPresenter>?
- What is a good way of disabling browser navigation when a modal
dialog is displayed?
- How do I choose between onReveal() and onReset()?
- How can I use two leaf Presenter on the same page? (i.e. the link
column bar and the main content)
Thanks again for doing this, it's much appreciated.
Cheers,
Philippe
On Jul 2, 7:20 am, Christian Goudreau <
goudreau.christ...@gmail.com>
wrote:
> Secury with ActionValidator is only a matter of saying : Can HE do this
> action ?
>
> The HE is up to you to indentify the user with cookies and to set up some
> user restrictions based on whatever security you use. Like I do in
> AppEngine, I'm creating a User Object that contains his right and some
> informations. When an action is executed, I'm checking the user right.
>
> If you don't use AppEngine, simply use HttpSession.
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http...
>
> You can then identify the user with the session Id or create one yourself.
> Cookie work in the same way, use standard Http request.
>
> With guice, you can easily inject HttpSession, HttpServletRequest and
> HttpServletResponse anywhere in server side.
http://code.google.com/p/google-guice/wiki/ServletModule