You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dennis Hauser (JIRA)" <de...@myfaces.apache.org> on 2007/04/26 12:52:15 UTC

[jira] Created: (TOBAGO-368) tx:in validator attribute is not working

tx:in validator attribute is not working
----------------------------------------

                 Key: TOBAGO-368
                 URL: https://issues.apache.org/jira/browse/TOBAGO-368
             Project: MyFaces Tobago
          Issue Type: Improvement
    Affects Versions: 1.0.10
            Reporter: Dennis Hauser


<tx:in id="eic" 	value="Test"	label="Label"    validator="CustomValidator"/>
does not work (CustomValidator.validate is not called on submit)


<tx:in id="eic" 	value="Test"	label="Label">
	<f:validator validatorId="CustomValidator" />
</tx:in>
works fine!


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOBAGO-368) tx:in validator attribute is not working

Posted by "Dennis Hauser (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491966 ] 

Dennis Hauser commented on TOBAGO-368:
--------------------------------------

My example was more complex than described above, the tx:in although contained native faces validators:

<tx:in id="eic" value="Test" label="Label" validator="CustomValidator"> 
  <f:validateLength maximum="16"/>
  <f:validator validatorId="LengthValidator" />
  <f:attribute name="requiredLength" value="16" />
</tx:in> 

Maybe this validator-combination causes the problem




> tx:in validator attribute is not working
> ----------------------------------------
>
>                 Key: TOBAGO-368
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-368
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>    Affects Versions: 1.0.10
>            Reporter: Dennis Hauser
>
> <tx:in id="eic" 	value="Test"	label="Label"    validator="CustomValidator"/>
> does not work (CustomValidator.validate is not called on submit)
> <tx:in id="eic" 	value="Test"	label="Label">
> 	<f:validator validatorId="CustomValidator" />
> </tx:in>
> works fine!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.