Confirm mixin doesn't invoke link on 'OK'

88 views
Skip to first unread message

Robin Garner

unread,
Jul 28, 2014, 1:45:45 AM7/28/14
to tapestry...@googlegroups.com
Hi all,

I'm trying to get the 'jquery/Confirm' mixin to work, and for debugging purposes I've reproduced the issue in the Tapestry Quickstart application.

I've modified one of the the actionLinks on the index page to look like

    <t:actionlink t:id="start" t:mixins="jquery/Confirm">start guessing</t:actionlink>

When I click on the link the confirmation dialog pops up, but when you click 'OK', nothing happens.


Environment is:

- tapestry 5.3.7
- tapestry5-jquery 3.4.0

I've tried with JQuerySymbolConstants.SUPPRESS_PROTOTYPE both true and false, in production and development modes.  I've also tried the 3.4.1 snapshot.

There are no errors in the browser Javascript console.

Thanks in advance,
Robin

Emmanuel DEMEY

unread,
Jul 29, 2014, 2:43:57 PM7/29/14
to tapestry...@googlegroups.com
It seems that there is problem with the JavaScript side. It should work if the action link is associated to a zone. 

Can you create an issue on GIthub ? 

Thanks robin. 

Manu

Robin Garner

unread,
Jul 31, 2014, 12:00:28 AM7/31/14
to tapestry...@googlegroups.com
> It should work if the action link is associated to a zone. 

That's what was missing.  I guess I missed the part of the documentation that mentions zones.

Now it works like a charm.

cheers
Reply all
Reply to author
Forward
0 new messages