Sandra Hibma <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> When I use the following code in mij JSP page, then I get an error. (a bug 
>maybe???). Can anyone tell me what I can do to make it work?
> ________________________________________________________________________
> 
> <mm:listnodes type="<%= nodetype %>" orderby="title">
>       <% counter++; String optionName = ""; %>
>       <mm:field name="number" jspvar="lchosenNodeID" vartype="String" write="false">
>               <option value="<%= lchosenNodeID %>"><mm:fieldlist fields="<%= 
>displayfields %>">
>               <mm:fieldinfo type="value" jspvar="locValue" vartype="String" 
>write="false">
>                       <% optionName = locValue; %>
>                       <% if ( optionName.length() > 66 ) { optionName = 
>optionName.substring(0,65) + "... "; }%>
>                       <%= optionName %>
>               </mm:fieldinfo>
>               <mm:last inverse="true"> - </mm:last></mm:fieldlist></option>
>       </mm:field>
> </mm:listnodes>


Yes, it is a bug. In taglib.tld not TEI-class is defined for fieldinfo tag. This will 
be fixed in 1.6.2.

The work around is, - I think -  to use the field-tag instead.

<mm:fieldinfo type="value" == <mm:field

Btw, I would advice to use less jspvars.

Michiel

-- 
mihxil'  Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
[]() 

Reply via email to