hi juliano,

we haven't received the file.
-> please provide it via an external service or attach it to a jira-ticket.

regards,
gerhard



2014-06-27 15:23 GMT+02:00 Juliano Marques <[email protected]>:

> Hi,
>
> Sorry, I forgot about the demos before.
>
> 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.
>
>
> Thanks for the help.
>
>  Atenciosamente,
>
> Juliano Marques
> Desenvolvimento Imobiliário
> Criciúma - SC
> Fone: (48) 3461-1000
>
>
>
>
> De:        Gerhard Petracek <[email protected]>
> Para:        [email protected],
> Data:        26/06/2014 18:05
> Assunto:        Re: Custom JSF Converters and Validators Error
> ------------------------------
>
>
>
> short addition:
> you can use [1] as a starting point.
>
> regards,
> gerhard
>
> [1] https://github.com/os890/javaee_jsf_cdi_ejb_ds_project_template
>
>
>
> 2014-06-26 22:03 GMT+02:00 Gerhard Petracek <[email protected]>:
>
> > hi juliano,
> >
> > it would be great if you can provide a link to a demo which illustrates
> > the issue.
> >
> > for now you can deactivate that part of deltaspike (provide a specialized
> > implementation of JsfModuleConfig, override #
> > isContainerManagedConvertersEnabled as well as
> > #isContainerManagedValidatorsEnabled and return false).
> >
> > regards,
> > gerhard
> >
> > http://www.irian.at
> >
> > Your JSF/JavaEE powerhouse -
> > JavaEE Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
> >
> > 2014-06-26 21:44 GMT+02:00 Juliano Marques <
> [email protected]>
> > :
> >
> > Hi,
> >>
> >> I have the following errors:
> >>
> >> 16:25:43,745 SEVERE
> >> [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default
> >> task-10) /cadastro/imovel/processo/etapa/visualizar.xhtml @102,140
> >> trueLabel="#{i18n['situacao.ativo']}" Unhandled by MetaTagHandler for
> type
> >> org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> >> 16:25:43,745 SEVERE
> >> [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default
> >> task-10) /cadastro/imovel/processo/etapa/visualizar.xhtml @102,140
> >> falseLabel="#{i18n['situacao.inativo']}" Unhandled by MetaTagHandler for
> >> type org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> >> 16:25:43,751 SEVERE
> >> [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default
> >> task-10) /cadastro/imovel/processo/etapa/visualizar.xhtml @146,135
> >> trueLabel="#{i18n['boolean.true']}" Unhandled by MetaTagHandler for type
> >> org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> >> 16:25:43,752 SEVERE
> >> [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default
> >> task-10) /cadastro/imovel/processo/etapa/visualizar.xhtml @146,135
> >> falseLabel="#{i18n['boolean.false']}" Unhandled by MetaTagHandler for
> type
> >> org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> >> 16:25:43,753 SEVERE
> >> [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default
> >> task-10) /cadastro/imovel/processo/etapa/visualizar.xhtml @172,135
> >> trueLabel="#{i18n['boolean.true']}" Unhandled by MetaTagHandler for type
> >> org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> >> 16:25:43,753 SEVERE
> >> [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default
> >> task-10) /cadastro/imovel/processo/etapa/visualizar.xhtml @172,135
> >> falseLabel="#{i18n['boolean.false']}" Unhandled by MetaTagHandler for
> type
> >> org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> >>
> >> and:
> >>
> >> 16:36:19,115 SEVERE
> >> [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default
> >> task-5) /cadastro/imovel/processo/etapa/include/formulario.xhtml
> @118,125
> >> list="#{imovelProcessoEtapaController.listEtapasAnteriores}" Unhandled
> by
> >> MetaTagHandler for type
> >> org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> >> 16:36:19,117 SEVERE
> >> [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default
> >> task-5) /cadastro/imovel/processo/etapa/include/formulario.xhtml
> @185,118
> >> list="#{imovelProcessoEtapaController.listUsuariosEmail}" Unhandled by
> >> MetaTagHandler for type
> >> org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> >> 16:36:19,119 SEVERE
> >> [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default
> >> task-5) /cadastro/imovel/processo/etapa/include/formulario.xhtml
> @242,123
> >> list="#{imovelProcessoEtapaController.listUsuariosAlerta}" Unhandled by
> >> MetaTagHandler for type
> >> org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> >> 16:36:19,121 SEVERE
> >> [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default
> >> task-5) /cadastro/imovel/processo/etapa/include/formulario.xhtml
> @294,124
> >> list="#{imovelProcessoEtapaController.listGruposPermissao}" Unhandled by
> >> MetaTagHandler for type
> >> org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> >> 16:36:19,121 SEVERE
> >> [javax.enterprise.resource.webcontainer.jsf.facelets.tag.meta] (default
> >> task-5) /cadastro/imovel/processo/etapa/include/formulario.xhtml
> @320,126
> >> list="#{imovelProcessoEtapaController.listUsuariosPermissao}" Unhandled
> by
> >> MetaTagHandler for type
> >> org.apache.deltaspike.jsf.impl.injection.ConverterWrapper
> >>
> >> In second case, I get a NullPointerException when I try to save the
> >> record in database.
> >>
> >> These errors occur when I navigate to a page with a custom JSF validator
> >> / converter.
> >> These validators/converters are located in a jar (facelet-taglib),
> >> declared as dependency in my webapp project.
> >> The webapp project has Apache Deltaspike Core and JSF module as
> >> dependencies, but does not use it (yet).
> >>
> >> More details:
> >> Application Server: Wildfly 8.0
> >> Deltaspike version: 1.0  Atenciosamente,
> >>
> >> Juliano Marques
> >> Desenvolvimento Imobiliário
> >> Criciúma - SC
> >> Fone: (48) 3461-1000
> >>
> >
> >
>
>

Reply via email to