Oracle
1Z0-441 · Question #75
In an AMX page, you want to hide/show a button based on the mobile device having a camera. Which is a valid EL expression to test for the camera?
The correct answer is A. <amx:commandButton rendered="#{deviceScope.camera}"/>. See the full explanation below for the reasoning.
Question
In an AMX page, you want to hide/show a button based on the mobile device having a camera. Which is a valid EL expression to test for the camera?
Options
- A<amx:commandButton rendered="#{deviceScope.camera}"/>
- B<amx:commandButton rendered="#{device.hasCamera}"/>
- C<amx:commandButton rendered="#{device.camera}"/>
- D<amx:commandButton rendered="#{deviceScope.device.hasCamera}"/>
How the community answered
(31 responses)- A81% (25)
- B10% (3)
- C3% (1)
- D6% (2)
Community Discussion
No community discussion yet for this question.