tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Zeigler <rdzei...@u.arizona.edu>
Subject Re: how to create a confirm link?
Date Wed, 07 Jul 2004 16:57:08 GMT
You're probably using a direct link; it allows informal parameters.
so, add something like the following to the direct link:
<a href="" jwcid="@DirectLink" ... onclick="return confirm('Are you 
sure?');">Delete</a>

Robert

ausias vives wrote:
> Hi all,
> 
> I need to perform a delete option for some items list,
> and I like to have a javascript confirm message
> previous to the listener call. I'd like to do that as
> a normal link, not a button.
> 
> Is there a way to do that? or have I to work it out a
> solution from scratch?
> 
> Thank in advance.
> 
> Ausias
> 
> 
> 	
> 	
> 		
> ___________________________________________________________ALL-NEW Yahoo! Messenger -
sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Mime
View raw message