You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by David Lu <lu...@lululand.com> on 2004/06/22 11:35:05 UTC
Newbie: Display Form Values
Hi,
I've just started playing with Cocoon. I'm using the 2.1.5
build on FC 1, JDK 1.4.2.
I'm trying to create a link to another pipeline from
a template file:
<a href="register?c=${c}&m=${m}">free registration</a>
where "c" and "m" and members of my form, as called from
the flow:
c = 123;
m = 123456789;
var form = new Form( "login/login.xml" );
model = form.getModel();
model.c = c;
model.m = m;
form.showForm( "login-display-pipeline", { "c":c, "m":m } );
The problem is that the ${c} and ${m} are not being
expanded. I've also tried {$c} and {$m}. What is the
correct syntax for what I am trying to accomplish?
Thanks in advance!
- David -
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org