Hi Karam,
I'm no on the Sun network right now, can you send me the html?
Thanks!
Ken
Karam Singh Badesha wrote:
> Ken,
>>> - How do I increase font size for the whole application? Current
>>> font size is quite small. The current css file in inside the zip file.
>> You should be able to write some css (style="font-size:1.25em"). You
>> can try this on the "body" tag. I'm not sure if woodstock sets
>> font-size explicitly on other tags, if so, you may have to do more
>> work (set more explicit css rules).
>
> By overwriting a rule from master css file, I am able to get this
> working.
>
>>> - Is there a way to create the table with alternate highlight color?
>>> This would be really helpful.
>> Yes. Take a look at "styleClasses" for the TableRowGroup component.
>> A comma separated list of css classes will do what you want. A class
>> can be defined by doing this in the "head" component:
>>
>> <f:verbatim>
>> <style type="text/css">
>> .rowColor1 { background-color: #880000; }
>> .rowColor2 { background-color: #008800; }
>> </style>
>> </f:verbatim>
>>
>> (NOTE: f:verbatim support was added recently to JSFTemplating, so if
>> this doesn't work upgrade your JSFTemplating files, or use (") at the
>> beginning of each line above.)
>>
>> Then used in the tableRowGroup:
>>
>> <sun:tableRowGroup id="christmasTable" styleClasses="rowColor1,
>> rowColor2" ...>...
>
> I tried this but its not working. Can you look at the page source and
> see something obvious wrong. Looking at <tr> in the source I can see
> that it has the class name.
>
> Here is the url to my app:
> http://cherub.sfbay.sun.com:8080/CADRe
>
> thanks
> Karam