Next ADF Training
Join Demo Session
Toggle Bar

How to detect the device in ADF Query

I have to hide few regions on the ipad. I am not sure about how to go about this in ADF.Can someone point me in the right direction.

Accepted Answer

Friday, October 11 2013, 11:46 AM - #permalink
You can use the below EL Expression

#{adfFacesContext.agent.capabilities['touchScreen'] eq 'none'  ? true : false }

Also you need to add the below context param in web.xml

Adaptive Layout

Please refer below post from Shay about the adaptive layout.
The reply is currently minimized Show
Responses (0)
  • There are no replies here yet.
Your Reply