Any example of such situation? For more complex forms probably users would specify their own forms. Since you know that field's unqueId's you can just put the msg tags in the page manually.
In Record there is a more flexible way as users can specify a form template ... se MetaRecord.formTemplate. I'm not sure if Mapper has something similar. Br's, Marius On Dec 30, 4:25 am, Naftoli Gugenheim <[email protected]> wrote: > It would be nice if they did that. > How would you tell Lift where to put the notice, in cases where it's not > directly adjacent to the field? > > ------------------------------------- > > Marius<[email protected]> wrote: > > IMO <lift:msg id="..."> should be generated by the same code that > generates the form fields so that the field errors to appear nearby > the field itself. I assume you are using ProtoUser. > > Looks like a bug to me. > > Br's, > Marius > > On Dec 28, 2:36 am, tiro <[email protected]> wrote: > > > Just discovered this issue (1.1-m8): The sign-up form will not display > > field errors by default. The user therefore gets the impression that > > the application has simply stopped responding. The validation I > > checked (and this may be the only one) was the unique e-mail address > > validation. If the e-mail address has already been used before, it > > sends a FieldError to S.error. Displaying the message would require a > > specific call to the Msg-Snippet for that field afaik; but this call > > is not generated by the localForm method. > > > For now I will explicitly call the snippet for the email field in the > > surrounding template, so that the message will be displayed above the > > whole form. > > -- > > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/liftweb?hl=en. -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
