cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barbara Slupik <barbara.slu...@ntlworld.com>
Subject Re: how to use formMap.put() ?
Date Thu, 31 Jul 2008 16:29:29 GMT
I pass parameters to my forms and form widgets like this:

		var form=new Form(myFormDefinition);
		form.setAttribute("myAttribute",myAttribute);
		form.lookupWidget("myWidget").setAttribute("myAttribute",myAttribute);

Barbara

On 31 Jul, 2008, at 5:11 pm, Мария Григорьева wrote:

> How to use formMap.put() to pass the parameters to the fromMap???
>
> For example,
>
> var composit = dao.composition.get(experiment.get("id_compositions"));
> formMap.put(key, composit);
>
> But it doesn’t work…
>
> How can I do it ???


Mime
View raw message