• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Display background color

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.


 
author
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sam,

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.

Best regards,
Bart Kummel
reply
    Bookmark Topic Watch Topic
  • New Topic