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.
On 11/1/05, Leonardo Quijano Vincenzi <[EMAIL PROTECTED]> wrote: > Is there anyway I can tell @DirectLink to create just the URL, without > the surrounding <A HREF=""></A> tags? > (same would apply to other links). > > I'm trying to create some javascript that changes the document's > location, and it'd be useful to have a single parameter in @xxLink that > only sends the URL. > > Thanks > > -- > Ing. Leonardo Quijano Vincenzi > Director Técnico > DTQ Software > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- An expert is a person who has made all the mistakes that can be made in a very narrow field. Niels Bohr --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
