Steps to follow :
<converter>
|
Use this converter in the view page as :
<h:inputText id="input_text">
|
<converter> <converter-for-class>Email</converter-for-class> <converter-class>EmailConverter</converter-class>
|
If we register the EmailConverter class to handle all Email objects automatically then there is no need to use the <f:converter/> tag in view page. Use this converter as :
<h:inputText id="phone" value="#{Bean.email}">
|
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: JSF Interview Questions
Post your Comment