Nice one! Very nice one indeed- cheers :) > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > Sent: 22 June 2005 11:28 > To: [email protected] > Subject: Re: [magnolia-user] jsp xml if/else > > and did you see this: > http://java.sun.com/products/jsp/syntax/2.0/card20.pdf > > - B > > On 21.06.2005, at 21:03, anthony rogers wrote: > > > > > Hello all... > > I bet this is a simple one... > > I cant seem to find the xml jsp call for if/else... > > > > I have a page that has some data on it. And I can get the state of the > > data > > like this no problem: > > > > <jsp:getProperty name="QTBeanId" property="video_compressing" /> > > > > But how do I wrap an if/else around this xml jsp:getPropery? The old > > way I > > would just do the following; > > > > <% if(QTBeanId.getVideoState()) { %> > > ...Compressing HTML mumble... > > <% } else { %> > > ...Video Compressed... > > <% } %> > > > > None of this jazz works with the jsp:root tag stuff; its not even happy > > about the <% %> tags. That's fine with me- just wondered how I can do > > an > > if/else in xml jsp style? > > > > Any help would be great... > > > > Thanks > > > > aNt > > > > > > > > ---------------------------------------------------------------- > > for list details see > > http://www.magnolia.info/en/community/developer/mailinglists.html > > ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > for list details see > http://www.magnolia.info/en/community/developer/mailinglists.html > ----------------------------------------------------------------
---------------------------------------------------------------- for list details see http://www.magnolia.info/en/community/developer/mailinglists.html ----------------------------------------------------------------
