cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Generating a dynamic form from flow?
Date Sat, 04 Mar 2006 15:18:13 GMT
Jason Johnston wrote:
>>I am trying to create a form whose parts may change...
>>
>>In my flow script I have:
>>
>>var fooForm = new Form("model_foo");
> 
> 
> Try:
> 
> var fooForm = new Form("cocoon://model_foo");

cocoon:// will be resolved with top level sitemap while cocoon:/ will 
direct you to the same sitemap that handles the flowscript (which 
probably is what you want in 90% of cases)

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

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


Mime
View raw message