Thanks!
Works like a charm!
--
Sloan
- Original Message -
From: Larry Zappeterrini [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, February 14, 2003 3:12 PM
Subject: RE: Using the html:message tag
html:messages works a bit differently than
Try this:
html:messages id=success message=true /
If you omit message=true then the tag only looks for error messages under
Action.ERROR_KEY. With the message=true it will look for messages under
Action.MESSAGE_KEY.
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
You have to set the 'message' attribute of html:messages to 'true'. The docs at
http://jakarta.apache.org/struts/userGuide/struts-html.html#messages explain it all.
Sri
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 1:26 PM
To:
- Original Message -
From: Jerome Jacobsen [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, February 14, 2003 1:47 PM
Subject: RE: Using the html:message tag
Try this:
html:messages id=success message=true /
If you omit message=true then the tag only looks for error
Sorry. It should be this:
html:messages name=success/
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 2:09 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Using the html:message tag
Jerome,
I tried
: Friday, February 14, 2003 2:09 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Using the html:message tag
Jerome,
I tried it but it didn't work.
Here is what I have in my HTML:
html:messages id=success message=true /
And here is what is in my action file:
ActionMessages messages
- Original Message -
From: Jerome Jacobsen [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, February 14, 2003 2:13 PM
Subject: RE: Using the html:message tag
Sorry. It should be this:
html:messages name=success/
-Original Message-
From: Sloan
return new ActionForward( (String)PropertyUtils.getSimpleProperty(_form,
SUCCESS_PAGE) );
}
}
- Original Message -
From: Sri Sankaran [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, February 14, 2003 2:25 PM
Subject: RE: Using the html:message tag
Use
=true
%-- print out mdxquery, could also use bean:write --%
c:out value=${mdxquery} /
/html:messages
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 2:57 PM
To: Struts Users Mailing List
Subject: Re: Using the html:message tag
9 matches
Mail list logo