My toolbar appears functional - I can choose New Canvas Window, and the canvas name in the Model Structure pane changes. However, if I try and drag any component from the Component Toolkit onto the Canvas, nothing happens.
Finally, if I try and save it, I get an error saying:
Error writing to file [java.lang.UnsupportedOperationException: DOM Level3]
Any thoughts?
Thanks,
Sharif
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the response - I download ZK 3.0RC and overlaid the jars in the ZeroKode WEB-INF/lib directory. However, when I go to save, I still get the UnsupportedOperationException.
In addition, I'm trying to follow the "Painting with Zero Kode.doc" document that is bundled in the ZeroKode.war. When I attempt to add an image to the vbox off the root window, I get an out of bounds exception:
Oct 17, 2007 2:18:47 PM org.zkoss.zk.ui.impl.UiEngineImpl execUpdate:606
SEVERE:
org.zkoss.zk.ui.UiException: org.zkoss.web.servlet.ServletException: Unable to evaluate an EL expression: ${u:getBoxChildAttrs(child)}
at org.zkoss.zk.ui.http.ExecutionImpl.include(ExecutionImpl.java:134)
at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:896)
at org.zkoss.zk.ui.impl.UiVisualizer.redraw(UiVisualizer.java:884)
at org.zkoss.zk.ui.impl.UiVisualizer.getResponses(UiVisualizer.java:532)
at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:601)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:220)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:122)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Caused by: org.zkoss.web.servlet.ServletException: Unable to evaluate an EL expression: ${u:getBoxChildAttrs(child)}
at org.zkoss.web.servlet.dsp.impl.ELNode.interpret(ELNode.java:51)
at org.zkoss.web.servlet.dsp.impl.ActionNode.renderFragment(ActionNode.java:96)
at org.zkoss.web.servlet.dsp.impl.ActionContextImpl.renderFragment(ActionContextImpl.java:92)
at org.zkoss.web.servlet.dsp.action.ForEach.renderWith(ForEach.java:211)
at org.zkoss.web.servlet.dsp.action.ForEach.render(ForEach.java:158)
at org.zkoss.web.servlet.dsp.impl.ActionNode.interpret(ActionNode.java:70)
at org.zkoss.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:51)
at org.zkoss.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:64)
at org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:193)
at org.zkoss.web.util.resource.ClassWebResource.doGet(ClassWebResource.java:135)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:109)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
at org.zkoss.web.servlet.Servlets.include(Servlets.java:440)
at org.zkoss.zk.ui.http.ExecutionImpl.include(ExecutionImpl.java:128)
... 23 more
Caused by: javax.servlet.jsp.el.ELException: An error occurred while evaluating function "u:getBoxChildAttrs"
at org.apache.commons.el.Logger.logError(Logger.java:484)
at org.apache.commons.el.Logger.logError(Logger.java:545)
at org.apache.commons.el.FunctionInvocation.evaluate(FunctionInvocation.java:174)
at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
at org.zkoss.el.EvaluatorImpl.evaluate(EvaluatorImpl.java:74)
at org.zkoss.web.servlet.dsp.impl.ELNode.interpret(ELNode.java:45)
... 43 more
I have tried to add the image to the root window, then append it as a child to the vbox, with no success.
It seems like ZK is a really nice framework w/ a nice painting utility. I would like to be able to work past these initial hiccups and really start cranking out code.
Any thoughts?
Thanks,
Sharif
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the response - I download ZK 3.0RC and overlaid the jars in the ZeroKode WEB-INF/lib directory. However, when I go to save, I get the UnsupportedOperationException.
Any thoughts?
Thanks,
Sharif
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And the exception you mentioned might be caused by the incomparability of ZeroKode and ZK RC 3.0. Thus,I would suggest your to use ZK 2.4.1 which solves the problem of UnsupportedOperationException and JRE 1.5.
By the way, are you interested in helping us find out those incomparability for the community of ZK. They will appreciate you.
/Robbie
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm running:
Tomcat: 5.5
Eclipse: 3.2
JRE: 1.6.0_02-b06
When I deploy the ZeroKode war, I can bring it up no problem at http://localhost:8080/ZeroKode.
My toolbar appears functional - I can choose New Canvas Window, and the canvas name in the Model Structure pane changes. However, if I try and drag any component from the Component Toolkit onto the Canvas, nothing happens.
Finally, if I try and save it, I get an error saying:
Error writing to file [java.lang.UnsupportedOperationException: DOM Level3]
Any thoughts?
Thanks,
Sharif
Additional information - I'm able to upload a .zul file, and able to drag components onto the model structure.
That said, I still cannot save.
Sharif
Hi Sharif,
Please download the ZK 3.0RC, this problem has been solved.
http://sourceforge.net/project/showfiles.php?group_id=152762
/Robbie
Robbie,
Thanks for the response - I download ZK 3.0RC and overlaid the jars in the ZeroKode WEB-INF/lib directory. However, when I go to save, I still get the UnsupportedOperationException.
In addition, I'm trying to follow the "Painting with Zero Kode.doc" document that is bundled in the ZeroKode.war. When I attempt to add an image to the vbox off the root window, I get an out of bounds exception:
Oct 17, 2007 2:18:47 PM org.zkoss.zk.ui.impl.UiEngineImpl execUpdate:606
SEVERE:
org.zkoss.zk.ui.UiException: org.zkoss.web.servlet.ServletException: Unable to evaluate an EL expression: ${u:getBoxChildAttrs(child)}
at org.zkoss.zk.ui.http.ExecutionImpl.include(ExecutionImpl.java:134)
at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:896)
at org.zkoss.zk.ui.impl.UiVisualizer.redraw(UiVisualizer.java:884)
at org.zkoss.zk.ui.impl.UiVisualizer.getResponses(UiVisualizer.java:532)
at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:601)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:220)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:122)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Caused by: org.zkoss.web.servlet.ServletException: Unable to evaluate an EL expression: ${u:getBoxChildAttrs(child)}
at org.zkoss.web.servlet.dsp.impl.ELNode.interpret(ELNode.java:51)
at org.zkoss.web.servlet.dsp.impl.ActionNode.renderFragment(ActionNode.java:96)
at org.zkoss.web.servlet.dsp.impl.ActionContextImpl.renderFragment(ActionContextImpl.java:92)
at org.zkoss.web.servlet.dsp.action.ForEach.renderWith(ForEach.java:211)
at org.zkoss.web.servlet.dsp.action.ForEach.render(ForEach.java:158)
at org.zkoss.web.servlet.dsp.impl.ActionNode.interpret(ActionNode.java:70)
at org.zkoss.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:51)
at org.zkoss.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:64)
at org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:193)
at org.zkoss.web.util.resource.ClassWebResource.doGet(ClassWebResource.java:135)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:109)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
at org.zkoss.web.servlet.Servlets.include(Servlets.java:440)
at org.zkoss.zk.ui.http.ExecutionImpl.include(ExecutionImpl.java:128)
... 23 more
Caused by: javax.servlet.jsp.el.ELException: An error occurred while evaluating function "u:getBoxChildAttrs"
at org.apache.commons.el.Logger.logError(Logger.java:484)
at org.apache.commons.el.Logger.logError(Logger.java:545)
at org.apache.commons.el.FunctionInvocation.evaluate(FunctionInvocation.java:174)
at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
at org.zkoss.el.EvaluatorImpl.evaluate(EvaluatorImpl.java:74)
at org.zkoss.web.servlet.dsp.impl.ELNode.interpret(ELNode.java:45)
... 43 more
I have tried to add the image to the root window, then append it as a child to the vbox, with no success.
It seems like ZK is a really nice framework w/ a nice painting utility. I would like to be able to work past these initial hiccups and really start cranking out code.
Any thoughts?
Thanks,
Sharif
Another question - is using 1.6 JRE a problem?
Robbie,
Thanks for the response - I download ZK 3.0RC and overlaid the jars in the ZeroKode WEB-INF/lib directory. However, when I go to save, I get the UnsupportedOperationException.
Any thoughts?
Thanks,
Sharif
Hi Sharif,
I've tested it with JRE 1.6, and there appears an exception.
Please follow this url,
https://sourceforge.net/tracker/index.php?func=detail&aid=1815479&group_id=192708&atid=942481
And the exception you mentioned might be caused by the incomparability of ZeroKode and ZK RC 3.0. Thus,I would suggest your to use ZK 2.4.1 which solves the problem of UnsupportedOperationException and JRE 1.5.
By the way, are you interested in helping us find out those incomparability for the community of ZK. They will appreciate you.
/Robbie