RE: Dynamically-selectable HTML templates

2007-02-17 Thread Richard Eggert
After playing with it some more, I figured out the answer to my question. :-) The trick was to use the clay component (or a component derived from clay) and pass the configurable parts to the clayJsfid attribute (instead of trying to pass them as part of the jsfid attribute directly), like so:

SV: Dynamically-selectable HTML templates

2007-02-17 Thread Hermod Opstvedt
Hi The jsfid must map to a Clay pre-defined component. I am not sure that what you are trying to do is feasible in Clay and actually if it is the correct way to solve your problem. I would more tend to using CSS (Cascading Style Sheets) for this scenario. Hermod -Opprinnelig melding-

SV: Dynamically-selectable HTML templates

2007-02-17 Thread Hermod Opstvedt
Hi This is a smart way to do this. I did not quite understand your scenario in your previous mail. I thought you where talking about formatting/layout. Hermod -Opprinnelig melding- Fra: Richard Eggert [mailto:[EMAIL PROTECTED] Sendt: 17. februar 2007 22:35 Til: user@shale.apache.org

RE: Dynamically-selectable HTML templates

2007-02-17 Thread Gary VanMatre
After playing with it some more, I figured out the answer to my question. :-) The trick was to use the clay component (or a component derived from clay) and pass the configurable parts to the clayJsfid attribute (instead of trying to pass them as part of the jsfid attribute directly), like so: