Re: Custom converter as tag with attributes?

2015-02-16 Thread Gerhard Petracek
hi karl, in deltaspike that should work since v1.1.0 once you add javassist. at least we have tests for it which pass... regards, gerhard http://www.irian.at Your JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces,

Re: Custom converter as tag with attributes?

2015-02-15 Thread Karl Kildén
This is a bug in the Deltaspike and the Myfaces way of making @Inject work for a Converter. The wrapper thingy breaks it. If I remove my injection points it works. I will create a sample and then issues for both projects Cheers On 13 February 2015 at 10:50, Karl Kildén karl.kil...@gmail.com

Custom converter as tag with attributes?

2015-02-13 Thread Karl Kildén
Hello, I want to create a converter and instead of having f:attributes (need many) I want to create my own tag. Using myfaces 2.2.x I did this: @FacesConverter(myconverter) public class MyConverter extends ConverterHandler implements Converter { public MyConverter(ConverterConfig config) {

Re: Custom converter as tag with attributes?

2015-02-13 Thread Karl Kildén
Seems like a bug that I need to implement TagHandler. If I omit it this is the exception I get: https://gist.github.com/anonymous/5b7204de5e9cc9f65c02 On 13 February 2015 at 10:50, Karl Kildén karl.kil...@gmail.com wrote: Hello, I want to create a converter and instead of having f:attributes