You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Maria Grigorieva <ma...@hotmail.com> on 2009/04/10 13:32:57 UTC
pass params from flowscript to ft:template ???
Hello! I need to pass params from my flowscript page to template page using
JXTemplates.
Here the code from flowscript:
var pairIons = dao.jdbc.getIonPairsNames(id); --- java function
Here I've got List type of java.
How can I pass this param to template xml-page without sendpage(...)???
My flowscript function is for show the form to input data.
for example:
function inputData() {
dao.jdbc.createMatmodel();
var id = dao.jdbc.getCurrentSequenceValue("matmodel_id_seq");
var form = new Form("form-definition/experiment-data.xml");
var formMap = form.asMap();
...................................
...................................
var pairIons = dao.jdbc.getIonPairsNames(id);
var show = "viewform-experiment-data-edit";
form.showForm(show);
}
I need to get pairIons value here: experiment-data.xml
--
View this message in context: http://www.nabble.com/pass-params-from-flowscript-to-ft%3Atemplate-----tp22986639p22986639.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org