cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Martínez <carlos.marti...@uib.es>
Subject Null value in map:select type="parameter"
Date Mon, 03 Aug 2009 06:38:04 GMT
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.martinez@uib.es
========================================================================


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


Mime
View raw message