nerdexam
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)
  • A
    81% (25)
  • B
    10% (3)
  • C
    3% (1)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-441 Practice