<?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: How to create a custom JSF Validator &#8211; The Greater Than Validator to enforce one component&#039;s value being larger than some other&#039;s</title>
	<atom:link href="http://technology.amis.nl/2006/12/28/how-to-create-a-custom-jsf-validator-the-greater-than-validator-to-enforce-one-components-value-being-larger-than-some-others/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2006/12/28/how-to-create-a-custom-jsf-validator-the-greater-than-validator-to-enforce-one-components-value-being-larger-than-some-others/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-create-a-custom-jsf-validator-the-greater-than-validator-to-enforce-one-components-value-being-larger-than-some-others</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Jeff Luo</title>
		<link>http://technology.amis.nl/2006/12/28/how-to-create-a-custom-jsf-validator-the-greater-than-validator-to-enforce-one-components-value-being-larger-than-some-others/#comment-4202</link>
		<dc:creator>Jeff Luo</dc:creator>
		<pubDate>Tue, 30 Jan 2007 20:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1456#comment-4202</guid>
		<description><![CDATA[The validator needs to implement StateHolder. See javax.faces.validator.DoubleRangeValidator for implementation details.]]></description>
		<content:encoded><![CDATA[<p>The validator needs to implement StateHolder. See javax.faces.validator.DoubleRangeValidator for implementation details.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://technology.amis.nl/2006/12/28/how-to-create-a-custom-jsf-validator-the-greater-than-validator-to-enforce-one-components-value-being-larger-than-some-others/#comment-4201</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Mon, 22 Jan 2007 12:49:06 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1456#comment-4201</guid>
		<description><![CDATA[Hi Lucas,
Thanks for the reply and i had checked the application for the items u have specified ,din&#039;t find any thing missing out there by me
In GreaterThanValidatorTag which extends ValidatorTag
public void setGreaterThanId(String greaterThanId) {
        this.greaterThanId = greaterThanId;
    }

    public String getGreaterThanId() {
        return greaterThanId;
    }
    public void release() {
        greaterThanId = null;
    }
for setting greaterThanId

In MyTag.tld

    Validator - Enforce that Component&#039;s value is GreaterThan other Component&#039;s Value
    greaterThan
    greaterThan
    view.frameworkExt.jsf.tags.GreaterThanValidatorTag

      greaterThanId

    empty
     Brief snippet showing how to use this tag.


and in Jsf Jsp page only





where form is provided with id &quot;form1&quot;

please comment any thing need to be configured more to use this Custom Validations effectively]]></description>
		<content:encoded><![CDATA[<p>Hi Lucas,<br />
Thanks for the reply and i had checked the application for the items u have specified ,din&#8217;t find any thing missing out there by me<br />
In GreaterThanValidatorTag which extends ValidatorTag<br />
public void setGreaterThanId(String greaterThanId) {<br />
        this.greaterThanId = greaterThanId;<br />
    }</p>
<p>    public String getGreaterThanId() {<br />
        return greaterThanId;<br />
    }<br />
    public void release() {<br />
        greaterThanId = null;<br />
    }<br />
for setting greaterThanId</p>
<p>In MyTag.tld</p>
<p>    Validator &#8211; Enforce that Component&#8217;s value is GreaterThan other Component&#8217;s Value<br />
    greaterThan<br />
    greaterThan<br />
    view.frameworkExt.jsf.tags.GreaterThanValidatorTag</p>
<p>      greaterThanId</p>
<p>    empty<br />
     Brief snippet showing how to use this tag.</p>
<p>and in Jsf Jsp page only</p>
<p>where form is provided with id &#8220;form1&#8243;</p>
<p>please comment any thing need to be configured more to use this Custom Validations effectively</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas Jellema</title>
		<link>http://technology.amis.nl/2006/12/28/how-to-create-a-custom-jsf-validator-the-greater-than-validator-to-enforce-one-components-value-being-larger-than-some-others/#comment-4200</link>
		<dc:creator>Lucas Jellema</dc:creator>
		<pubDate>Sat, 13 Jan 2007 10:39:15 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1456#comment-4200</guid>
		<description><![CDATA[Hi Ravi,

My first hunch would be that in the GreaterThanValidatorTag class you have not implemented the setter method in the correct way. However, perhaps even more likely is that you have not defined the attribute greaterThanId to the Tag Library Description.

Did you specify the value of the greaterThanId correctly in the JSP JSF page? You are not by any chance using the validator in a table component ?

Lucas]]></description>
		<content:encoded><![CDATA[<p>Hi Ravi,</p>
<p>My first hunch would be that in the GreaterThanValidatorTag class you have not implemented the setter method in the correct way. However, perhaps even more likely is that you have not defined the attribute greaterThanId to the Tag Library Description.</p>
<p>Did you specify the value of the greaterThanId correctly in the JSP JSF page? You are not by any chance using the validator in a table component ?</p>
<p>Lucas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://technology.amis.nl/2006/12/28/how-to-create-a-custom-jsf-validator-the-greater-than-validator-to-enforce-one-components-value-being-larger-than-some-others/#comment-4199</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Fri, 12 Jan 2007 12:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1456#comment-4199</guid>
		<description><![CDATA[I had incorparated this Validation in my application , but only Client side validation is working fine and if correct(valid) values are provided then it is Throwing Null pointer Exception at the line jsf.validator.GreaterThanValidator.validate(GreaterThanValidator.java:25) ie at
 UIComponent greaterThanComponent =
            uiComponent.findComponent(greaterThanId);

on debuging the code i found that &quot;greaterThanId&quot; is passed as null in the GreaterThanValidator class Object
need to know any mistake done by me as i tested the sample application too which is working fine

any help please


thanks  in advance.
Ravi]]></description>
		<content:encoded><![CDATA[<p>I had incorparated this Validation in my application , but only Client side validation is working fine and if correct(valid) values are provided then it is Throwing Null pointer Exception at the line jsf.validator.GreaterThanValidator.validate(GreaterThanValidator.java:25) ie at<br />
 UIComponent greaterThanComponent =<br />
            uiComponent.findComponent(greaterThanId);</p>
<p>on debuging the code i found that &#8220;greaterThanId&#8221; is passed as null in the GreaterThanValidator class Object<br />
need to know any mistake done by me as i tested the sample application too which is working fine</p>
<p>any help please</p>
<p>thanks  in advance.<br />
Ravi</p>
]]></content:encoded>
	</item>
</channel>
</rss>
