Darío Vasconcelos wrote:
Leonardo,
even if @DirectLink knew how to just output the URL, you can't just
include a DirectLink inside a <script> block, as you would do with
other templating frameworks... you either need to create a @Script
block and a feed it a parameter generated from a method in your .java
that outputs the URL for a DirectLink (there are plenty of examples in
previous posts in this list) or include the DirectLink in your page
and reference it from javascript with some DOM-related call.
Hmm, I think I can actually include it as in other templating frameworks:
<script type="text/javascript">
var linkString = '<span jwcid="@Insert" raw="true"
value="ognl:components.progress.linkString" />';
in:
http://tacos.sourceforge.net/components/Refresh.html
--
Ing. Leonardo Quijano Vincenzi
Director Técnico
DTQ Software
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]