Yes, also don't forget the power of "this" and how it changes depending on
context. I'd have to see your code but it's quite possible that you can
navigate from "this" to any dom node in your browser if "this" points to a
dom node.

On 8/4/06, Karthik N <[EMAIL PROTECTED]> wrote:

i guess i'm not too clear what you want to achieve:

i suppose you can have an informal parameter onclick=ognl:clickAction and
then create the javascript in the getClickAction which forms the string
based on the current ID

On 8/4/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
>
> Hi all
>
> I need to pass a parameter to a JS alert(). This is repeated in several
> rows
> of a table created with a @For component, and the parameter is the id of
> the
> elements of the current row. Passing <span> will of course break the JS
> function and the HTML its in.
>
> Can anyone please sugest a different solution?
>
> --
> Cumprimentos,
> Rui Pacheco
>
>


--
Thanks, Karthik




--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to