Hmmm ... well, it works for me under Struts 1.2; however I did notice that your <logic:equal> tag did not specify the required 'value' attribute.

Here is the snippet I tested with:

  <logic:present name="foo">
    <logic:equal name='foo' property='bar' value='baz'>
     Blah blah
   </logic:equal>
  </logic:present>

Also, if I change to use the <logic:notPresent> it does fail as expected when it hits the <logic:equal> tag.

Bill Siggelkow

Michael McGrady wrote:

If a bean named 'actionForm' is not present and we have the following:

<logic:present name='actionForm'>
 <logic:equal name='actionForm' property='someProperty'>
   Blah blah
 </logic:equal>
</logic:present>

Then nothing inside <logic:present> should be evaluated, should it? I am getting an error that says that there is no bean called 'actionForm' for the <logic:equal> tag which I thought I avoided with the <logic:present> tag. What's with this?

That is "conundrum", Jim Mitchell, and not what you were thinking!

Michael


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



Reply via email to