Robert Haycock <Robert.Haycock <at> mediasurface.com> writes:

> I have a component with a .script file.  In there I have a method with a
> window.open() call.  I need the URL of another tapestry component for
> the first parameter.  Would someone be kind enough to tell me how this
> is done in tapestry?

As you're using a .script file, you should have a corresponding
Script component. Then pass the URL as a symbol to that Script 
component and then use it like below in the .script file:

<script>
<input-symbol key="url" required="yes"/>
<body>
...
window.open("${url}", ...);
</body>
</script>

--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to