I believe it's the struts-bean.tld write attribute which actually does the work here, the struts-html.tld's messages attribute just iterates. Where's the prefix associated with the struts-bean.tld in your snippet, that is, one would expect to see something like:
<%@ taglib uri="struts-bean" prefix="NNN" %> ... <NNN:write name="message"/> where you have: <:write name="message"/> Mike --- Ryan Cuprak <[EMAIL PROTECTED]> wrote: > > > Hello, > > While I have had no problems getting errors to > display I am unable to > get messages displayed. > > > > In my jsp page I have the following: > > <ul> > > <html:messages > id="message"> > > <li><:write > name="message"/></li> > > </html:messages> > > </ul> > > <html:errors/> > > and in the action which loads this pages I have: > > if ( > !authenticate.authenticate(userID,password) ) { > > if ( authenticate.isLocked() ) { > > > errors.add(ActionErrors.GLOBAL_ERROR,new > ActionError("login.locked")); > > } else { > > > messages.add(ActionMessages.GLOBAL_MESSAGE,new > ActionMessage("login.failure")); > > } > > saveErrors(request,errors); > > saveMessages(request,messages); > > return ( new > ActionForward(mapping.getInput())); > > > > Does anyone know why the html:message tag isn't > displaying the messages? > The only time it will display a bullet (without any > text) is if there is > an error (huh?). Otherwise my message never gets > displayed. Resources > are setup properly as I am able to retrieve the > 'login.failure' text via > bean:message.I am using the RC1.1 candidate. Is this > a bug? > > > > Thanks, > > Ryan > > > > > > > > __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]