-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
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
Asked: 2006-03-11 16:28:05 +0800
Seen: 561 times
Last updated: Mar 12 '06