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: [email protected]
For additional commands, e-mail: [email protected]