I need to create the custom component as SelectOneRadio, but it should not has wrapper <table>
But, <ul>, <li>
for example. How I can specify the type of wrapper, ul, table or something else, when creating JSF custom components?
Asked
Active
Viewed 368 times
0

Evgeny Mironenko
- 389
- 3
- 5
- 26
1 Answers
1
There seems to be a conceptual misunderstanding. There's no such thing as "wrapper" in this context. HTML is just generated by the Renderer
associated with the UIComponent
. If you'd like to change the generated HTML representation, just supply your own custom Renderer
.
That said, it's advisable to learn JSF by a decent book so that you get the basic concepts properly right from the beginning on. Creating custom components is already covered in such a book.
See also:
-
I meant wrapper as not java or JSF definition. But thank you for advice, I feel the realy knowledge gap. As always great answer, @BalusC, thank you :) – Evgeny Mironenko Aug 18 '14 at 08:04