You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ramsés Morales <ra...@computer.org> on 2003/07/13 00:08:41 UTC
bug or feature in RequestParamModule / sitemap ?
Hi.
I'm using cocoon2.1m3.
I'm passing this to an action:
<map:parameter name="id" value="{request-param:id}"/>
Inside the action, if the HTTP POST request fails to include "id", the
value of the parameter ( params.getParameter("id", null) ) is an empty
String instead of a null.
Why does the *value* of the sitemap parameter gets filled with an empty
String instead of a null ??
Because of this, inside the action I can't determine if there is
something wrong with the POST request (id not included should be null),
or if the id sent is really empty.
Thanks for your help.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org