This is implementing the spec. regards,
Martin On Dec 28, 2007 1:59 PM, quest26 <[EMAIL PROTECTED]> wrote: > > Hello, > > I saw this in myfaces wiki.. > If the action method is of a form that returns a navigation string, then: > > Any non-null string will cause the lifecycle to proceed directly to the > render-response phase, meaning that validation of any non-immediate input > components never occurs. This is why an immediate command component is a > natural way to implement "cancel" operations; it works even when there are > input fields in the page that would fail validation. Of course as a > result, > there is never any update-model phase, ie data entered by the user is > discarded. > > A null return value causes processing to continue as normal, ie > non-immediate components are validated then update-model is executed (if > no > validation errors occurred). > > Is this behavior specific to myfaces or is required by the jsf spec (so > that > all implementations should have this behavior) ? > > Thanks a lot. > > P.S: I am new to jsf so kindly excuse errors :) > -- > View this message in context: > http://www.nabble.com/String-outcome-will-cause-lifecycle-phase-skip---Myfaces-specific---tp14525536p14525536.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

