• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem rading keyValue from struts inbuilt dojo autocompleter

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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



 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic