cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Juffer <Andre.Juf...@oulu.fi>
Subject Re: two submit buttons on the form
Date Wed, 12 Mar 2008 14:17:54 GMT
Pavel,

you did use

cocoon.request.getParameter("browse");

instead of

cocoon.request.getParameter();

I assume?

I assume. I wrote in my first response to your question that you form 
should include something like the following;

<input type="submit"  name="browse" value="browse-1" />
<input type="submit"  name="browse" value="browse-2" />
----------------------^^^^
The name attribute is what Jeroen is referring to.
Andre


Jeroen Reijn wrote:
> Hi Pavel,
> 
> are you using Cocoon Forms or just a plain HTML form? The important
> thing while using the plain html form is that your submit buttons should
> both have a name attribute.
> 
> Regards,
> 
> Jeroen
> On Wed, 2008-03-12 at 05:24 -0700, navrc wrote:
>> It doesn't work :-( . From function cocoon.request.getParameter() I always
>> obtain NULL.
>>
>> Pavel Navrkal
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


-- 
Andre H. Juffer              | Phone: +358-8-553 1161
The Biocenter and            | Fax: +358-8-553-1141
     the Dep. of Biochemistry | Email: Andre.Juffer@oulu.fi
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
NordProt                     | WWW: www.nordprot.org

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


Mime
View raw message