struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yoge <yogeb...@gmail.com>
Subject Re: Accessing ActionMessages from Tag Library
Date Mon, 24 Dec 2007 12:41:41 GMT
Try
<s:actionmessage />. More info in
http://www.roseindia.net/struts/struts2/struts2uitags/actionerror-and-actionmessage-tag.shtml

-- 
Yoge,
AdventNet, Inc.
site24x7.com



On Dec 23, 2007 2:09 PM, Chris Pratt <thechrispratt@gmail.com> wrote:

> OK, I'm losing my mind trying to figure this out, so I figured I'd
> just ask the people who already know.
>
> I'm trying to write a tag library, one of the tags I'm attempting to
> write is similar to the old <html:messages> tag from Struts 1.  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 tags, 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
--Yoge
91-9840425388

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message