Ya aiming to get into the guinness-book under the section of the fastest mailing-list problem responder, don't you ?
Thank you! Matt.Rossner-prest wrote: > > Try setting immediate="true" on the cancel button. > > -----Original Message----- > From: Groovie [mailto:[EMAIL PROTECTED] > Sent: vendredi 28 novembre 2008 09:31 > To: [email protected] > Subject: [TOBAGO] How to escape from a validation error with an escape > button > > > Salut M'cs, > > i build a dialog with some <tx:textarea> and <tx:in> > and a required="true" attribute to these tag. > Below that input field i add a [save] and a [cancel] > button. When the user wants to save an forgot > to enter some data into a required input field, > the TOBAGO/Myfaces frameworks sends an error > by marking the inputfield with a red frame and > displays lower a error message. > > This is wonderful!!! > > But iff the user wants to leave an is pressing the > cancel button, the same validation mechanism starts > to block any further operation and the user remains > in a error loop while he really wants to escape from > this dialog. > > I also add a self implemented validation methode, > but unfortunately this one is not beeing called. > > What can i do to disable the validation (like required=true) > for any cancel operation ? > > Thank you > Groovie > > -- > View this message in context: > http://www.nabble.com/-TOBAGO--How-to-escape-from-a-validation-error-wit > h-an-escape-button-tp20730532p20730532.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > > -- View this message in context: http://www.nabble.com/-TOBAGO--How-to-escape-from-a-validation-error-with-an-escape-button-tp20730532p20730845.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

