I have never really used the EL. It does seems quite straightforward. However a code snippet would "still" be welcome.
And, Happy New Year! Christian > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: December 20, 2006 19:20 > To: [email protected] > Subject: Re: [magnolia-user] Validation of Fields in a dialog? > > > This doesn't directly answer your question, but you could > check for it in your template using jsp - and the EL. If you > need help figuring out how to do that, let me know and I can > write you up a quick code snippet... > > It's not nearly as pretty as validating in the dialog, but at > least you would be able to provide the editors with a note or > a message on the page indicating that there was an error > prior to them activating the page... > > Ryan > > > > > On 12/20/06 10:26 AM, "Christian Sylvestre" > <[email protected]> wrote: > > > Is there a way to validate content entered in a Dialog? > > > > Basically I got a dialog where I want to make sure that my Editors > > don't enter a title longer then a certain number of characters. > > > > I looked in info.magnolia.cms.gui.dialog.DialogEdit and in > > info.magnolia.cms.gui.control.Edit and I could not see > anything that > > looks like validation. > > > > I looked on the list and I could not find any post on that > matter (or > > maybe I missed them). > > > > Any info/idea would be welcome. > > > > Thanks, > > > > C. > > > > > > ---------------------------------------------------------------- > > for list details see > > http://www.magnolia.info/en/magnolia/developer.html > > ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > for list details see > http://www.magnolia.info/en/magnolia/developer.html > ---------------------------------------------------------------- > ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
