Re: Form Widget Kudos

2007-02-09 Thread Adrian Crum
Leon, Quick question: in crmsfa, did you use that trick to style just the table or all of its elements too? The reason I ask is, I modified the form renderer to only use the element when a style is specified in the xml file, otherwise the element just appears in its container. Example: Exi

Re: Form Widget Kudos

2007-02-09 Thread Adrian Crum
Leon - that's a good tip! Since I was already in the java code doing cleanups, I just hardcoded it to use a "basicTable" style - which is in my style sheet. I'd like to get some help with converting that to a parameter though. Leon Torres wrote: Quick and dirty way to accomplish this: Wrap y

Re: Form Widget Kudos

2007-02-09 Thread Leon Torres
Quick and dirty way to accomplish this: Wrap your form call in a 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

Form Widget Kudos

2007-02-09 Thread Adrian Crum
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 h