Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hi
I went through the forums and noticed that the 'language switch' related topics are done on the XFORMS (XHTML) side... Through the use of the following processors: http://www.orbeon.com/ops/doc/processors-serializers#scope-serializer http://www.orbeon.com/ops/doc/processors-generators#scope-generator I put the language selector as part of the theme.xsl file... Using the following code: <xhtml:select name="lang-selector" size="1" onchange=""> <xhtml:option value="French" selected="selected">French</xhtml:option> <xhtml:option value="English">English</xhtml:option> </xhtml:select> Is it possible to update the session from the above combobox selection, placed in the theme.xsl file? |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Alan,
You can't use the theme for this, as the theme XSLT runs after the XForms transformation. So if you were to put XForms in there, it would be sent to the browser as-is. Alex On Wed, Dec 23, 2009 at 12:59 AM, Alan Soo <[hidden email]> wrote: > > Hi > > I went through the forums and noticed that the 'language switch' related > topics are done on the XFORMS (XHTML) side... Through the use of the > following processors: > > http://www.orbeon.com/ops/doc/processors-serializers#scope-serializer > http://www.orbeon.com/ops/doc/processors-generators#scope-generator > > I put the language selector as part of the theme.xsl file... Using the > following code: > > <xhtml:select name="lang-selector" size="1" onchange=""> > <xhtml:option value="French" selected="selected">French</xhtml:option> > <xhtml:option value="English">English</xhtml:option> > </xhtml:select> > > Is it possible to update the session from the above combobox selection, > placed in the theme.xsl file? > > > -- > View this message in context: http://n4.nabble.com/Language-Change-from-Theme-File-tp977646p977646.html > Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > ... [show rest of quote] ... [show rest of quote] -- Orbeon Forms - Web forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |