-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I get the following error whenever i change the src of an include
Failed to load /new.jsp
Cause: org.zkoss.web.servlet.ServletException: Unable to evaluate an EL expression: org.zkforge.apache.commons.el.ExpressionEvaluatorImpl$JSTLExpression@e0420b
org.zkoss.zk.ui.UiException: org.zkoss.web.servlet.ServletException: Unable to evaluate an EL expression: org.zkforge.apache.commons.el.ExpressionEvaluatorImpl$JSTLExpression@e0420b
at org.zkoss.zk.ui.http.ExecutionImpl.include(ExecutionImpl.java:231)
at org.zkoss.zk.ui.impl.PageImpl.redraw(PageImpl.java:829)
at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:394)
at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:276)
at org.zkoss.zk.ui.http.DHtmlLayoutFilter.process(DHtmlLayoutFilter.java:104)
Below is the code... I'm using 3.0.6 and I'm working with JSP any workaround??
index.jsp
---------------------------------------------------------------
.
.
.
<x:include id="testinc" src="new.jsp"/>
<x:button label="refresh" >
<attribute name="onClick">
testinc.src="";
testinc.invalidate();
testinc.src="new.jsp"; <---- bug here.
testinc.invalidate();
</attribute>
</x:button>
.
.
.
new.jsp
-----------------------------------------------------------------
<?page id="new"?>
<html xmlns:zk="http://www.zkoss.org/2005/zk"
xmlns:h="http://www.w3.org/1999/xhtml"
xmlns:y="http://www.zkoss.org/2007/yui"
xmlns:x="http://www.zkoss.org/2005/zul"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Dashboard</title>
</head>
<body>
<x:window title="My First Window" border="normal" width="200px">
Hello, World!
textbox: <x:textbox value="text..."/>
</x:window>
</body>
</html>
-rocky
Hi guys,
I reverted back to 3.0.5 and the problem is gone. I hope you can fix this on the next version.
When will you be releasing the next version?
More power!!
rocky
Asked: 2008-07-24 18:14:50 +0800
Seen: 264 times
Last updated: Jul 25 '08