<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Adding Javascript confirm dialog to AjaxButton</title>
	<atom:link href="http://www.mysticcoders.com/blog/adding-javascript-confirm-dialog-to-ajaxbutton/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysticcoders.com/blog/adding-javascript-confirm-dialog-to-ajaxbutton/</link>
	<description>to our success!</description>
	<lastBuildDate>Mon, 30 Jan 2012 18:29:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Steve</title>
		<link>http://www.mysticcoders.com/blog/adding-javascript-confirm-dialog-to-ajaxbutton/comment-page-1/#comment-3456</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 06 Nov 2010 19:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://wicketbyexample.com/?p=3#comment-3456</guid>
		<description>Thanks for the help. Alternatively, you could do the following:

        _form.add(new AjaxButton(&quot;refund-button&quot;, _form) {
            @Override
            protected String getOnClickScript() {
                return &quot;if (!confirm(&#039;&quot;+getString(&quot;refund.confirmation&quot;, null)+&quot;&#039;)) return false;&quot;;
            }
            ...</description>
		<content:encoded><![CDATA[<p>Thanks for the help. Alternatively, you could do the following:</p>
<p>        _form.add(new AjaxButton(&#8220;refund-button&#8221;, _form) {<br />
            @Override<br />
            protected String getOnClickScript() {<br />
                return &#8220;if (!confirm(&#8216;&#8221;+getString(&#8220;refund.confirmation&#8221;, null)+&#8221;&#8216;)) return false;&#8221;;<br />
            }<br />
            &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Onglets Dynamiques : Etape 7 &#8211; Corrections &#124; NooCodeCommit</title>
		<link>http://www.mysticcoders.com/blog/adding-javascript-confirm-dialog-to-ajaxbutton/comment-page-1/#comment-3455</link>
		<dc:creator>Onglets Dynamiques : Etape 7 &#8211; Corrections &#124; NooCodeCommit</dc:creator>
		<pubDate>Mon, 27 Jul 2009 07:58:22 +0000</pubDate>
		<guid isPermaLink="false">http://wicketbyexample.com/?p=3#comment-3455</guid>
		<description>[...] En effet, dans cette étape j&#8217;ai opté pour créer ma propre classe OngletAjaxLink pour avoir la main sur la déclaration de l&#8217;évennement onclick. C&#8217;était avant que je découvre l&#8217;article Adding Javascript confirm dialog to AjaxButton. [...]</description>
		<content:encoded><![CDATA[<p>[...] En effet, dans cette étape j&#8217;ai opté pour créer ma propre classe OngletAjaxLink pour avoir la main sur la déclaration de l&#8217;évennement onclick. C&#8217;était avant que je découvre l&#8217;article Adding Javascript confirm dialog to AjaxButton. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

