-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4359665
By: zk_newbie
Hi,
I have been using zk since version 2.0. Recently, I upgraded it to 2.4 and the include does not working in jsp pages(I include a header file admin.zul in jsp
pages.)
<jsp:include page="/resources/header/admin.zul" flush="true" >
It work with version 2.0, 2.2, and 2.3. I'm not sure why it doesn't work with 2.4. It doesn't through any exception. I would appreciate any help or suggestions.
Thanks
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4360140
By: henrichen
Please provide example codes that we can test here. Thanks.
/henri
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4360538
By: zk_newbie
Here are the example code. The test.jsp include test.zul
test.jsp
----------------------------------------------------------------------
<table cellspacing="1" border="1" width="100%">
<tr>
<td align="center"><jsp:include page="test.zul" flush="true"/></td>
</tr>
</table>
test.zul
----------------------------------------------------------------------
<window title="groupbox demo" border="normal">
<vbox>
Which kind of fruit do you want?
<groupbox width="300px">
<caption label="fruits"/>
<radiogroup onCheck="fruit.value = self.selectedItem.label">
<radio label="Apple"/>
<radio label="Orange"/>
<radio label="Banana"/>
</radiogroup>
</groupbox>
<hbox>You have selected :<label id="fruit"/></hbox>
</vbox>
</window>
------------------------------------------------------------------------
I can display test.zul but I can't see anything on test.jsp
Thanks
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4363521
By: zk_newbie
Hi Henri,
Do you have any idea? I rollback to 2.3 and it work fine. If I remove <table>, <tr>, <td> it work.
test.jsp
----------------------------------------------------------------------
<jsp:include page="test.zul" flush="true"/>
Does anyone have the same problem with 2.4? Please help. Thanks
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4365917
By: tomyeh
There is a lot of content before jsp:include, right?
I think it is a bug (and just fixed):
https://sourceforge.net/tracker/index.php?func=detail&aid=1738343&group_id=15276
2&atid=785191
Tom
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4365999
By: zk_newbie
Thanks Tom
Do you know when is the next release? Thanks again
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4366507
By: henrichen
You can try the latest fresh build.
http://sourceforge.net/project/showfiles.php?group_id=152762&package_id=218698
/henri
Asked: 2007-06-13 04:50:27 +0800
Seen: 162 times
Last updated: Jun 17 '07