1 Reply Latest reply on Sep 16, 2007 10:18 AM by Guillaume Racine

    Impossible to use EL expression with <a4j:include>

    Guillaume Racine Newbie

      I try to include a form in a modelPanel and i always get the following error message: #{..} is not allowed in template text

      It seems that the included page can't use EL expression...!?
      If i directly put the content of my included page in de modalPanel all works fine.
      Someone have a clue?

      I use tomcat 6.0 and richfaces 3.1.0


      <f:loadBundle basename="bundle.messages" var="msg"/>
      <f:loadBundle basename="bundle.cm_messages" var="cm_msg"/>
       <a href="javascript:Richfaces.showModalPanel('_panel',{left:'auto', top:'auto'})">
       Show Modal Panel
       <rich:modalPanel id="_panel">
       <a4j:include viewId="evenementsForm.jsp" />


      <h:form id="evenementsForm" enctype="multipart/form-data">
       <table border='0'>
       <td valign="top">
       <h:outputLabel id="id4" for="id5" value="#{cm_msg.label_evenementsTitre}" />
       <td valign="top">
       <h:inputText id="id5" required="false" disabled="false" tabindex="2" size="50" value="#{evenementsBean.titre}"/>
       <td valign="top">
       <h:commandButton id="okButton" tabindex="7" immediate="false" value="Submit" action="#{evenementsBean.delegate}" />
       <h:commandButton id="cancelButton14" tabindex="8" immediate="true" value="Cancel" action="#{evenementsBean.cancel}" />
       <h:message id="errMsgCancel" for="cancelButton"/>
       <h:messages id="errMsgList" globalOnly="true" />