| Author |
Issue when retrieveing the hidden variable in script and setting the locale of dojoconfig
|
seena mathew
Greenhorn
Joined: Jun 14, 2009
Posts: 18
|
|
I am having issues with setting the locale on the dojo editor. I have a scenario where in
JSP1: language value is input and the value is submitted as a hidden variable
JSP2: DOJo editor is displayed based on the language.I would like to set the locale of the dojo editor.
I am trying to retrieve the hidden variable value but the editor always shows with "en" locale. I have done "View Source" on the page and the hidden variable is populated with the correct parameter
How can I build the locale based on hidden parameter value? Any advice to resolve it will be great.
|
 |
seena mathew
Greenhorn
Joined: Jun 14, 2009
Posts: 18
|
|
Resolved it by moving the scripts related to dojo from head tag to inside the body tag and then could get the hidden variable value and set the dojoConfig object
|
 |
 |
|
|
subject: Issue when retrieveing the hidden variable in script and setting the locale of dojoconfig
|
|
|