Karam Singh Badesha wrote:
> Hi,
> I am using woodstock/jsftemplating in my application. I have following
> questions:
>
> - 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).
> - 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" ...>...
Good luck!
Ken
> thanks
> Karam
>