-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi !
In my controller, i try to execute jsp file with Include or Script component but the code is not interpreted !
zul file code:
<window apply="controller.front.CMyController">
<button id="m_btn_submit">Submit</button>
<script id="m_MyScript"/>
</window>
CMyController code :
Script m_MyScript = null;
public void onClick$m_btn_submit()
{
m_MyScript.setSrc("../jsp/my_jsp.jsp");
}
my_jsp file code :
<script type="text/javascript">
/* <![CDATA[ */
var id = 949124231;
/* ]]> */
</script>
<script type="text/javascript" src="http://www.mydomain.com/test.js">
</script>
So when i click on the button, then the jsp code is not displayed in the navigator source code !
I'm in ZK version 5.0.6, is somebody has an idea ?
Thanks !
Asked: 2012-03-05 15:10:06 +0800
Seen: 127 times
Last updated: Mar 05 '12