On 9/3/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
Backporting may be more than just a quick commit. I seem to remember the code for
printing the <table> element to be in the shared module. This means if you add
it to t:dataTable, it ends up in h:dataTable also. If h:dataTable is to remain
compliant with the JSF reference imlementation, something trickier would have to be
done.
Almost all of our t:dataTable code works this way as well.
Typically, configurable support is added to the shared code with the
default behavior being off.
Like
...
doTheTableCaptionThing();
...
protected void doTheTableCaptionThing() {}
as the default value
Or
protected boolean shouldDisplayTableCaption() { return false; }
Then the t:dataTable subclass provides a functional method that turns
on the table caption.
protected boolean shouldDisplayTableCaption() { return true; }
For 1.2, the default behavior woudl also be to return true.