Forum OpenACS Development: Re: can't read "msg_keys": variable is array

Collapse
Posted by Iuri Sampaio on
I believe the solution is to use aolserver procs ns_*

Although I don't have much experience with them i used
ns_set print $myform

and it returned me the form properly even the values are there.

How can i treat them in the page now?
How to assign them to an array?

[23/Sep/2010:14:39:27][18086.3065723792][-default:4-] Notice: PAGE translation-edit
[23/Sep/2010:14:39:27][18086.3065723792][-default:4-] Notice: FORM
Unamed set:
Projects_1 = fsdfsdfa
With_members_of_my_dept_2 =
Mine_3 =
lt_intranet-coreProject__4 =
lt_intranet-coreOn_Track_5 =
no_value_6 =
View_Projects_7 =
Project_Status_8 =
Project_Type_9 =
Profile_Accounting_10 =
Profile_Customers_11 =
Profile_Employees_12 =
Profile_Freelance_Managers_13 =
Profile_Freelancers_14 =
Profile_Helpdesk_15 =
Profile_HR_Managers_16 =
Profile_P_O_Admins_17 =
Profile_Project_Managers_18 =
...

I found the proc ns_get_multipart_formdata
http://www.aolserver.com/docs/devel/tcl/api/conn.html#ns_get_multipart_formdata

But it is used to files, not to arrays.