Check out ActionSupport's [1] implementation of ValidationAware [2],
specifically the methods for checking if there are errors.

Dave

[1] ActionSupport:
http://struts.apache.org/2.0.11/struts2-core/apidocs/com/opensymphony/xwork2/ActionSupport.html
[2] ValidationAware:
http://struts.apache.org/2.0.11/struts2-core/apidocs/com/opensymphony/xwork2/ValidationAware.html

--- "Allen, Daniel" <[EMAIL PROTECTED]> wrote:

> Ok, I found some documents that partly answer my question. However, I'm
> still looking for a Struts2 equivalent to the old
> <logic:messagesPresent> tag. Do we just use <s:if> with some special
> test code now? 
> 
> -----Original Message-----
> From: Allen, Daniel 
> Sent: Monday, February 11, 2008 3:48 PM
> To: Struts Users Mailing List
> Subject: Struts 2 equivalents?
> 
> Hey.
> 
> I have to convert an application written with Struts and Tiles 1 to 2.
> Could anyone tell me what the Struts2 equivalents for some of the old
> Struts1 tag libraries are? 
> 
> I'm looking specifically for 
> http://struts.apache.org/tags-html and 
> http://struts.apache.org/tags-logic
> 
> Unfortunately, Google just brings me a lot of pages from Struts 1
> documentation...
> ~DVA
> 
> -- 
> This message may contain confidential, proprietary, or legally
> privileged information. No confidentiality or privilege is waived by any
> transmission to an unintended recipient. If you are not an intended
> recipient, please notify the sender and delete this message immediately.
> Any views expressed in this message are those of the sender, not those
> of any entity within the KBC Financial Products group of companies
> (together referred to as "KBC FP"). 
> 
> This message does not create any obligation, contractual or otherwise,
> on the part of KBC FP. It is not an offer (or solicitation of an offer)
> of, or a recommendation to buy or sell, any financial product. Any
> prices or other values included in this message are indicative only, and
> do not necessarily represent current market prices, prices at which KBC
> FP would enter into a transaction, or prices at which similar
> transactions may be carried on KBC FP's own books. The information
> contained in this message is provided "as is", without representations
> or warranties, express or implied, of any kind. Past performance is not
> indicative of future returns.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -- 
> This message may contain confidential, proprietary, or legally privileged
> information. No confidentiality or privilege is waived by any transmission
> to an unintended recipient. If you are not an intended recipient, please
> notify the sender and delete this message immediately. Any views expressed
> in this message are those of the sender, not those of any entity within the
> KBC Financial Products group of companies (together referred to as "KBC
> FP"). 
> 
> This message does not create any obligation, contractual or otherwise, on
> the part of KBC FP. It is not an offer (or solicitation of an offer) of, or
> a recommendation to buy or sell, any financial product. Any prices or other
> values included in this message are indicative only, and do not necessarily
> represent current market prices, prices at which KBC FP would enter into a
> transaction, or prices at which similar transactions may be carried on KBC
> FP's own books. The information contained in this message is provided "as
> is", without representations or warranties, express or implied, of any
> kind. Past performance is not indicative of future returns.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to