Keeping <logic:> tags actually renders perfectly well for me right now
(no exceptions, no apparent problems with the resulting page), but with
peculiar results for the actual logic it's supposed to be doing, so I
wasn't sure whether that was a configuration issue making it not
evaluate correctly, or a Struts1 configuration relic making it still
quasi-functional. I suppose the latter, then.

I didn't see the previous answer about MessagesPresent, but sometimes we
have brief e-mail outages here, so thanks for bearing with me (whether
that's our IT or just my fault).
~Dan



-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 13, 2008 3:36 PM
To: Struts Users Mailing List
Subject: Re: Logic tag library

--- "Allen, Daniel" <[EMAIL PROTECTED]> wrote:
> Is there any reason we shouldn't use the Logic tab library
> (http://struts.apache.org/tags-logic) with Struts 2? 

Because it won't work.

> If so, is there any subsitute?
> I'm looking specifically for <logic:redirect> and
> <logic:messagesPresent> (along with the old <html: messages>)

I thought I already answered the <logic:messagesPresent.../> question:
expose
ActionSupport's ValidationAware stuff related to whether or not there
are
messages. AFAIK there is pre-built tag support for this, but it's a
simple
<s:if...> with exposed ValidationAware booleans.

W.r.t. <html:messages/> see the <s:actionerror.../> and
<s:actionmessage.../>
tags [1, 2]. The tag reference page [3] may also be of interest.

Not sure why the rest of the hijacked thread is still here; is it
related
somehow?

Dave

[1] http://struts.apache.org/2.x/docs/actionerror.html
[2] http://struts.apache.org/2.x/docs/actionmessage.html
[3] http://struts.apache.org/2.x/docs/tag-reference.html

-- 
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]

Reply via email to