1 Reply Latest reply on May 11, 2009 6:09 PM by a_ananta

    rich:suggesationbox does not work in ui:include

    a_ananta

      Hi All:
      
      I have this wired issue while using rich:suggesationbox.
      
      test.xhtml:
      
      <c:if test="${component.isDisplay=='true'">
      <ui:include src="test1.xhtml"/>
      <c:if>
      
      test1.xhtml:
      
      <h:form>
      <h:inputText id="schoolName"/>
      <rich:suggestionbox id="suggestionBoxIdSchoolName" for="schoolName" 
      suggestionAction="#{component.findSchool}" var="school"
      fetchValue="#{school.schoolName"
      minChars="3" 
      nothingLabel="No School found" 
      columnClasses="center"                                  
      frequency="1" 
      ignoreDupResponses="true" 
      param="schoolName"
      width="320" >
      <h:column>
      <h:outputText value="#{school.schoolName}"/>
      </h:column>
      </rich:suggestionbox>     
      </h:form>
      
      
      When I use <c:if< condition around to ui:inlcude in test.xhtml, this suggesation box does not work. It finds the school list in componenet but then just doesn't render the suggesationbox view.
      
      If I remove c:if from test.xhtml, it works fine.
      
      
      
      Any advise???