Hello All,
This post talks about a very cool feature, introduced in ADF/JDeveloper 12C – Placeholder
Sometimes we need to set some hint on input fields as you can see on facebook sign up form, all fields are self-descriptive
So now we can do that in ADF faces easily, in 12C there is a property named ‘Placeholder’ to define hint for empty fields
You can see in below form (ADF Faces)-
See the xml source of this simple form-
<af:panelFormLayout id="pfl1"> <f:facet name="footer"/> <af:inputText label="Country" id="it1" placeholder="Enter Country Name" contentStyle="width:200px;color:red;"/> <af:inputDate label="Date" id="id1" placeholder="Select Date" contentStyle="width:200px;color:red;"/> <af:inputListOfValues label="Country" popupTitle="Search and Result Dialog" id="ilov1" placeholder="Select Country" contentStyle="width:200px;color:red;"/> <af:inputComboboxListOfValues label="Country" popupTitle="Search and Result Dialog" id="iclov1" placeholder="Select Country" contentStyle="width:200px;color:red;"/> <af:inputNumberSpinbox label="Value" id="ins1" placeholder="Enter Or Select" contentStyle="width:200px;color:red;"/> </af:panelFormLayout>
Cheers 🙂
Ashish,
Your blog is awesome! I'm from Brazil, and development with ADF and JDeveloper, and i always learning something interesting in this place.
Thank you very much for the posts!
Just wanted to thank you!
Happy weekend.
Eddy
Thanks for your great feedback 🙂
Ashish
Ashish,
Can you share tutorial of Master detail of orders form where I enter single customer and multi items.
Regards,
ADF Beginner
You can google it, you'll get lots of post on this
Check- Creating a Master-Detail Relationship Using Oracle ADF