You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Todd O'Bryan <to...@mac.com> on 2005/04/03 01:46:59 UTC

dialog box to confirm DirectLink

I'd like to put up a dialog box to confirm a DirectLink before I take 
it. (Students will be re-doing an assignment, and I just want to make 
sure that they realize their old assignment will be deleted if they 
continue.)

Is there anything that would help with this, or do I just have to dig 
into the JavaScript and do it myself? (Yes, it's sad, but I've done 
very little with JavaScript.)

Thanks for any pointers,
Todd


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


Re: dialog box to confirm DirectLink

Posted by Todd O'Bryan <to...@mac.com>.
That WAS easy. Thanks muchly!

Todd

On Apr 2, 2005, at 6:51 PM, Viktor Szathmary wrote:

> it's easy:
>
> <a jwcid="@DirectLink" ...  onclick="return confirm('Are you 
> sure?');"/>
>
> v.
>
> On Apr 2, 2005 6:46 PM, Todd O'Bryan <to...@mac.com> wrote:
>> I'd like to put up a dialog box to confirm a DirectLink before I take
>> it. (Students will be re-doing an assignment, and I just want to make
>> sure that they realize their old assignment will be deleted if they
>> continue.)
>>
>> Is there anything that would help with this, or do I just have to dig
>> into the JavaScript and do it myself? (Yes, it's sad, but I've done
>> very little with JavaScript.)
>>
>> Thanks for any pointers,
>> Todd
>>
>> ---------------------------------------------------------------------
>> 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
>


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


Re: dialog box to confirm DirectLink

Posted by Viktor Szathmary <ph...@gmail.com>.
it's easy:

<a jwcid="@DirectLink" ...  onclick="return confirm('Are you sure?');"/>

v.

On Apr 2, 2005 6:46 PM, Todd O'Bryan <to...@mac.com> wrote:
> I'd like to put up a dialog box to confirm a DirectLink before I take
> it. (Students will be re-doing an assignment, and I just want to make
> sure that they realize their old assignment will be deleted if they
> continue.)
> 
> Is there anything that would help with this, or do I just have to dig
> into the JavaScript and do it myself? (Yes, it's sad, but I've done
> very little with JavaScript.)
> 
> Thanks for any pointers,
> Todd
> 
> ---------------------------------------------------------------------
> 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