Am Mittwoch, 21. Dezember 2005 13:13 schrieb ausias vives:
> Hi,
>
> I know it's not a good poin to mix javscript and
> tapestry outside script components or components with
> attached srcipts, but I need to know if there is an
> easy way to get something like:
>
> <a href="javscript:someAction(<span [EMAIL PROTECTED]
> value=ognl:var/>)"> etc...
>
> the span tag doesn't get parsed...
>
> I know in most cases this could and should be avoided
> easyly, but I need to obtain a user string using the
> javscript prompt command and pass thta value to a
> tapestry listener, at the moment I'm trying to solve
> this the quickest way.
>
> thanks

use the @Any-component

<a jwcid="@Any" href="ognl:myLink">link</a>

getMyLink() in the page-class should return
the link as string.

lukas

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

Reply via email to