0

Changing Include's src causes ServletException

asked 2008-07-24 18:14:50 +0800

roxcastaneda gravatar image roxcastaneda
57

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

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2008-07-24 18:27:54 +0800

roxcastaneda gravatar image roxcastaneda
57

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

link publish delete flag offensive edit

answered 2008-07-25 01:41:10 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

Please post to Bug list. Thanks.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-07-24 18:14:50 +0800

Seen: 264 times

Last updated: Jul 25 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More