You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bruno Marti (JIRA)" <de...@myfaces.apache.org> on 2006/11/24 16:28:02 UTC
[jira] Created: (TOMAHAWK-803) SelectOneLanguage validator never
called
SelectOneLanguage validator never called
----------------------------------------
Key: TOMAHAWK-803
URL: http://issues.apache.org/jira/browse/TOMAHAWK-803
Project: MyFaces Tomahawk
Issue Type: Bug
Components: SelectOneCountry
Affects Versions: 1.1.5-SNAPSHOT
Environment: Myfaces-Jar's are 1.1.5-snapshot of 2006-20-11:
myfaces-impl, myfaces-api, tomahawk, tomahawk-sandbox
Reporter: Bruno Marti
t:selectOneLanguage never calls the custom validator #{myBean.validateField}, which is defined on attribute validator=
sample:
<t:selectOneLanguage id="customerLanguage"
emptySelection="my empty message"
required="true|false"
validator="#{myBean.validateField}"
value="#{myBean.language}"
/>
on the other side, the validator of an inputText field works fine:
<t:inputTextid="customername"
required="true|false"
validator="#{myBean.validateField}"
value="#{myBean.name}"
/>
Problem was previousely reported under MYFACES-491
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-803) SelectOneLanguage validator never
called
Posted by "Cagatay Civici (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-803?page=comments#action_12452500 ]
Cagatay Civici commented on TOMAHAWK-803:
-----------------------------------------
Yes, calling parent's validation first will solve the issue.
> SelectOneLanguage validator never called
> ----------------------------------------
>
> Key: TOMAHAWK-803
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-803
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: SelectOneCountry
> Affects Versions: 1.1.5-SNAPSHOT
> Environment: Myfaces-Jar's are 1.1.5-snapshot of 2006-20-11:
> myfaces-impl, myfaces-api, tomahawk, tomahawk-sandbox
> Reporter: Bruno Marti
> Assigned To: Cagatay Civici
>
> t:selectOneLanguage never calls the custom validator #{myBean.validateField}, which is defined on attribute validator=
> sample:
> <t:selectOneLanguage id="customerLanguage"
> emptySelection="my empty message"
> required="true|false"
> validator="#{myBean.validateField}"
> value="#{myBean.language}"
> />
> on the other side, the validator of an inputText field works fine:
> <t:inputTextid="customername"
> required="true|false"
> validator="#{myBean.validateField}"
> value="#{myBean.name}"
> />
> Problem was previousely reported under MYFACES-491
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-803) SelectOneLanguage validator never
called
Posted by "Bruno Marti (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-803?page=comments#action_12453804 ]
Bruno Marti commented on TOMAHAWK-803:
--------------------------------------
Issue/Correction has been tested on nightly build of 28-Nov-2006.
Works fine.
Thanks for quick fixing.
> SelectOneLanguage validator never called
> ----------------------------------------
>
> Key: TOMAHAWK-803
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-803
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: SelectOneCountry
> Affects Versions: 1.1.5-SNAPSHOT, 1.1.4-SNAPSHOT
> Environment: Myfaces-Jar's are 1.1.5-snapshot of 2006-20-11:
> myfaces-impl, myfaces-api, tomahawk, tomahawk-sandbox
> Reporter: Bruno Marti
> Assigned To: Cagatay Civici
> Fix For: 1.1.4-SNAPSHOT, 1.1.5-SNAPSHOT
>
>
> t:selectOneLanguage never calls the custom validator #{myBean.validateField}, which is defined on attribute validator=
> sample:
> <t:selectOneLanguage id="customerLanguage"
> emptySelection="my empty message"
> required="true|false"
> validator="#{myBean.validateField}"
> value="#{myBean.language}"
> />
> on the other side, the validator of an inputText field works fine:
> <t:inputTextid="customername"
> required="true|false"
> validator="#{myBean.validateField}"
> value="#{myBean.name}"
> />
> Problem was previousely reported under MYFACES-491
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (TOMAHAWK-803) SelectOneLanguage validator never
called
Posted by "Cagatay Civici (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-803?page=all ]
Cagatay Civici resolved TOMAHAWK-803.
-------------------------------------
Fix Version/s: 1.1.4-SNAPSHOT
1.1.5-SNAPSHOT
Resolution: Fixed
Fixed both in trunk and 1.1.4 branch.
> SelectOneLanguage validator never called
> ----------------------------------------
>
> Key: TOMAHAWK-803
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-803
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: SelectOneCountry
> Affects Versions: 1.1.5-SNAPSHOT, 1.1.4-SNAPSHOT
> Environment: Myfaces-Jar's are 1.1.5-snapshot of 2006-20-11:
> myfaces-impl, myfaces-api, tomahawk, tomahawk-sandbox
> Reporter: Bruno Marti
> Assigned To: Cagatay Civici
> Fix For: 1.1.4-SNAPSHOT, 1.1.5-SNAPSHOT
>
>
> t:selectOneLanguage never calls the custom validator #{myBean.validateField}, which is defined on attribute validator=
> sample:
> <t:selectOneLanguage id="customerLanguage"
> emptySelection="my empty message"
> required="true|false"
> validator="#{myBean.validateField}"
> value="#{myBean.language}"
> />
> on the other side, the validator of an inputText field works fine:
> <t:inputTextid="customername"
> required="true|false"
> validator="#{myBean.validateField}"
> value="#{myBean.name}"
> />
> Problem was previousely reported under MYFACES-491
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-803) SelectOneLanguage validator never
called
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-803?page=comments#action_12452496 ]
Matthias Weßendorf commented on TOMAHAWK-803:
---------------------------------------------
looks like nested validators are also ignored
see: SelectOneLanguage.validateValue(...)
> SelectOneLanguage validator never called
> ----------------------------------------
>
> Key: TOMAHAWK-803
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-803
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: SelectOneCountry
> Affects Versions: 1.1.5-SNAPSHOT
> Environment: Myfaces-Jar's are 1.1.5-snapshot of 2006-20-11:
> myfaces-impl, myfaces-api, tomahawk, tomahawk-sandbox
> Reporter: Bruno Marti
> Assigned To: Cagatay Civici
>
> t:selectOneLanguage never calls the custom validator #{myBean.validateField}, which is defined on attribute validator=
> sample:
> <t:selectOneLanguage id="customerLanguage"
> emptySelection="my empty message"
> required="true|false"
> validator="#{myBean.validateField}"
> value="#{myBean.language}"
> />
> on the other side, the validator of an inputText field works fine:
> <t:inputTextid="customername"
> required="true|false"
> validator="#{myBean.validateField}"
> value="#{myBean.name}"
> />
> Problem was previousely reported under MYFACES-491
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira