Quick and dirty way to accomplish this: Wrap your form call in a <container id="something">

Then you can use CSS selectors to select that particular form table:

#someting table {}

I think we do this trick in crmsfa, where the form widget is probably most intensively used.

Cheers,

- Leon

Adrian Crum wrote:
I just spent the last two days working closely with the form widget and I'd like to take the time to offer my appreciation and admiration to its author.

At first I didn't care for it because it produced a very simplistic form. After digging into the HtmlFormRenderer.java code, I discovered it has tremendous styling ability that isn't used by default. So, if you take the time to create a decent form widget CSS style, then you can get the form widget's output to look quite fancy.

One glaring omission in HtmlFormRenderer.java - there is no way to specify a style for the layout table it contains. Otherwise, it's an awesome piece of code.

-Adrian


Reply via email to