Cool thanks,

I was hoping that was the case.
Makes for a lot less work.

Shawn

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig
McClanahan
Sent: Wednesday, December 21, 2005 7:08 PM
To: Struts Users Mailing List
Subject: Re: [JSF/Shale] Controller returning null

On 12/21/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
>
> I am not 100% sure but I think it does return the previously rendered
> view.
>
> On 12/21/05, Garner, Shawn <[EMAIL PROTECTED]> wrote:
> >
> > I see examples of the controller method returning "success" or "error"
> > type
> > situations which are mapped in the faces-config.xml file.
> >
> > What happens if you return null from a controller method?
> >


Apologies if this is a repeat ... I can't see any evidence that the reply I
*thought* I sent to this question actually got sent.

The precise behavior in this case is up to the NavigationHandler instance
being used, but the behavior for the *default* NavigationHandler instance is
specified (see Section 7.4.2 of the JSF Specification).  A null return
indicates that the current view should be rerendered, as Alexandre states
above.

Craig

**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to