>FWIW try this:

> >>><jx:forEach  items="#{language}" varStatus="status"  >
> >>>  <jx:choose>
> >>>    <jx:when test="#{status.current = $pagelang.pagelang}">

> <jx:when test="${status.current == pagelang.pagelang}">

This test is still a problem, cause it return false


> >>>        ${status.current.label}
> >>>    </jx:when>
> >>>    <jx:otherwise>
> >>>        ${status.current.value} #{status.current.value = '8'}
${pagelang.pagelang}

> ${status.current.value == '8'}

this is ok now, I have : "8 true 8" in output

I guess I have to work around the first test and see what is the problem.
(currently, I do not see any)

Thanks a lot Helma. By the way are there some other resources on the web
talking about jx:* tags  ?
(the one on the cocoon website is cool but not enough clear/full sometimes)

> >>>${pagelang.pagelang}
> >>>    </jx:otherwise>
> >>>  </jx:choose>
> >>></jx:forEach>

Thanks,
Stephane


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to