RE: Problem with html:message

2003-08-14 Thread Charles Canning
Thanks, Remobingthe messages="true" worked. Chuck -Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 1:00 PM To: Struts Users Mailing List Subject: Re: Problem with html:message Check that the ActionErrors ob

Problem with html:message

2003-08-14 Thread Charles Canning
Hey, This is the contents of my request object. This is displayed from inside the messagesPresent tag: A Name: javax.servlet.include.context_path A Name: createAccountForm A Name: org.apache.struts.action.MESSAGE A Name: javax.servlet.include.servlet_path A Name: javax.servlet.include.request_uri

Re: Problem with html:message

2003-08-14 Thread Michael Ruppin
Check that the ActionErrors object under org.apache.struts.action.ERROR actually contains anything: Iterator i = request.getAttribute(Globals.ERROR_KEY).get(); while (i.hasNext()){ System.out.println(i.next()).getKey()); } Although, even if it did, I don't think you'll see them when you set mes

Re: Problem with html:message

2003-03-17 Thread Michael Ruppin
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" pre

Re: Problem with html:message

2003-03-17 Thread David Graham
http://jakarta.apache.org/struts/userGuide/struts-html.html#messages David From: "Ryan Cuprak" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Problem with html:message Date: Mon, 17 Mar 2003

Problem with html:message

2003-03-17 Thread Ryan Cuprak
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: <:write name="message"/>