<?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: User friendly form validation with Wicket</title>
	<atom:link href="http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket/feed" rel="self" type="application/rss+xml" />
	<link>http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket</link>
	<description></description>
	<lastBuildDate>Fri, 05 Mar 2010 10:28:46 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mark</title>
		<link>http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket/comment-page-1#comment-18658</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 05 Mar 2010 10:28:46 +0000</pubDate>
		<guid isPermaLink="false">#comment-18658</guid>
		<description>Sry for my last post - i just red the other comments and this solution works! Thanks!</description>
		<content:encoded><![CDATA[<p>Sry for my last post &#8211; i just red the other comments and this solution works! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket/comment-page-1#comment-18624</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 04 Mar 2010 09:06:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-18624</guid>
		<description>Nice article!!
I have one question regarding validation with models which are direclty bound to hibernate entities. The problem i have if i use your component that wicket looks for getter/setter of the feedbacklabel which of course doesnt exists. Is there a elegant way to say wicket dont use the feedbacklabel for the model bound to the form? I am new to wicket so my question could be stupid :-).
Thanks for your help!</description>
		<content:encoded><![CDATA[<p>Nice article!!<br />
I have one question regarding validation with models which are direclty bound to hibernate entities. The problem i have if i use your component that wicket looks for getter/setter of the feedbacklabel which of course doesnt exists. Is there a elegant way to say wicket dont use the feedbacklabel for the model bound to the form? I am new to wicket so my question could be stupid <img src='http://stuq.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .<br />
Thanks for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Björn</title>
		<link>http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket/comment-page-1#comment-18096</link>
		<dc:creator>Björn</dc:creator>
		<pubDate>Tue, 16 Feb 2010 13:24:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-18096</guid>
		<description>Hi there,
i tried using this FeedbackLabel with the ComponentVisualErrorBehavior.
But there is one thing I don&#039;t understand:
while the field is invalid it shows me the correct Errormessage, but when I go back and correct the input to be valid, the error message doesn&#039;t disappear. How do I make it delete it again? Since the onError(..) method is still called not even the style-class is set to &quot;valid&quot; Why could that be?
I&#039;d appreciate some help, thanx in advance
Cheers Björn</description>
		<content:encoded><![CDATA[<p>Hi there,<br />
i tried using this FeedbackLabel with the ComponentVisualErrorBehavior.<br />
But there is one thing I don&#8217;t understand:<br />
while the field is invalid it shows me the correct Errormessage, but when I go back and correct the input to be valid, the error message doesn&#8217;t disappear. How do I make it delete it again? Since the onError(..) method is still called not even the style-class is set to &#8220;valid&#8221; Why could that be?<br />
I&#8217;d appreciate some help, thanx in advance<br />
Cheers Björn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antoine</title>
		<link>http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket/comment-page-1#comment-17724</link>
		<dc:creator>Antoine</dc:creator>
		<pubDate>Mon, 08 Feb 2010 15:56:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-17724</guid>
		<description>Maybe I missed something - but why go to the trouble of creating a new component instead of using a feedback filter which is readily available in the Wicket framework?

Example:
FormComponent nameField = new RequiredTextField(&quot;name&quot;);
add(new FeedbackPanel(&quot;nameFieldFeedback&quot;, new ComponentFeedbackMessageFilter(nameField)));

That feedback panel will only show messages relevant to the nameField component, exactly what your FeedbackLabel component is doing.</description>
		<content:encoded><![CDATA[<p>Maybe I missed something &#8211; but why go to the trouble of creating a new component instead of using a feedback filter which is readily available in the Wicket framework?</p>
<p>Example:<br />
FormComponent nameField = new RequiredTextField(&#8221;name&#8221;);<br />
add(new FeedbackPanel(&#8221;nameFieldFeedback&#8221;, new ComponentFeedbackMessageFilter(nameField)));</p>
<p>That feedback panel will only show messages relevant to the nameField component, exactly what your FeedbackLabel component is doing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timo</title>
		<link>http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket/comment-page-1#comment-15573</link>
		<dc:creator>Timo</dc:creator>
		<pubDate>Fri, 11 Dec 2009 07:43:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-15573</guid>
		<description>Aargh... This kind of workarounds/extensions/whatever of frameworks just make me more unsure if Java is not a right tool create web applications. IMHO, things like these should be easily available in the framework itself...</description>
		<content:encoded><![CDATA[<p>Aargh&#8230; This kind of workarounds/extensions/whatever of frameworks just make me more unsure if Java is not a right tool create web applications. IMHO, things like these should be easily available in the framework itself&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elad</title>
		<link>http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket/comment-page-1#comment-14781</link>
		<dc:creator>Elad</dc:creator>
		<pubDate>Thu, 12 Nov 2009 18:52:03 +0000</pubDate>
		<guid isPermaLink="false">#comment-14781</guid>
		<description>If you want to use this in 1.4 you will need to change the setModel method to setDefaultModelObject as stated in the migration guide to 1.4</description>
		<content:encoded><![CDATA[<p>If you want to use this in 1.4 you will need to change the setModel method to setDefaultModelObject as stated in the migration guide to 1.4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Track your running miles using Apache Wicket, GlassFish, NetBeans, MySQL, and YUI Charts &#171; Miles to go &#8230;</title>
		<link>http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket/comment-page-1#comment-13877</link>
		<dc:creator>Track your running miles using Apache Wicket, GlassFish, NetBeans, MySQL, and YUI Charts &#171; Miles to go &#8230;</dc:creator>
		<pubDate>Wed, 21 Oct 2009 15:52:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-13877</guid>
		<description>[...] Form Validation &amp; Default Error Handling: There are validators available to enable basic checking like required, number / pattern / range / date validator. Anything above that needs to be custom built and adds to the verbose nature of the framework. For example a &quot;FormValidator&quot; was built to support the validation for each elements of the form. Custom messages for each validation message can be displayed as explained here. More user-friendly messages can be displayed as explained here. [...]</description>
		<content:encoded><![CDATA[<p>[...] Form Validation &amp; Default Error Handling: There are validators available to enable basic checking like required, number / pattern / range / date validator. Anything above that needs to be custom built and adds to the verbose nature of the framework. For example a &quot;FormValidator&quot; was built to support the validation for each elements of the form. Custom messages for each validation message can be displayed as explained here. More user-friendly messages can be displayed as explained here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ala</title>
		<link>http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket/comment-page-1#comment-13329</link>
		<dc:creator>Ala</dc:creator>
		<pubDate>Fri, 11 Sep 2009 13:40:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-13329</guid>
		<description>We are doing something similar, but instead of having extra code (panels to show the error) for each field we just have a visitor that goes through the form and then adds a border/changes style class etc. to every component that failed validation. We also have a variant that dynamicly inserts the &quot;feedback label&quot; using dom manipulation and ajax, e.g. adding new component markup and the component dynamicly.</description>
		<content:encoded><![CDATA[<p>We are doing something similar, but instead of having extra code (panels to show the error) for each field we just have a visitor that goes through the form and then adds a border/changes style class etc. to every component that failed validation. We also have a variant that dynamicly inserts the &#8220;feedback label&#8221; using dom manipulation and ajax, e.g. adding new component markup and the component dynamicly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim</title>
		<link>http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket/comment-page-1#comment-10071</link>
		<dc:creator>jim</dc:creator>
		<pubDate>Sat, 16 May 2009 16:57:09 +0000</pubDate>
		<guid isPermaLink="false">#comment-10071</guid>
		<description>Can anyone think of a way to use taborder instead of onBlur?  onBlur does not work for radiobuttons etc.  Or maybe a way to add a wicket behavior to focus on the next element when the previous element is validated?</description>
		<content:encoded><![CDATA[<p>Can anyone think of a way to use taborder instead of onBlur?  onBlur does not work for radiobuttons etc.  Or maybe a way to add a wicket behavior to focus on the next element when the previous element is validated?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daan</title>
		<link>http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket/comment-page-1#comment-9307</link>
		<dc:creator>Daan</dc:creator>
		<pubDate>Thu, 23 Apr 2009 06:09:32 +0000</pubDate>
		<guid isPermaLink="false">#comment-9307</guid>
		<description>Hi Maarten,

These look indeed quite similar :-)
Thanks for the link!

- Daan</description>
		<content:encoded><![CDATA[<p>Hi Maarten,</p>
<p>These look indeed quite similar <img src='http://stuq.nl/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
Thanks for the link!</p>
<p>- Daan</p>
]]></content:encoded>
	</item>
</channel>
</rss>
