Troy,
Maybe a mod-rewrite + some logic would work:
1. Use mod_rewrite to handle the redirect based on user agent
2. In your layout, you can define content areas which would be enabled or not based on the
supported device features, as informed by WURFL.
For instance, you can have a "generic" and "nokia pda" areas defined
in your layout descriptor, but you would only include the second one if the device were a
"nokia pda"
BTW: Since a theme/layout is just a regular web-app, you can use regular MVC patterns,
that is, you can point to a servlet where you'd put your logic and then forward to a
specific layout jsp. The same applies to CSS and theme-related resources such as images.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176911#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...