You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Juliano Marques (JIRA)" <ji...@apache.org> on 2014/06/27 18:48:25 UTC

[jira] [Commented] (DELTASPIKE-650) Custom JSF Converters/Validators error

    [ https://issues.apache.org/jira/browse/DELTASPIKE-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046132#comment-14046132 ] 

Juliano Marques commented on DELTASPIKE-650:
--------------------------------------------

There are two projects in the deltaspike-converter-validator.7z: 
- deltaspike-converter-validator - maven jar project with a custom converter and validator. 
- deltaspike-converter-validator-test - maven JSF project that uses Apache Deltaspike and the custom converter and validator. 

Uncomment Apache Deltaspike dependencies in deltaspike-converter-validator-test. 
Maven install both projects, and deploy the deltaspike-converter-validator-test to a Wildfly 8.0 server. 
Click the links in index page, and see the server log. 

In converter page, the values will not be converted. 
In validator page, when the form is submitted, it will raise a NullPointerException.

> Custom JSF Converters/Validators error
> --------------------------------------
>
>                 Key: DELTASPIKE-650
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-650
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: JSF-Module
>    Affects Versions: 1.0.0
>         Environment: Java EE 7 Full Profile, WIldfly 8.0, PrimeFaces 4.0, OmniFaces 1.7
>            Reporter: Juliano Marques
>            Priority: Minor
>         Attachments: deltaspike-converter-validator.7z
>
>
> In a web project with Apache DeltaSpike with JSF module, acessing a JSF page with a custom converter/validator encapsuled as a tag, cause the following errors:
> Converter:
> 13:35:23,767 SEVERE [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default task-6) /converter-test.xhtml @21,67 trueLabel="Yes" Unhandled by MetaTagHandler for type org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> 13:35:23,767 SEVERE [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default task-6) /converter-test.xhtml @21,67 falseLabel="No" Unhandled by MetaTagHandler for type org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> 13:35:23,768 SEVERE [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default task-6) /converter-test.xhtml @26,67 trueLabel="Yes" Unhandled by MetaTagHandler for type org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> 13:35:23,768 SEVERE [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default task-6) /converter-test.xhtml @26,67 falseLabel="No" Unhandled by MetaTagHandler for type org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> Validator:
> 13:35:42,483 SEVERE [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default task-7) /validator-test.xhtml @24,93 when="#{validatorBean.validateValue}" Unhandled by MetaTagHandler for type org.apache.deltaspike.jsf.impl.injection.ValidatorWrapper
> The converter do not convert, and submitting the form with a custom validator raises a NullPointerException.



--
This message was sent by Atlassian JIRA
(v6.2#6252)