开发者

zk with struts 1

开发者 https://www.devze.com 2023-01-11 02:09 出处:网络
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

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号