Does it have @FacesConverter(managed=true)? Otherwise it wont work

Thomas Frühbeck <t.fruehb...@gmail.com> schrieb am Sa., 24. Feb. 2024,
19:49:

> Hi,
> I have verified, that all JSF Drone tests currently fail on vanilla
> Wildfly-31 due to Mojarra Bug #5383
> <https://github.com/eclipse-ee4j/mojarra/issues/5383>
>      (initial redirect on DS windowId)
>
> For Drone tests jsf/impl/injection on Wildfly-31/Mojarra:
> on HotFixed Wildfly-31 Mojarra seems not to inject @FacesConverter
> and @FacesValidator objects
>
> Does this happen on TomEE/MyFaces?
>
> If so, what is to be done for Wildfly?
>
> A possible solution would be to move to "validator" / "converter"
> attributes like:
>   <h:inputText id="convertedValue" value="#{myBean.convertedValue}"
> converter="#{myValueConverter.getAsObject}">
> <!--f:converter converterId="myValueConverter" /--><!-- @FacesConverter not
> CDI enabled -->
> </h:inputText>
>
> <h:inputText id="stringValue" value="#{myBean.stringValue}"
> validator="#{myBeanValidator.validate}">
> <!--f:validator validatorId="myBeanValidator" /--><!-- @FacesValidator not
> CDI enabled -->
> </h:inputText>
>

Reply via email to