BeanForm component does something similar... you can look at the code to give you some idea.
On 10/23/07, Norman Franke <[EMAIL PROTECTED]> wrote: > > I've been working on my custom inline table editor component, and I > figured it would be easier to allow the user of the component to > specify the component used for display and editing of each column. I > was thinking doing something like this: > > <table jwcid="InlineTableEditor"> > <span jwcid="[EMAIL PROTECTED]" /> > <input jwcid="[EMAIL PROTECTED]" /> > </table> > > This every time the component needed to display column one, it would > insert a copy of the columnOneDisplay component here (sort of like > @For does) and similarly for edit mode, it would create a > columnOneEditor component. > > How does one go about doing this? I've looked in the @For component, > but that didn't really help. > > My component doesn't have a renderComponent, since I'm using HTML > templates. > > -Norman Franke > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
