struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pratt" <thechrispr...@gmail.com>
Subject Accessing ActionMessages from a Tag Library
Date Fri, 28 Dec 2007 19:19:52 GMT
OK, I'm losing my mind trying to figure this out.  I tried asking on
the Users list, but no one there seemed to know the answer, so I
figured I'd just ask the people who already know.

I'm trying to write a tag library that mimics the old Struts 1 html
tag library, I'm planning on open-sourcing it when I get close enough
to being done.  One of the tags I'm attempting to write is the old
<html:messages> tag.  But, I can't seem to figure out how to get hold
of the messages.  I tried to trace how it works in the new struts
<s:actionmessage> tag, but jumping between JSP Tag Libraries, OGNL
Processors, Components and FreeMarker scripts is too much for my
feeble brain.

What is required for a tag library to display the ActionMessage,
ActionErrors and FieldErrors ???

Any help would be greatly appreciated.
 (*Chris*)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message