3 Replies Latest reply on Jun 4, 2010 1:20 PM by charlesyang

    ui:include problem with richface

    charlesyang

      I am testing Facelets layout, but having problem with ui:include for a Richface component, that richface function get lost, can someone help ?

       

      Simplfied layout.xml. Include a dropdownMenu.xhtml is a copy from Richface demo site, declared as ui:composition. The demo xhtml works fine individully, but when inlude in the following layout.xhtml, is just shows 3 bloks of options, when you move mouse over the bloks, it does not show sub-options. What I did wrong ? (Also see attached file for the pictures). Thanks.

       

      <!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:ui="http://java.sun.com/jsf/facelets"

      xmlns:h="http://java.sun.com/jsf/html"

      xmlns:f="http://java.sun.com/jsf/core"

      xmlns:rich="http://richfaces.org/rich"

      xmlns:a4j="http://richfaces.org/a4j">

       

      <head></head>

      <head></head>

      <div id="someId">

      <ui:include src="dropDownMenu.xhtml"/>

      </div>

      </body>

      </html>