ValidationTextBox adds modifies value of textbox name, causes makes struts unhappy
This is probably a very particular problem, dont know how valueable it is to fix.
Background
Struts (1.3.x) uses the name field to parse out objects from the incoming form. usually not finding an object isn't a problem, it just retuns null in the objects place. However if the object is part of a graph it will do lookups based in the form fieldName[X].anotherFieldName[Y].attributeName (where fieldName can be as nested as you want it to be and attributeName doesn't necessarly have to exist).
Because the ValidationTextBox? adds an "_" to the begginning of the input name the struts code can't do object graph look ups and throws exceptions. A simple solution would be to just not have the preceding "_".
The odd thing is that in firefox this problem never occures, i presume because node.removeAttribute("name") has different effects in IE and Firefox.
ValidationTextBox?.js
{{{ this.textbox.name = "_" + this.textbox.name + "_displayed_";
this.textbox.removeAttribute("name");}}}
Change History (9)
Component: |
General →
Dijit
|
Owner: |
changed from anonymous to Douglas Hays
|
Reporter: |
changed from guest to ialpert
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Resolution: |
fixed
|
Status: |
closed →
reopened
|
Resolution: |
→ invalid
|
Status: |
reopened →
closed
|
Resolution: |
invalid
|
Status: |
closed →
reopened
|
Resolution: |
→ fixed
|
Status: |
reopened →
closed
|
Component: |
Dijit →
Dijit - Form
|
Investigating...