Tim Holloway wrote:I don't know about PrimeFaces, but the basic JSF h:inputText tag cannot accept an EL expression for the id= attribute, only a String constant.
Tim Holloway wrote:
Dennis Deems wrote:This is something we would do in our application with colspan. Is that an outmoded approach?
Outmoded? I don't know. But JSF doesn't do colspan. Never has. Some JSF extension tag libraries have colspan options, but the core JSF does not.
Tim Holloway wrote:You can tidy up the layout some by using embedded panelGrids instead of panelGroup. Especially if you define columnClasses to control cell widths and thus keep things better aligned.
Tim Holloway wrote:Backing beans can contain converters, but that is just an additional aspect of the Backing Bean.
Documentation is unclear, but I'm pretty sure that when a Backing Bean implements Converter, it's intended to make the backing bean as a whole self-converting. In other words, if BeanX implements Converter, I don't expect the conversion methods to be receiving/emitting anything that isn't a BeanX.
Tim Holloway wrote:Converters aren't ManagedBeans. You should be annotating them as @FacesConverter objects.
I should mention also that Converters must be stateless and thread-safe.
Vladimir Mokrozub wrote:You could try PrimeFaces datatable with expandable rows:
http://www.primefaces.org/showcase/ui/datatableExpandableRows.jsf