The following from the archive might be of interest to
you.
http://article.gmane.org/gmane.comp.java.tapestry.user/19107/match=ekman

It shows how to set a parameter in a DirectLink from
a javascript prompt.

Shing

--- Patrick Casey <[EMAIL PROTECTED]> wrote:
> 
>       I want to use a javascript prompt e.g.
> 
>       var foo = prompt("Please answer the question",
> "bar");
> 
>       And then route the result back to tapestry for
> processing.
>       
>       Historically, I did this with custom javascript and
> a hidden form
> which I submitted after stuffing the result of the
> prompt into a placeholder
> field in the hidden form.
> 
>       Is there a more "tapestry friendly" way to do this?
> Or is my
> old-school approach still them best available one
> here?
> 
>       --- Pat
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 

Home page :
  http://uk.geocities.com/matmsh/index.html

Send instant messages to your online friends http://uk.messenger.yahoo.com 

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

Reply via email to