> On 21.06.2005, at 21:03, anthony rogers wrote:

> > 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...
> > <% } %>


the "literal" translation is:

<jsp:scriptlet> if(QTBeanId.getVideoState()) { </jsp:scriptlet>
       ...Compressing HTML mumble...
 <jsp:scriptlet> } else { </jsp:scriptlet>
       ...Video Compressed...
 <jsp:scriptlet> } </jsp:scriptlet>

but better use something like:

    <c:if test="${QTBeanId.videoState}" >
      <jsp:directive.include="response.jsp" />
    </c:if>

fabrizio

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/community/developer/mailinglists.html
----------------------------------------------------------------

Reply via email to