0

ZK 7.0.4 not supporting include of a jsp file inside a zul page

asked 2015-02-25 04:48:00 +0800

rahulRambo gravatar image rahulRambo
1

hi All, I have included a jsp file in my zul file as <include src="maps/gmaps.jsp"></include>. This had been working fine with zk 7.0.0. Once I upgraded zk to 7.0.4, it started throwing exception.The exception is as:- org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Language not found for extension jsp at org.zkoss.zk.ui.metainfo.LanguageDefinition.getByExtension(LanguageDefinition.java:243) at org.zkoss.zul.Include.fixModeOnly(Include.java:359) at org.zkoss.zul.Include.fixMode(Include.java:346) at org.zkoss.zul.Include.setSrc(Include.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.zkoss.zk.ui.metainfo.Property.assign0(Property.java:284) at org.zkoss.zk.ui.metainfo.Property.assign(Property.java:169) at org.zkoss.zk.ui.metainfo.ComponentInfo.applyProperties(ComponentInfo.java:729)

Please help me in this regard as soon as possible.

Thanks in Advance, Rahul Kumar Sinha

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-02-26 10:23:27 +0800

neillee gravatar image neillee flag of Taiwan
1692 1 5
https://plus.google.com/u...

This issue is related to a known ZK bug. Please follow this link http://tracker.zkoss.org/browse/ZK-2567 for the latest status.

Meanwhile, please use defer mode as a workaround.

<include mode="defer" src="include.jsp"/>
link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2015-02-25 04:48:00 +0800

Seen: 9 times

Last updated: Feb 26 '15

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