-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi!
Please, help me...
Following the example bellow, how can a get the value of "message" variable? I need to use it in the <z:attribute> tag.
view.jsp
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="z" uri="http://www.zkoss.org/jsp/zul" %> . . . <c:set var="message" value="Test 123" /> <z:button label="View" autodisable="self" style="font-size:8pt"> <z:attribute name="onClick">{ String valueOfMessage = ****** What code must I put here to get the "message" variable value ? ******; Map arg = new HashMap(); arg.put("valueOfMessage", valueOfMessage); final Window win = (Window) Executions.createComponents("/zul/detail.zul", null, arg); win.setMaximizable(true); win.doModal(); } </z:attribute> </z:button> . . .
Thanks!
page.getAttribute("message") ?
No. It didn't work...
Asked: 2011-04-06 09:35:38 +0800
Seen: 439 times
Last updated: Apr 06 '11