>From: "Ian.Priest" <[EMAIL PROTECTED]> > > See https://issues.apache.org/jira/browse/TOMAHAWK-523 for problem and > work-around. >
Hey, what do you know, facelets has the same problem :--). Thanks for reporting the work around. > Cheers, > Ian. > Gary > > > -----Original Message----- > > From: Ian.Priest [mailto:[EMAIL PROTECTED] > > Sent: 26 January 2007 15:30 > > To: user@shale.apache.org > > Subject: setting rowStyleClass > > > > Hi, > > > > > > > > I seem to have an error when setting the rowStyleClass attribute of a > > table. I'm trying to set the row class dynamically so I can have > > certain > > rows highlighted based on a bean variable. Here's my widget, which > > extends MyFaces Tomahawk DataTable: > > > > > > > > > > allowBody="false"> > > > > > > > > > > value="[EMAIL PROTECTED]" /> > > > > > > > > ... > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > But no class at all is set in the rendered table. Viewing page source > > of the final page gives: > > > > > > > > ... > > > > ... > > > > ... > > > > > > > > If I try to set a rowStyleClass in my html as follows (I also remove > > the > > ref to rowStyleClass in the widget): > > > > > > > > > > > > > > > > All I get is an empty class declaration in my tag: > > > > > > > > ... > > > > Has anyone managed to get this working? > > > > > > > > Cheers, > > > > Ian. > > > > > >