problem with fn:substringBefore

Jean-Pierre Astier <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
Hello all,

I've got a problem with this jsp code in NetBeans 5 :

<c:choose>
                      <c:when test="${recherche[1]== 
(fn:substringBefore(commerciaux,"__"))}">
                                 <option selected="selected" value="$ 
{fn:substringBefore(commerciaux,"__")}">${fn:substringAfter 
(commerciaux,"__")}</option>
                       </c:when>
                        <c:otherwise>
                                 <option value="${fn:substringBefore 
(commerciaux,"__")}">${fn:substringAfter(commerciaux,"__")}</option>
                         </c:otherwise>
    </c:choose>



This line :

<c:when test="${recherche[1]==(fn:substringBefore(commerciaux,"__"))}">

get this error in netbeans :"equal symbol expected"

Any ideas ????

Jean-Pierre Astier
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.