[richfaces-issues] [JBoss JIRA] Created: (RF-9925) Panel menu: The form component needs to have a UIForm in its ancestry

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Mon Dec 6 07:14:01 EST 2010


Panel menu: The form component needs to have a UIForm in its ancestry
---------------------------------------------------------------------

                 Key: RF-9925
                 URL: https://jira.jboss.org/browse/RF-9925
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-output
    Affects Versions: 4.0.0.Milestone4
         Environment: RichFaces 4.0.0-SNAPSHOT r.20396
Metamer 4.0.0-SNAPSHOT r.20398
Mojarra 2.1.0-SNAPSHOT
GlassFish Server Open Source Edition 3.1-SNAPSHOT
OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
Chrome 8.0.552.215 @ Linux x86_64
            Reporter: Pavol Pitonak


A page with rich:panelMenu shows the following message:
* The form component needs to have a UIForm in its ancestry. Suggestion: enclose the necessary components within <h:form>


<?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:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" 
      xmlns:rich="http://richfaces.org/rich" >
    <h:head/>

    <h:body>
        <h:form id="form">

            <rich:panelMenu id="panelMenu" activeItem="#{richPanelMenuBean.attributes['activeItem'].value}" >

                <rich:panelMenuGroup id="group1" label="Group 1">
                    <rich:panelMenuItem id="item11" label="Item 1.1">
                        <f:param name="current" value="Item 1.1" />
                    </rich:panelMenuItem>
                    <rich:panelMenuItem id="item12" label="Item 1.2">
                        <f:param name="current" value="Item 1.2" />
                    </rich:panelMenuItem>
                </rich:panelMenuGroup>

                <rich:panelMenuGroup id="group2" label="Group 2">
                    <rich:panelMenuItem id="item21" label="Item 2.1">
                        <f:param name="current" value="Item 2.1" />
                    </rich:panelMenuItem>
                    <rich:panelMenuItem id="item22" label="Item 2.2">
                        <f:param name="current" value="Item 2.2" />
                    </rich:panelMenuItem>
                </rich:panelMenuGroup>

            </rich:panelMenu>

        </h:form>
    </h:body>
</html>

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list