You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Derek Hohls <DH...@csir.co.za> on 2004/06/25 13:51:25 UTC

Supplying dynamic data to a form model

I know its possible to supply dynamic data to a form model; 
say a multi-value widget, using this syntax:

<fd:selection-list  src="cocoon:/form-sql/data.xml" dynamic="true"/>

where the data is generated from an another pipeline.

My problem is that the data.xml is actually a JXTemplate that 
requires variable/s from the flow script.  It seems that the normal 
way to get this variable into the file is to call the cocoon.showPage 
from the javascript. However, I do not want to call "showpage" 
at all, merely for the JXtemplate commands to access the 
variable/s already created - -in an earlier stage in the flow -
so that  I can create the form and do a .ShowForm. 

How do I proceed??

Thanks
Derek 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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