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,
 Grzegorz                            mailto:[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to