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

David Geary clarity.training at gmail.com
Thu Dec 17 09:57:09 EST 2009


2009/12/17 Martin Marinschek <mmarinschek at apache.org>

> I won't chime in for the distractors, but here my question:
>
> How can you register a managed bean with JSF2?
>
> a) Using groovy in the view definition
> b) Using XML-code in the faces configuration file
> c) Using annotations in the Java-Code of the managed-bean
> d) Using other JSF2 compliant bean-containers
>

Both b) and c) are valid answers, aren't they?


david


>
> regards,
>
> Martin
>
> On 12/16/09, Ed Burns <Ed.Burns at sun.com> wrote:
> >>>>>> 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/
> >
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20091217/cc7e7c5c/attachment.html 


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