Re: DataTable - tfoot before tbody?

2008-09-04 Thread Lutz Müller
yeah, our html guy was telling me just yesterday to put tfoot before tbody. 
didnt believe him until i saw the spec.

On Sunday 31 August 2008 20:10:09 Jan Kriesten wrote:
 Hi Eyal,

  When I look at FireBug, I see that the tfoot section of the table is
  BEFORE the tbody.
  Has anyone encountered this?
  Do I do something wrong?

 this is intented and required by the HTML spec:

 http://www.w3.org/TR/html4/struct/tables.html#h-11.2.3

 Best regards, --- Jan.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



DataTable - tfoot before tbody?

2008-08-31 Thread egolan74

Hi,
I have a customized DataTable.
Here's what we have in the constructor:
super(id, columns, dataProvider, rowsPerPage);


add(HeaderContributor.forCss(/eurekify/style/EurekifyDataTable.css));
add(new AttributeAppender(class, true, new 
Model(eurekifyTable), 
));
addTopToolbar(newNavigationToolbar());
addTopToolbar(newHeadersToolbar(dataProvider));
addBottomToolbar(new NoRecordsToolbar(this));
addBottomToolbar(new EurekifyBottomTableToolbar(this, 
rowsPerPage,
modalWindows,
showSelectRecordsPerPage));
add(new AttributeAppender(class, true, new 
Model(emptyTable),  ) {
private static final long serialVersionUID = 1L;

@Override
public boolean isEnabled(Component component) {
return dataProvider.size() == 0;
}
});

More info:
newHeadersToolbar(...) returns AjaxFallbackHeadersToolbar (which is
HeadersToolbar)
newNavigationToolbar(...) returns StyledAjaxNavigationToolbar which inherits
from AjaxNavigationToolbar (which is NavigationToolbar).
EurekifyBottomTableToolbar inherits from AbstractToolbar.

When I look at FireBug, I see that the tfoot section of the table is BEFORE
the tbody.
Has anyone encountered this?
Do I do something wrong?


-
Eyal Golan
[EMAIL PROTECTED]

Visit:  http://jvdrums.sourceforge.net/ JVDrums 
LinkedIn:  http://www.linkedin.com/in/egolan74 LinkedIn 
-- 
View this message in context: 
http://www.nabble.com/DataTable---tfoot-before-tbody--tp19241603p19241603.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: DataTable - tfoot before tbody?

2008-08-31 Thread Ritesh Trivedi

This happened to me when my HTML markup containing the table was little off.
Make sure your HTML enclosing the table is proper XHTML and try it in IE or
FF 3 (multiple browsers) to catch the problem.


egolan74 wrote:
 
 Hi,
 I have a customized DataTable.
 Here's what we have in the constructor:
   super(id, columns, dataProvider, rowsPerPage);
 
   
 add(HeaderContributor.forCss(/eurekify/style/EurekifyDataTable.css));
   add(new AttributeAppender(class, true, new 
 Model(eurekifyTable), 
 ));
   addTopToolbar(newNavigationToolbar());
   addTopToolbar(newHeadersToolbar(dataProvider));
   addBottomToolbar(new NoRecordsToolbar(this));
   addBottomToolbar(new EurekifyBottomTableToolbar(this, 
 rowsPerPage,
 modalWindows,
   showSelectRecordsPerPage));
   add(new AttributeAppender(class, true, new 
 Model(emptyTable),  ) {
   private static final long serialVersionUID = 1L;
 
   @Override
   public boolean isEnabled(Component component) {
   return dataProvider.size() == 0;
   }
   });
 
 More info:
 newHeadersToolbar(...) returns AjaxFallbackHeadersToolbar (which is
 HeadersToolbar)
 newNavigationToolbar(...) returns StyledAjaxNavigationToolbar which
 inherits from AjaxNavigationToolbar (which is NavigationToolbar).
 EurekifyBottomTableToolbar inherits from AbstractToolbar.
 
 When I look at FireBug, I see that the tfoot section of the table is
 BEFORE the tbody.
 Has anyone encountered this?
 Do I do something wrong?
 
 

-- 
View this message in context: 
http://www.nabble.com/DataTable---tfoot-before-tbody--tp19241603p19243949.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: DataTable - tfoot before tbody?

2008-08-31 Thread Jan Kriesten

Hi Eyal,

 When I look at FireBug, I see that the tfoot section of the table is BEFORE
 the tbody.
 Has anyone encountered this?
 Do I do something wrong?

this is intented and required by the HTML spec:

http://www.w3.org/TR/html4/struct/tables.html#h-11.2.3

Best regards, --- Jan.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]