Next ADF Training
Join Demo Session
Toggle Bar
Could not compile stylesheet for simplistic. Using last compiled stylesheet.

How to detect the device in ADF Query

0
Hi,
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, 12:46 PM - #permalink
0
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

<context-param>
<description>
Adaptive Layout
</description>
<param-name>oracle.adf.view.rich.geometry.DEFAULT_DIMENSIONS</param-name>
<param-value>auto</param-value>
</context-param>


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

Login