Does it really? I'd think the if/else construct would be something familiar to programmers of almost any modern programming language.
On 3/8/06, Rob Dennett <[EMAIL PROTECTED]> wrote: > > That needs to be fixed in the docs. How does the Else component know what > If it goes with? > > Thanks, > Rob > > -----Original Message----- > From: Daniel Lydiard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 08, 2006 2:10 PM > To: Tapestry users > Subject: Re: What's up with the Else component? > > Don't embed the Else inside the If > > <span jwcid="@If" condition="ognl:false"> > <span jwcid="@Insert" value="literal:inside if" /> > </span> > <span jwcid="@Else"> > <span jwcid="@Insert" value="literal:inside else" /> > </span> > > > > ----- Original Message ----- > From: "Rob Dennett" <[EMAIL PROTECTED]> > To: "Tapestry users" <tapestry-user@jakarta.apache.org> > Sent: Wednesday, March 08, 2006 12:03 PM > Subject: What's up with the Else component? > > > Nothing is rendered by the following code. I think "x" should be. What's > going on? > > > > <span jwcid="@If" condition="ognl:false"> > > <span jwcid="@Else"><span jwcid="@Insert" value="x" /></span> > > </span> > > > > > > Thanks for your help, > > Rob > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.375 / Virus Database: 268.2.0/276 - Release Date: 3/7/2006 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.375 / Virus Database: 268.2.0/276 - Release Date: 3/7/2006 > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.375 / Virus Database: 268.2.0/276 - Release Date: 3/7/2006 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >