I'm creating an application that I'd like to be accessible from both PCs and 
mobile phones.  Not too surprisingly, I want to present somewhat different 
XHTML in the two cases, and I'd like to do it based on the HTTP User-Agent 
header.  For the most part I'm happy with what's generated by Seam, but I'd 
like to be able to intercept what's generated (preferably with objects 
representing the output, rather than string parsing) and have some fine-grained 
control over a few but not all generated output.  I'm using Seam with facelets. 
 I think my specific questions are:

1. How do I read an HTTP header value that was passed by the client?
2. How do I intercept the (partially?) rendered output, tweak it, and send it 
on its way?
3. Can Seam (and facelet) XHTML be made to operate nicely *without* the use of 
javascript?

Suggestions as well as pointers to existing documentation and/or examples that 
I've missed will be gratefully accepted.

Thanks,
David


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956274#3956274

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956274

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to