Which step do you perform to fix this problem?

You have been assigned to the Widget Editor portion of an application. It contains a Widget Editor Facelet page, the Widget class, and a simple WidgetEditor backing bean, which contains a reference to the current Widget instance.
Given the code fragment from the Widget class:

Given the code fragment from the Facelet page:

The page displays Conversion Error when a user fills out all the form fields and clicks the Save button.
Which step do you perform to fix this problem?
A. Replace Line 1 with: <h: inputText id="createDate" value="#{widgetEditor.widget.createdDate}" converter="java.util.Date"/>
B. Enclose the code fragment within the <f:view/> tag
C. Insert <f:convertDateTime"/> at Line 1
D. Replace Line 1 with:
<h:inputText id="createDate" value="#{widgetEditor.widget.createdDate}">
<f:convertDateTime pattern="dd-mm-yyyy"/>
</h:inputText>

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.