cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz TaƄczyk <>
Subject Re: get an array from cocoon request
Date Thu, 17 Mar 2005 12:20:05 GMT
Hello Vlad,

  Is there request.getParameterValues method in JS Flow? If no they
  You can try to make simple wrapper class in Java and connect it with
  Your JS Flow script :)

Thursday, March 17, 2005, 9:07:05 AM, you wrote:
VG> Hi!

VG> was trying for a while to get an array from cocoon request in a JS flow. I
VG> don't use CForms.

VG> Such code is submitted:
VG> <input type="checkbox" name="groups[]" value="1"/> group 1
VG> <input type="checkbox" name="groups[]" value="2"/> Group 2
VG> <input type="checkbox" name="groups[]" value="3"/> Group 3

VG> In JS I was trying to get it in ways:
VG> var groups = cocoon.request["groups"];
VG> var groups = cocoon.request.groups;
VG> var groups = cocoon.request.getParameter("groups");

VG> Any ideas what could be wrong?

VG> Thanks in advance,

VG> Vlad

Best regards,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message