Does anybody from the GF team has a clue about how to solve this? Should we
file a bug?
Regards,
Theodor
On Thu, Oct 21, 2010 at 4:11 PM, <glassfish_at_javadesktop.org> wrote:
> Yes I am seeing the same type of issue on the page itself on a simple page.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:h="http://java.sun.com/jsf/html">
> <f:metadata>
> <f:viewParam name="q" value="#{quizBean.currentProblem}"/>
> </f:metadata>
> <h:head>
> <title>#{msgs.title}</title>
> </h:head>
> <h:body>
> <h:form>
> <p>#{quizBean.question}</p>
> <p><h:inputText value="#{quizBean.response}"/></p>
> <p><h:commandButton value="#{msgs.checkAnswer}"
> action="#{quizBean.answerAction}"/></p>
> <p><h:link outcome="#{quizBean.skipOutcome}" value="Skip">
> <f:param name="q" value="#{quizBean.currentProblem + 1}"/>
> </h:link>
> </p>
> </h:form>
> </h:body>
> </html>
>
> "The form component needs to have a UIForm in its ancestry. Suggestion:
> enclose the necessary components within <h:form>"
>
> The page renders, but the message appears incorrectly.
>
> I attached a WAR the clearly demonstrates the issue.
>
> I have also filed a bug.
> [Message sent by forum member 'russwyte']
>
> http://forums.java.net/jive/thread.jspa?messageID=485857
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>