This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a PanelSection in which I have a datatable. I wanted to show a different background(styleClass="partBoxArea") color for the whole section. Now the background color is not showing in the whole PanelSection. It is just showing in the Datatable background only. This does not look good. I am providing the code for the PanelSection. I would appreciate if someone can help me on that. Thanks.
I don't have any experience with the component set you're using. The hx prefix, is that IBM's "Java Widget Library"? However, what I notice in your code is that you set the partBoxArea style to the <hs:dataTableEx> component. So then it is logical that the table gets the background. I think if you want the whole section to get the background of the partBoxArea style, you should set the <hx:panelSection>s styleClass attribute to partBoxArea instead.