ExamQuestions.com

Register
Login
Java EE 7 Application Developer Exam Questions

Oracle

Java EE 7 Application Developer

10 / 72

Question 10:

Given the code fragment from a Facelet page: 
image
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.) 

Answer options:

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>