This content has been marked as final.
Show 18 replies
-
15. Re: Using EL Functions in an AJAX request
mrmagoo Dec 5, 2008 7:48 AM (in response to imkookoo)"imkookoo" wrote:
My solution was to combine the new EL-API code with my existing the jbossweb 4.2.3 code.
Can you please try to explain what this means?
~dirk -
16. Re: Using EL Functions in an AJAX request
marmalis Feb 25, 2009 5:46 AM (in response to imkookoo)I have the same problem.
Need to add into your project EL library. I use JBoss-4.2.2.GA, after that i try Tomcat-6.0.18.
In Tomcat-6.0.18 it runs well, in JBoss-4.2.2.GA (which use Tomcat 5.x.x by default) it doesn't work.
Therefore, need to include "jasper-el-6.0.18.jar" (use in Tomcat-6.0.18) and exclude all another "el-api".
add to your pom.xml next dependency:<dependency> <groupId>org.apache.tomcat</groupId> <artifactId>jasper-el</artifactId> <version>6.0.18</version> </dependency>
it was include "el-api-6.0.18.jar" too (see http://repo1.maven.org/maven2/org/apache/tomcat/jasper-el/6.0.18/jasper-el-6.0.18.pom), which we need to exclude. For this add to pom.xml next plugin:<build> <finalName>33-${artifactId}-${project.version}-${buildNumber}</finalName> <plugins> <plugin> <artifactId>maven-war-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>war</goal> </goals> <configuration> <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory> <packagingExcludes>WEB-INF/lib/el-*</packagingExcludes> <warSourceExcludes>WEB-INF/lib/el-*</warSourceExcludes> </configuration> </execution> </executions> </plugin> </plugins> </build>
It will be work.
Sorry for my broken english and thanks for this topic!:) -
17. Re: Using EL Functions in an AJAX request
marmalis Feb 25, 2009 6:06 AM (in response to imkookoo)See the last post in topic:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=144620&postdays=0&postorder=asc&start=10
I agree with nbelaevski assumption. -
18. Re: Using EL Functions in an AJAX request
markstrecker Mar 13, 2009 3:56 PM (in response to imkookoo)We also encountered this error with JBoss 4.2.3, MyFaces 1.2.6 and Rich Faces 3.3.0.
org.apache.jasper.el.JspELException: /wally/Test.jspx(21,73) '#{rich:clientId('testTable')}' Function 'rich:clientId' not found
org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:107)
javax.faces.component.UIOutput.getValue(UIOutput.java:184)
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:201)
We dropped the jasper-el.jar from Tomcat-6.0.18 into the WEB-INF/lib of our war and it worked. We are able to leave our STATE_SAVING_METHOD=client.