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.
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
Lookout! Runaway whale! Hide behind this tiny ad:
a bit of art, as a gift, the permaculture playing cards