Thanks Hani, Just figured out the controlheader.jsp. Also shouldnt the stylesheet associated with the template pages be included automatically when the controls are present in a page? Maybe a webwork:style taglib that would place the styles.css file in the page. This would make it one less thing to do for the Webwork user.
--- Hani Suleiman <[EMAIL PROTECTED]> wrote: > There are two kinds of error messages, general ones > and field specific > ones. > > The field ones go alongside the field, as used by > controlheader.jsp > which is included in every template: > > <span > class="errorMessage"><webwork:property > value="."/></span> > > To show other error messages, you have to > specifically do so in your > own pages, by adding something like this at the top: > > <webwork:if test="hasErrorMessages == true"> > ERROR:<BR> > <webwork:iterator value="errorMessages"> > <FONT > COLOR=red><webwork:property/></FONT><BR> > </webwork:iterator> > </webwork:if> > > On Dec 7, 2003, at 2:53 PM, Rajagopal. V wrote: > > > Hello All, > > If we do an addError("FieldName", "error message") > , > > is this supposed to display the error message next > to > > the field in the UI? Can someone explain the > > difference between doing a addError Vs. > > addErrorMessage. I looked at > > templates/xhtml/text.jsp(and other control jsps) > and > > couldnt find anything that looks for the > errormessage > > collection and display it? Am i missing something? > > > > Thanks > > Raj > > > > __________________________________ > > Do you Yahoo!? > > New Yahoo! Photos - easier uploading and sharing. > > http://photos.yahoo.com/ > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback > Program. > > Does SourceForge.net help you be more productive? > Does it > > help you create better code? SHARE THE LOVE, and > help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback > Program. > Does SourceForge.net help you be more productive? > Does it > help you create better code? SHARE THE LOVE, and > help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork