Hi!
I am trying to use a filteringselect with SPRING form.
Problem
I can't get the value showing in the filteringselect to be transmitted to the SPRING controller connected to the form. Instead of sending the displayed value it sends 0 (the value zero).
Code:
Does anyone have an idea?
best regards
Rythmic
I am trying to use a filteringselect with SPRING form.
Problem
I can't get the value showing in the filteringselect to be transmitted to the SPRING controller connected to the form. Instead of sending the displayed value it sends 0 (the value zero).
Code:
Code:
//dojo addonload:
var postadresscomp = new dijit.form.FilteringSelect({
store: postadressStore,
autoComplete: false,
searchAttr: "zipcity",
style: "width: 300px;",
name:"postadress",
id: "postadress",
validate: function() { return true;}
},"postadress");
Code:
//spring form object <form:input path="postadress" id="postadress" />
Code:
//Json code fed to the filteringselects QueryReadStore:
{"identifier":"zipcity","label":"zipcity","items":[{"zipcity":"14636 NEW YORK"}]}
best regards
Rythmic