2 Replies Latest reply on Feb 2, 2010 3:53 AM by Olli H.

    #{..} is not allowed in template text

    Olli H. Newbie

      Hi,

       

      I read this great post on Ilyas blog. (http://relation.to/Bloggers/RichFacesCalendarAndScrollableExtendedTables). That is  exactly what I need, but i get this error message

      "#{..} is not allowed in template text"

       

       

      What do i have to do or to configure to solve this  error message.?

      I am using RF 3.3.1 GA and Tomcat 6.

       

      I get this message after adding this line of code into my jsp page.

      <rich:calendar id="calendar" onchanged="#{rich:component('calendar')}.customInput.value=event.rich.component.getSelectedDateString();" zindex="1000"/>

      org.apache.jasper.JasperException: /parser.jsp(50,3) #{..} is not allowed in template text
              org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
              org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
              org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:102)
              org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:713)
              org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:958)

       

      Best Regards

      Kalomo