0

To implement form in zul

asked 2006-03-11 16:28:05 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: nobody

Someone to say like to spend(pass) information or variables of a file with extension zul to another zul. Please detailed possible mas and if it(he,she) is possible with an example.
Nota. - probe slightly like:
-----------------
archive P.zul
------------------
<window title="passe parameter">
<textbox id="value"/>
<button label="pas" onClick="preparar()"/> <zscript> import java.util.Map; import com.potix.web.servlet.http.HttpServlet;
public void preparar(){
Map parametro=new HashMap();
parametro.put("name",valor.getValue());
Executions.createComponents("/franz/R.zul",null,parametro);
}

</zscript>
</window>

------------------------
Archive R.zul
----------------------
<?page id="receiveP"?>
<window title="${arg.name}" border="normal"> content others dates </window>


But this one in which it(he,she) calls to another file and puts below(down) what I want is the problem that when the button touches the information he(she) travels to another page and the browser proves to be to me R.zul.

The thanks much.
Atte Franz

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2006-03-12 14:49:38 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: tomyeh

It looks OK to me.

In additions, you could use the request parameters as illustated in How-tos:

http://en.wikibooks.org/wiki/ZK/How-Tos#How_to_include_the_same_page_twice.3F


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: 2006-03-11 16:28:05 +0800

Seen: 560 times

Last updated: Mar 12 '06

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