Hello Bernd and Volker,

I can fix this problem when I comment out the style loader call in the SheetRenderer:

// HtmlRendererUtil.writeStyleLoader(facesContext, styles);

The problem seems to be, that the style files loaded by ajax overrides my style class definitions.

How can this be solved?

Regards
Helmut


Am 16.11.2010 13:29, schrieb Bernd Bohmann:
Hello Helmut,

I think this is a known llmitation of 1.0.x. This should be solved in 1.5.x see:

https://issues.apache.org/jira/browse/TOBAGO-332

In 1.0.x the Script and the Style tag, are no components just tags.

Maybe volker has a workaround?

Regards

Bernd

On Tue, Nov 16, 2010 at 12:04 PM, Helmut Swaczinna
<[email protected]>  wrote:
Hello,

I want to change the appearing of a tc:sheet on a specfic page. So I
overloaded the style classes for tobago-sheet in my page:

    <tc:style>
      .tobago-sheet-content-odd {
        background-color: #BBCCDD;
      }
      .tobago-sheet-content-even {
        background-color: #BBCCDD;
      }
      .tobago-sheet-body-div {
        background-color: #BBCCDD;
      }
    </tc:style>

This works fine in general. But the sheet is on a tab of a tabGroup. When I
switch to another tab (Ajax reloading), do a page reload on this tab and
switch back to the tab with the sheet, the style classes are not applied.
The sheet appears in the standard look.

I'm using Tobago 1.0.31 and MyFaces 1.1.5 with Faclets. I've tested this
with FF 3.6 and IE 7.

Regards
Helmut

Reply via email to