Not able to view <rich:panelMenu in browser
sandeepgowda Mar 7, 2010 2:16 PMI am using JSF framework, i have a file containing as below, when opened in Browser(IE/Firefox), its blank....
<html>
    <ui:composition xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:a4j="http://richfaces.org/a4j"
        xmlns:rich="http://richfaces.org/rich">
        <head>
            <title>Customer Details Page</title>
            <style>
.cols {
    vertical-align: top;
    width: 50%;
}
</style>
        </head>
        <body>
        
                <h:form id="form">
                    <h:panelGrid columns="2" columnClasses="cols" width="100%">
                        <rich:panelMenu style="width:200px" mode="ajax">
                            <rich:panelMenuGroup label="Group 1">
                                <rich:panelMenuItem label="Item 1.1">
                                    <f:param name="current" value="Item 1.1" />
                                </rich:panelMenuItem>
                                <rich:panelMenuItem label="Item 1.2">
                                    <f:param name="current" value="Item 1.2" />
                                </rich:panelMenuItem>
                                <rich:panelMenuItem label="Item 1.3">
                                    <f:param name="current" value="Item 1.3" />
                                </rich:panelMenuItem>
                            </rich:panelMenuGroup>
                        </rich:panelMenu>
                        <rich:panel bodyClass="rich-laguna-panel-no-header">
                            <a4j:outputPanel ajaxRendered="true">
                            </a4j:outputPanel>
                        </rich:panel>
                    </h:panelGrid>
                </h:form>
        
        </body>
    </ui:composition>
</html>
View source of browser is as below
<html xmlns="http://www.w3.org/1999/xhtml">
    <head><script src="/DEBT/a4j_resources/org/ajax4jsf/framework.pack.js.faces" type="text/javascript"></script><script src="/DEBT/a4j_resources/org/richfaces/ui.pack.js.faces" type="text/javascript"></script><link class="component" href="/DEBT/a4j_resourcesorg/richfaces/renderkit/html/css/basic_both.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.faces" rel="stylesheet" type="text/css" /><link class="component" href="/DEBT/a4j_resourcesorg/richfaces/renderkit/html/css/extended_both.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__.faces" media="rich-extended-skinning" rel="stylesheet" type="text/css" /><script type="text/javascript">window.RICH_FACES_EXTENDED_SKINNING_ON=true;</script></head><ui:composition xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:a4j="http://richfaces.org/a4j"
        xmlns:rich="http://richfaces.org/rich">
 
        <head>
            <title>Customer Details Page</title>
            <style> 
.cols {
    vertical-align: top;
    width: 50%;
}
</style>
 
        </head>
        <body>
        
                <h:form id="form">
                    <h:panelGrid columns="2" columnClasses="cols" width="100%">
                        <rich:panelMenu style="width:200px" mode="ajax">
                            <rich:panelMenuGroup label="Group 1">
                                <rich:panelMenuItem label="Item 1.1">
                                    <f:param name="current" value="Item 1.1" />
                                </rich:panelMenuItem>
                                <rich:panelMenuItem label="Item 1.2">
                                    <f:param name="current" value="Item 1.2" />
                                </rich:panelMenuItem>
                                <rich:panelMenuItem label="Item 1.3">
                                    <f:param name="current" value="Item 1.3" />
                                </rich:panelMenuItem>
                            </rich:panelMenuGroup>
                        </rich:panelMenu>
                        <rich:panel bodyClass="rich-laguna-panel-no-header">
                            <a4j:outputPanel ajaxRendered="true">
 
                            </a4j:outputPanel>
                        </rich:panel>
                    </h:panelGrid>
                </h:form>
        
        </body>
    </ui:composition>
</html>
regards
Sandeep
 
    