Ooops!

Thanks,

Stef
----- Original Message -----
From: "Ryan Lubke" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Monday, October 21, 2002 12:07 PM
Subject: Re: Using rtexprvalue.


> Hi Stefan,
>
> You close tag (c:if) doesn't match the opening tag of (c_rt:if).
>
> Change your close tags to match the opening tags.
>
> <c_rt:if test='<%= rtexpr %>'>
>    Something
> </c_rt:if>
>
> -rl
>
> On Mon, 2002-10-21 at 12:04, Stefan wrote:
> > Hi,
> >
> > I have a problem using rtexprvalue taglibs and some scripting
expressions where some work fine like this one:
> >
> > <fmt_rt:formatDate value="<%= rs.getDate("lastVisitDate") %>"/>
> >
> > and others like :
> >
> >     <c_rt:if test='<%=rs.getString("sex")%>'>
> >      Man
> >     </c:if>
> >
> >     <c_rt:if test='<%=rs.getString("sex")%>'>
> >             Female
> >     </c:if>
> >
> > gives me errors such as:
> >
> > ' expected at end of file. For XML, the top-level tag must have a
matching closing tag
> >
> > I am importing the following two libraries into the pages:
> >
> > <%@ taglib prefix='fmt_rt' uri='http://java.sun.com/jstl/fmt_rt' %>
> > <%@ taglib prefix='c_rt' uri='http://java.sun.com/jstl/core_rt' %>
> >
> > In the above examples the JSTL tags are being used inside a while loop
that is iterating over a rowset provided by a bean method that has made the
database query.
> >
> > Thanks,
> >
> > Stef
> >
> >
> --
> Ryan Lubke <[EMAIL PROTECTED]>
> Sun Microsystems, Inc.
>
>
> --
> To unsubscribe, e-mail:
<mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:taglibs-user-help@;jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>

Reply via email to