zk与struts 1
我正在使用 ZK 和 struts 1。 1.我有四个文件,两个zul文件,第一个用于输入,第二个用于包含输入值的成功消息 2.Action类获取表单值,在服务器中打印并转发到成功的zul文件
when i submit the input zul page , the control is correctly going to the action class, there printed the form values correctly .From i am forwarding to another zul. there i cant get the form value
i am using ZK with struts 1.
1.i have four files, two zul file one for input and second for success message with input values
2.Action class to get the form values , print in the server and forward to success zul file
when i submit the input zul page , the control is correctly going to the action class, there printed the form values correctly .From i am forwarding to another zul. there i cant get the form value
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我假设您的问题是如何检索 ZUL 文件中操作类的值。我认为您可以实现一个变量解析器,然后在 zul 文件中声明解析器,如下所示。
然后,在ZUL文件中,您可以直接使用EL访问它们,例如${whatever.you.want}。
希望有帮助。
I assume your question is how to retrieve the value of the action class in a ZUL file. I think you can implement a variable resolver it and then declare the resolver in the zul file as follows.
Then, in the ZUL file, you can access them directly with EL, such as ${whatever.you.want}.
Hope it helps.