0

How to get data inside Servlet passed by Composer explicitly?

asked 2010-01-12 03:05:46 +0800

vmehta7 gravatar image vmehta7
18 1 1 4

Hi I am new user to ZK.
In my application the flow is like this
Login.zul --->LoginComposer.java--->LoginServlet.java
For this I have used h:form and onclick event of button in Login.zul, LoginComposer.java 's funtion is called and that function inturn will call LoginServlet.java's doPost method., which I have achieved using Clients.submitForm(loginForm); inside LoginComposer.java

Now according to given senario ,I am getting all form parameters inside my servlet,but my requirement is to get data in LoginServlet which are explicitly set within Composer,like using requestScope.put("Name","Value");
Is there any api for getting data inside LoginServlet which are expliclity set within LoginComposer.java?

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2010-01-17 21:36:07 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi,vmehta7
you can refer to here

and use name attribute to get value like html

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: 2010-01-12 03:05:46 +0800

Seen: 1,200 times

Last updated: Jan 17 '10

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