orbeon-forms | Orbeon Forms is an open source web forms solution | Form library
kandi X-RAY | orbeon-forms Summary
kandi X-RAY | orbeon-forms Summary
Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of orbeon-forms
orbeon-forms Key Features
orbeon-forms Examples and Code Snippets
Community Discussions
Trending Discussions on orbeon-forms
QUESTION
I'm using ORBEON 2018.2.3.201905172253 PE within SAP Commerce (Hybris). From Orbeon documentation and the tests I've run, I understand forms localization works through a language dropdown selector within each form. The thing is, I already have a language selector for my entire website, as usual.
So, let's say a user gets into my site, which default language is English. Afterwards, he changes the site's language to Chinese. He is browsing my site in Chinese and navigates to a form which default language is English. He'd need to use the form language selector Again to change it to Chinese! Which from a UX perspective I think we all agree is not a good idea.
The idea I came up with is setting up the language of the form through javascript while the form is loading, getting the current session language using an ajax call. Tried 3 approaches so far, none of them worked:
- Using togglelanguage function
ANSWER
Answered 2019-Jul-22 at 18:06You can extend de.hybris.platform.xyformsservices.proxy.impl.DefaultProxyService
rewriteURL
method and pass Orbeon the user language, something like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install orbeon-forms
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page