-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
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"/>
Asked: 2015-02-25 04:48:00 +0800
Seen: 9 times
Last updated: Feb 26 '15