can you suggest a good strategy to serve different xhtml to Internet Explorer and Firefox?
We want to grab the user agent making the request and select xhtml pages properly...can we do that using the page flow definition? please advice....a simple example for insight thx -- 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 |
Using XPL you can call the oxf:request processor, this contains the User Agent, then you could use a p:choose to decide which XHTML to display, or pass it to an XSLT which would produce the correct XHTML (assuming they are small changes)
Just as a side note, what is there that you can't do with a few CSS and JS hacks that you need a separate page? ----------------------------------------------- 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: Richard C. Hidalgo Lorite [mailto:[hidden email]] Sent: 07 October 2008 17:27 To: [hidden email] Subject: [ops-users] Good strategy 4 serve several user agents? can you suggest a good strategy to serve different xhtml to Internet Explorer and Firefox? We want to grab the user agent making the request and select xhtml pages properly...can we do that using the page flow definition? please advice....a simple example for insight thx ______________________________________________________________________ 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 |
Free forum by Nabble | Edit this page |