Where do I get hold of the messages tag? I've looked in my struts-html.tld
file but it isn't there? Which version is it located in?
Thanks
Brian McClung
-Original Message-
From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 1:01 PM
To: [EMAIL PROTECTED]
I think you can use a factory for this. Have a look in
ActionServlet.initApplication() for more detail... And do not forget to have
a good WE ;-))
- Original Message -
From: McClung, Brian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 05, 2001 5:52 PM
Subject: RE: How to
Well.. I think what I was looking for and what might help Brian is:
This queues two error messages, one for the username field and another for
the password field. To print all the messages together, simply place the
error tag anywhere in your JSP.
body bgcolor=white
html:errors/
Or, you can
It turned out that I was using an old version of struts that did not include
the Messages tag in the struts-html.tld. I was able to pull the latest
release down and that helped to get the messages piece working.
Thanks for the help!
Brian McClung
-Original Message-
From: Minh Tran
I'm not sure if this is what you were asking about,
but you can use html:messages instead of html:errors
to give a little more control over displaying errors.
The html:messages tag iterates over the errors so you
can insert markup around an individual message. You
can also use the property
Have a look at an implimentation description and sample that I've put
together at www.leanonme.org. Hope this helps.
Thanks,
Adam S. Grohs
[EMAIL PROTECTED]
- Original Message -
From: Minh Tran [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 3:40 PM
Subject:
6 matches
Mail list logo