0

Problem in Use ZK JSP Tag in JSP Pages

asked 2008-05-09 03:58:34 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4953532

By: firedup0205

Dear ZK team and my friends!
I very like using ZK. But I have a problem with ZK JSP Tags I download package zkjsp-demo-all.war but when I run it... an error occur ... zk:window interface...
I guess error in...<%@ taglib uri="http://www.zkoss.org/2005/zul/jsp" prefix="z"
%>
......
Help me please (if not internet available what change in uri ???)!
Send to me zkjsp-demo-all.war of you. [email protected] Many thank for your help! ^^


delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2008-05-09 08:57:58 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4953922

By: jebberwocky

What is the error message that u getting?

link publish delete flag offensive edit

answered 2008-05-11 02:32:46 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4956494

By: firedup0205

Oh!
Hiii... ^^ Use Tags <jsp:include page = "TestPage.zul"/> =>It run well.. but can u tell me the way to send value of ZK Tags to JSP page?
...
In First.zul .. embedded HTML elements

//First.zul
<window title="HTML demo" xmlns:h="http://www.w3.org/1999/xhtml">
<h:form name="myForm" action="Processing.jsp" method="post">
<h:table border="1">
<h:tr>
<h:td>
<textbox id = "txtUserName" value=""/>
</h:td>
</h:tr>
<h:tr>
<h:td>
<h:input type="button" value="Add Item" zk:onClick="addItem()"/>
</h:td>
</h:tr>
</h:table>
</h:form>
</window>

//Processing.jsp
<%
String strUN = request.getParameter("txtUserName");
%>
<input type="textbox" value="<%= strUN %>"/>

----- But strUN can't receive value of txtUserName in First.zul

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2008-05-09 03:58:34 +0800

Seen: 146 times

Last updated: May 11 '08

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