Im using GWT 2.6.1 and SmartGWT 4.1p 20140901 and viewing the app with IE 8. I am getting some odd behavior from my application when I access a SelectItem.
The SelectItem is in a DynamicForm which is in a ToolStrip which is in a component which is associated with a tabbed page.
On all of our form items we are setting the Name. We have about 12 tabbed sections each with its own ToolStrip. Across ToolStrips many of the Names are repeated like "startdate", "traintype", etc. My application needs a non-unique key which is passed to the backend and used to query the data. I thought I read somewhere that the Names need to be unique. Is that true?
I looked into the code and i see the SmartGWT assigns a unique name if the user does not set the name.
I searched the web but I could not find anything addressing this.
If the FormItems need a unique key I can take the following steps:
1. Create a wrapper class for the form items.
2. Add a key which will allow SMARTGWT to use a unique key which my code uses the new key.
3. Everywhere in my code (a few framework classes) change code from using getName to getKey
Thanks
Robert
The SelectItem is in a DynamicForm which is in a ToolStrip which is in a component which is associated with a tabbed page.
On all of our form items we are setting the Name. We have about 12 tabbed sections each with its own ToolStrip. Across ToolStrips many of the Names are repeated like "startdate", "traintype", etc. My application needs a non-unique key which is passed to the backend and used to query the data. I thought I read somewhere that the Names need to be unique. Is that true?
I looked into the code and i see the SmartGWT assigns a unique name if the user does not set the name.
I searched the web but I could not find anything addressing this.
If the FormItems need a unique key I can take the following steps:
1. Create a wrapper class for the form items.
2. Add a key which will allow SMARTGWT to use a unique key which my code uses the new key.
3. Everywhere in my code (a few framework classes) change code from using getName to getKey
Thanks
Robert