Hi,
I have a question of how to translate the title of a page. I find it strange that all other references are being translated, but the title is not. Is this some ordering problem? Regards, Mike |
Mike,
As far as I'm aware it is not possible to change the title within Orbeon natively....One possible way is to have a hidden input bound to a node. This input would use Orbeon's javascript API to read the value on xforms-value-changed and set document.title Thanks Ryan ----------------------------------------------- Ryan Puddephatt FIX Developer Fidessa LatentZero 1 Alfred Place London WC1E 7EB Office: +44 (0) 20 7462 4200 Direct: +44 (0) 20 7323 6112 Blackberry: +44 (0) 79 8539 2458 Fax: +44 (0) 20 7462 4242 Email: [hidden email] Web: http://www.latentzero.com -----Original Message----- From: Mike Ahlers [mailto:[hidden email]] Sent: 23 June 2008 15:33 To: [hidden email] Subject: [ops-users] Translating titles Hi, I have a question of how to translate the title of a page. I find it strange that all other references are being translated, but the title is not. Is this some ordering problem? Regards, Mike -- View this message in context: http://www.nabble.com/Translating-titles-tp18070522p18070522.html Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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 |
Hi Ryan,
Thanks for the quick feedback. Hrm, not possible natively, thats a shame then. The work around sounds easy, but can you give me an example? Thans in advance, Mike |
Administrator
|
By "title" do you mean the content of the HTML <title> element?
-Erik On Jun 23, 2008, at 7:43 AM, Mike Ahlers wrote: > > Hi Ryan, > > Thanks for the quick feedback. Hrm, not possible natively, thats a > shame > then. The work around sounds easy, but can you give me an example? > > Thans in advance, > Mike > -- > View this message in context: http://www.nabble.com/Translating-titles-tp18070522p18070763.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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |
In reply to this post by Mike Ahlers
Mike,
See the attached Ryan ----------------------------------------------- Ryan Puddephatt FIX Developer Fidessa LatentZero 1 Alfred Place London WC1E 7EB Office: +44 (0) 20 7462 4200 Direct: +44 (0) 20 7323 6112 Blackberry: +44 (0) 79 8539 2458 Fax: +44 (0) 20 7462 4242 Email: [hidden email] Web: http://www.latentzero.com -----Original Message----- From: Mike Ahlers [mailto:[hidden email]] Sent: 23 June 2008 15:43 To: [hidden email] Subject: [ops-users] RE: Translating titles Hi Ryan, Thanks for the quick feedback. Hrm, not possible natively, thats a shame then. The work around sounds easy, but can you give me an example? Thans in advance, Mike -- View this message in context: http://www.nabble.com/Translating-titles-tp18070522p18070763.html Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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 titlechange3.xml (2K) Download Attachment |
Hi Ryan,
Thanks, your code works. I'll modify it later to read data from a resource bundle. PS> Erik, yes, this is about the <title> tag. You have an alternative way of setting it? |
Administrator
|
> PS> Eric, yes, this is about the <title> tag. You have an
> alternative way of > setting it? At the moment, no. But it would be great to be able to write: <xhtml:title><xforms:output .../></xhtml:title> That does NOT work at the moment, but at some point we should introduce this I think. -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |
Hi Erik,
The regular xforms:output should work for this, but as an alternative which may be easier is to write/support a 'xxforms:output' namespace which performs some post-processing at epilogue stage? Just some ramblings, Mike |
Administrator
|
You are right that you could build a component doing this, for example
with XSLT. You could even keep xforms:output for this, and post- process it to hook-up some JavaScript. We need something like this for Form Runner so maybe we will implement that. -Erik On Jun 24, 2008, at 1:53 AM, Mike Ahlers wrote: > > Hi Erik, > > The regular xforms:output should work for this, but as an > alternative which > may be easier is to write/support a 'xxforms:output' namespace which > performs some post-processing at epilogue stage? > > Just some ramblings, > Mike > -- > View this message in context: http://www.nabble.com/Translating-titles-tp18070522p18086736.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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |
Free forum by Nabble | Edit this page |