0 Replies Latest reply on Aug 17, 2009 8:31 PM by Arbi Sookazian

    restrictions using ui:include with factory pattern?

    Arbi Sookazian Master

      I was using this:

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

      and my @Factory method was not executing.

      When I commented the tag above in my main facelet and pasted the modalPanel code directly into the main facelet, it works.

      Why?  I was including at the top like this:

      <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
           <ui:define name="body">
                <ui:include src="/pleaseWaitModalPanel.xhtml" />
                <!-- <ui:include src="/EquipmentProcessingViewModalPanel.xhtml" /> -->
                <ui:include src="/EquipmentProcessingHistoryModalPanel.xhtml" />

      but don't think the insert location matters AFAAIK.  thx.