The @If component should prevent any further evaluation of things within
it.

It's impossible to guess at your problem as I have no idea what "an error
occurs" means.

On 6/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hi there!

Something really weird is going on....

I have created a static method that returns false (
getFalseCondition())...
inside of the condition is a component.

<condition jwcid="@If" condition="ognl:falseCondition">
        <span jwcid="@SomeComponent"/>
</condition>

If the component is rendered, an error occurs - if I leave the component
out, the error does not occur.

In that case the error should not occur as the condition is always false.

Or does Tapestry evaluate ALL ognl expressions before rendering,
independent of whether they are needed or not???




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




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Reply via email to