[
https://issues.apache.org/jira/browse/DELTASPIKE-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerhard Petracek updated DELTASPIKE-650:
----------------------------------------
Attachment: DELTASPIKE-650.patch
first draft for a new approach.
however, we need to test different state-saving constellations.
> 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-650.patch, 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.
> Workaround: Provide a specialized implementation of JsfModuleConfig,
> overriding isContainerManagedConvertersEnabled as well as
> isContainerManagedValidatorsEnabled and return false.
--
This message was sent by Atlassian JIRA
(v6.2#6252)