atom feed7 messages in org.codehaus.chenillekit.userRe: [chenillekit-user] Javascript con...
FromSent OnAttachments
Kalle KorhonenDec 4, 2009 2:07 pm 
Sven HomburgDec 4, 2009 3:15 pm 
Kalle KorhonenDec 4, 2009 3:25 pm 
Massimo LusettiDec 5, 2009 5:15 am 
Kalle KorhonenDec 5, 2009 12:20 pm 
Massimo LusettiDec 7, 2009 12:34 am 
Kalle KorhonenDec 7, 2009 11:41 am 
Subject:Re: [chenillekit-user] Javascript confirm for ck.button?
From:Kalle Korhonen (kall@gmail.com)
Date:Dec 5, 2009 12:20:55 pm
List:org.codehaus.chenillekit.user

While Sven is still recovering from his hangover (as I am from mine :) I'll provide some answers. (On a sidenote this really would take much less time if I didn't insist on trying to find the "right" solution to any given problem every time). There was a very informative thread on Tapestry users list on the same topic (http://markmail.org/message/3bietj36wvz6h3dz, where Chris Lewis is pondering a way to implement a confirm mixin). Based on that and browsing ck.button source, I'd say the most proper solution is not to use ck.button in a case like this, but a plain html button with onclick confirm and wrap it in action/event link. Of course, Chenillekit could re-implement the ck.button to render the same but not so convinced it'd be worth it.

Kalle

On Sat, Dec 5, 2009 at 5:16 AM, Massimo Lusetti <mlus@gmail.com> wrote:

On Sat, Dec 5, 2009 at 12:16 AM, Sven Homburg <homb@googlemail.com> wrote:

Kalle, good question but after the 5th drink tonight, i think you cant except a real helpful answer from me. please be patient ;-)

Well and you still here to answer question on user's list... well that's kind of a devotion ;)

How is your brain today Sven? :)