cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Leangen" <>
Subject Problems with event handling in CForms
Date Mon, 06 Dec 2004 03:59:55 GMT


I'm having a bit of trouble with event handling in CForms.

What is the element that I'm missing that will trigger a page update? I
can't seem to figure that out...

This is the function in my flow controller:

function showLimitsForm()
    var form = new Form("limits.xml");
    cocoon.request.setAttribute("ageselectorform", form.getWidget());
    cocoon.sendPage("limits-success-pipeline.jx", bizdata);

This is an excerpt of my form definition:



    <fd:field id="age">
      <fd:datatype base="string"/>
      <fd:selection-list src="cocoon:/age" dynamic="true"/>
          var thisWidget = event.source;


(Is it even necessary to use 'src="cocoon:/age"'? The contents of the list
are not dynamic.)

This is an excerpt from my template file:

  <ft:widget id="age">
    <fi:styling list-type="radio" submit-on-change="true"/>

However, when I change the value of the "age" radio, no event is being

Any ideas?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message