Hi,
i use Tapestry 4 Beta 13.
I open with a buttonclick a new window.
In some cases i want to add a body-attribute
(onload="javascript:window.print();").
How can i realize it?
Code:
public formSubmit(IRequestCycle cycle){
.......
final HttpServletResponse response =
iRequestCycle.getRequestContext().getResponse();
.....
// HERE I NEED SOMETHING LIKE:
// resonse.addBodyAttribute("onload=\"javascript:window.print();\"");
}
Any help would be nice.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]