struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: S2 Action Validation
Date Mon, 09 Apr 2007 22:02:46 GMT
--- stanlick@gmail.com wrote:
> Beyond this, how do I get an S2 action class to
> display a message on the web page?  

See

http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/ActionSupport.html#addActionMessage(java.lang.String)

It takes a String, I18N provided by ActionSupport's
standard getText method.

To display on a JSP page:

http://struts.apache.org/2.x/docs/actionmessage.html

> Also, is there a way to search through the messages 
> from this forum? 

Search via your email client, search one of the
archives (see below), or keep a knowledge base
containing only the important bits and tag it however
your system allows (this is the best solution for
several reasons).

> Does this not work like a NewsGroup?

Nope, it works like a mailing list. There are some
archives available; see:

http://struts.apache.org/mail.html

d.



 
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 

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


Mime
View raw message