I'd like to ask you which is the right way to create a new JSF component that supports children.
I mean like the "dataTable" component where you can insert for example the "column" component/tag.
I created a new Table component that is extending UIData, it derives from an a JSP component. It is simple for me to extend capabilities of this table by adding attributes to the tag. But my new problem is how to support nested tag inside my component tag.
Do you know how to do?
Is there any example in the net? I can't find it
Do I have to write/add specific code for every nested tag i want to support, or is there an automatic way to support nested tags?
The problem could be solved if i extend dataTable, but there was a lot of rendering code written before and this code couldn't be lost.
Thanks in advance, sorry for my English
I mean like the "dataTable" component where you can insert for example the "column" component/tag.
I created a new Table component that is extending UIData, it derives from an a JSP component. It is simple for me to extend capabilities of this table by adding attributes to the tag. But my new problem is how to support nested tag inside my component tag.
Do you know how to do?
Is there any example in the net? I can't find it
Do I have to write/add specific code for every nested tag i want to support, or is there an automatic way to support nested tags?
The problem could be solved if i extend dataTable, but there was a lot of rendering code written before and this code couldn't be lost.
Thanks in advance, sorry for my English