Hi,

I'm trying to use a map:selector with a parameter. I have 2 cases; when the parameter is null or empty and when it has a value. My code looks like this:

<map:select type="parameter">
   <map:parameter name="parameter-selector" value="${myParameter}"/>
   <map:when test="">
         ....
   </map:when>
   <map:otherwise>
         ....
   </map:otherwise>
</map:select>

Is it possible to distinguish whether the value is empty or not?

Thanks in advance.

--
========================================================================
Carlos Martínez Peña
Centre de Tecnologies de la Informació
Universitat de les Illes Balears
Cra. Valldemossa km 7.5 E-07122 Palma
Baleares  Spain
tel.: +34 971 17 20 32
e-mail: carlos.marti...@uib.es
========================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to