Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 0d 2h 45m 38s Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-900 Topic 3 Question 59 Discussion

Actual exam question for Oracle's 1Z0-900 exam
Question #: 59
Topic #: 3
[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.)

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Aja
29 days ago
Personally, I think Option B is the cleanest and most intuitive solution. Sometimes the simplest approach is the best.
upvoted 0 times
Ena
1 days ago
I prefer Option B as well, it's straightforward and easy to understand.
upvoted 0 times
...
Karina
4 days ago
I think Option A could work too, but Option B is simpler.
upvoted 0 times
...
Candida
7 days ago
I agree, Option B is definitely the cleanest choice.
upvoted 0 times
...
Michel
8 days ago
I agree, Option B is definitely the cleanest choice.
upvoted 0 times
...
...
Suzan
1 months ago
Ha! Option E is just ridiculous. Using a dollar sign for the value attribute? That's some serious JavaScript envy right there.
upvoted 0 times
Noe
2 days ago
User1: I think so too, it's a simple and clean solution.
upvoted 0 times
...
Lewis
20 days ago
User3: Option B seems like the correct choice for adding a placeholder.
upvoted 0 times
...
Callie
1 months ago
User2: Yeah, it looks like they mixed up JavaScript with JSF.
upvoted 0 times
...
Leeann
1 months ago
User1: I agree, option E is definitely not the way to go.
upvoted 0 times
...
...
Chanel
2 months ago
Option C seems a bit strange. Using the JSF namespace on an HTML input element feels like a mix of technologies that might not work as expected.
upvoted 0 times
Lavonda
23 days ago
User 2: Yeah, mixing JSF namespace with HTML input element might cause issues.
upvoted 0 times
...
Bernardine
25 days ago
User 1: I agree, option C does seem a bit strange.
upvoted 0 times
...
...
Karl
2 months ago
I think Option D is the way to go. Using the pt:placeholder attribute ensures compatibility with older browsers that may not support the standard placeholder attribute.
upvoted 0 times
...
Esteban
2 months ago
Option B looks good to me. The placeholder attribute is directly set on the h:inputText component, which is the most straightforward way to achieve the requirement.
upvoted 0 times
Troy
11 days ago
User4: Yeah, option B is the most straightforward and clean solution for this requirement.
upvoted 0 times
...
Lenna
13 days ago
User3: Option B is definitely the way to go for adding a placeholder to the search box.
upvoted 0 times
...
Helene
21 days ago
User2: I agree, setting the placeholder directly on the h:inputText seems like the right approach.
upvoted 0 times
...
Keena
1 months ago
User1: I think option B is the best choice.
upvoted 0 times
...
...
Sonia
2 months ago
I'm not sure, but I think option A could also work since it uses f:param to add the placeholder attribute.
upvoted 0 times
...
Roxane
2 months ago
I agree with Hoa. Option B seems like the most straightforward choice for adding a placeholder.
upvoted 0 times
...
Hoa
2 months ago
I think option B is correct because it directly includes the placeholder attribute.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77
a