Thanks!
Independent on what exactly the error is, it is weird that is makes a difference whether I write: <condition jwcid="@If" condition="ognl:falseCondition"> <span jwcid="@SomeComponent"/> </condition> or <condition jwcid="@If" condition="ognl:falseCondition"> </condition> as the line inside should never be called....unless the ognl expressions are evaluated prior to rendering.... -------- Original-Nachricht -------- Datum: Wed, 13 Jun 2007 21:37:49 -0400 Von: "Jesse Kuhnert" <[EMAIL PROTECTED]> An: "Tapestry users" <users@tapestry.apache.org> Betreff: Re: Order in which ognl expressions are evaluated > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]