exam questions

Exam 1z0-900 All Questions

View all questions & answers for the 1z0-900 exam

Exam 1z0-900 topic 1 question 10 discussion

Actual exam question from Oracle's 1z0-900
Question #: 10
Topic #: 1
[All 1z0-900 Questions]

Given the code fragment from a Facelet page:

On Line 1, you ae asked to insert a search box that displays the text "Search Here" via a placeholder.
Assume searchMB is a valid Managed Bean.
Which two options enable you to create a search box with a placeholder attribute on Line 1? (Choose two.)

  • A. <h:inputText value="#(searchMB.query)"> <f:param name="placeholder" value="Search Here"/> </h:inputText>
  • B. <h:inputText value="#(searchMB.query)" placeholder="Search here"/>
  • C. <input jsf:id="search" placeholder="Search here" jsf:value="# (searchMB.query)"></input>
  • D. <h:inputText pt:placeholder="Search Here" value="#(searchMB.query)"/>
  • E. <input id="search" jsf:placeholder="Search Here" value="$(searchMB.query)"></input>
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
orjava
7 months ago
Answer: C D
upvoted 1 times
...
devmsaleh
1 year, 11 months ago
C,D is correct
upvoted 1 times
...
ciellaf5
2 years, 10 months ago
Must be C,D
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago