Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
El function to obtain converter #188
El-function to obtain a converter by its
I could use
I tried to pass a converter by its id to a composite component which is not working since its a
In the composite this converter is further passed as an attribute of
Make composite argument more generic
I just want to pass a converter that i retrieve by id to a composite component.
Alternatively i could pass the id and check in bean if the attribute is either a String or a Converter instance and create the converter there if necessary.
In my real use case i need the converter in the
Something like create a product and move to next page with the new id. The specific view-parameter
But necessary to create the correct redirect url.
I think defining the converter instance on a
I now decided to create the converter in bean code and pass it to composite using generic
In case the below method is usefull you can add it to omnifaces.