For the moment the only way it works is to directly pass it in the login URL,
like in
https://demo-trunk.ofbiz.apache.org/catalog/control/main?USERNAME=admin&PASSWORD=ofbiz&JavaScriptEnabled=Y
(note we use the same to automatically login people to demos from main page, I
mean http://ofbiz.apache.org/)
It can then be also retrieved from session using UtilHttp.isJavaScriptEnabled()
(see LoginWorker.doBasicLogin() which sets it)
HTH
Jacques
Le 26/02/2014 14:57, Adrian Crum a écrit :
Making Ajax optional would be a nice feature to have. Please create a Jira
issue and include a patch if you have one.
Adrian Crum
Sandglass Software
www.sandglass-software.com
On 2/26/2014 2:25 AM, Jen Sing Choe wrote:
Hi,
how to disabled the ajaxEnabled
i cannot see the ajaxEnabled entries inside the widget-form xsd
and i trace it to htmlFormMacroLibrary.ftl
and it depend to javascriptEnabled
i wonder , Is it the design wise not to include the ajaxEnabled entries
inside widget-form xsd ?