[jsr-314-open] [ADMIN] Sun Certified JSF Developer Exam Questions (was:Re: Where's Ed Burns this week?)

Ed Burns Ed.Burns at Sun.COM
Wed Dec 16 13:52:24 EST 2009


>>>>> On Wed, 16 Dec 2009 09:24:09 -0700, David Geary <clarity.training at gmail.com> said:

DG> Okay, Ed, java.net is still down, so here's a question:
DG> <h:form>
DG>   <h:panelGrid columns="2">
DG>     Name:
DG>     <h:inputText id="name" value="#{...}"/>
DG>     <h:message for="name"/>
DG>     ...
DG>  </h:panelGrid>
DG> </h:form>

DG> In the preceeding markup, any error messages for the name input will be
DG> displayed underneath the Name: prompt. How do you make the error message
DG> appear to the right of the name input?

DG> Answer: Add an h:panelGroup around the h:inputText and h:message.

DG> I don't know if that's a good question, or if it's too basic. Let me
DG> know if it sucks, and I'll come up with another.

Thank you, It's very good.  

It's a multiple choice exam.  Can I trouble you to come up with three
"distractors", that is, other choices that sound correct but are not?

Ed

-- 
| ed.burns at sun.com  | office: 408 884 9519 OR x31640
| homepage:         | http://ridingthecrest.com/




More information about the jsr-314-open-mirror mailing list