cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asif_zzz <>
Subject Re: How to use ajax in selection-list
Date Mon, 06 Oct 2008 14:11:59 GMT

Hi Imran,

First of all thanks for your reply..
I've populated all the values to the selection list.
Based on selected value ,i need to process the information in the DB
and the i need to load the new values using ajax..

I've tried on on change event handler..The selected value get stored in
front end itself
i cant receive the value to the backend..

My binding will look like this.

<fb:javascript id="customer" path="customerList" direction="load">
	    var collection = jxpathPointer.getNode();
	    widget.setSelectionList(collection, "key", "val");
<fb:value id="customerSelectedId" path="customerId">
	<fb:set-attribute name="changed" value="true"/>

My definition part look like this

<fd:field id="customer">
	<fd:datatype base="string"/>
<fd:field id="customerSelectedId" state="invisible">
	<fd:datatype base="string"/>

View this message in context:
Sent from the Cocoon - Users mailing list archive at

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

View raw message