> "Chris" == Chris Searle <[EMAIL PROTECTED]> writes:
> And the message code JSP:
> id="message" message="true"> value="${messsge}"/>
>
> Nothing displays.
Sent that a bit too fast.
Think that :
would benefit by being:
:-)
--
Chris Searle
[EMAIL PROTECTED]
> "Steve" == Steve Raeburn <[EMAIL PROTECTED]> writes:
> The nightly build has a method that allows you to store
> messages in the session. They are automatically removed
> after being displayed.
> Action: protected void saveMessages(HttpSession session,
> ActionMessages
On 10/17/2003 10:43 AM Chris Searle wrote:
"Chris" == Chris Searle <[EMAIL PROTECTED]> writes:
> Had the problem with using the html:messages with struts-el
> from the 1.1RC1 build (NullPointerException) - so I've just
> upgraded to 1.1 (thought I'd already done so).
> Now - I get
Chris,
This works for me:
<%=org.apache.struts.action.ActionErrors.GLOBAL_ERROR %>
I think by default your messages tag is not showing errors. That's what
the 'property' attribute is for.
Also, although I've forgotten the details - I think that message="true"
means that it will pick up
[EMAIL PROTECTED]
> Sent: October 17, 2003 1:44 AM
> To: [EMAIL PROTECTED]
> Subject: Re: struts-el and messages
>
>
> >>>>> "Chris" == Chris Searle <[EMAIL PROTECTED]> writes:
>
> > Had the problem with using the html:messages with struts-e
> "Chris" == Chris Searle <[EMAIL PROTECTED]> writes:
> Had the problem with using the html:messages with struts-el
> from the 1.1RC1 build (NullPointerException) - so I've just
> upgraded to 1.1 (thought I'd already done so).
> Now - I get no exception - but I get no message
OK,
Had the problem with using the html:messages with struts-el from the
1.1RC1 build (NullPointerException) - so I've just upgraded to 1.1
(thought I'd already done so).
Now - I get no exception - but I get no message either.
The servlet code:
ActionErrors errors = new ActionErro
7 matches
Mail list logo