wood burning stoves*
The moose likes Struts and the fly likes Problem rading keyValue from struts inbuilt dojo autocompleter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem rading keyValue from struts inbuilt dojo autocompleter" Watch "Problem rading keyValue from struts inbuilt dojo autocompleter" New topic
Author

Problem rading keyValue from struts inbuilt dojo autocompleter

Hemant Jain
Greenhorn

Joined: Feb 14, 2011
Posts: 1
Hi all,

I am using struts with dojo plugin. One feture provided with it is having problems in Firefox though it works fine with i.e.

Problem is ..

The action class of struts is not able to render data of autocomplete.

<sx:autocompleter id='dummyAccount' name="dummyAccount"
headerKey="" headerValue="-- Please Select --"
list="dummyAccountNames" keyName="dummyAccountKey" keyValue="%{defaultdummyAccountnumber}" value="%{defaultdummyAccountName}" cssClass="dojoComboBox125" label="Account Name" dropdownWidth="300"
forceValidOption="true" required="true" searchType="substring"
listKey="dummyAccountNo" listValue="dummyAccountName"
valueNotifyTopics="/Changed" cssStyle="width:190px" forceValidOption="true" />

In the above code my action class is not able to read the keyName in my action class .. the value in action class for the field from getDummyAccountKey() is comming as null.
This problem is specific to firefox.

Does any one has come across the same issue or any idea how can i resolve this problem. Please can any one help me to get through this ... !!

Regards,
Hemant



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem rading keyValue from struts inbuilt dojo autocompleter