Hi

-----Opprinnelig melding-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Craig
McClanahan
Sendt: 17. oktober 2006 19:32
Til: [email protected]; [EMAIL PROTECTED]
Emne: Re: Clay and Tobago

On 10/17/06, Hermod Opstvedt <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> That would be a great idea. This is something that I have also have
> thought
> about previously.
>
> Just to get this started, I took a look at the first component in the
> tomahawk.tld (1.1.3) commandbutton.
>
> Now the componentType we can derive from the tag-class, removing the last
> part: Tag


That seems pretty fragile to me, because it depends on a naming pattern.
Wouldn't it be better to actually instantiate an instance of the tag class,
and call getComponentType() on it?  Likewise for getRendererType().

Craig

Seems like a good approach, but that will then require the tool to have the
necessary .jars with dependencies in the classpath.

Hermod

The next to follow is extends, which I gather will always(?) be baseAction.
>
> Now if we start looking at the attributes, then looking at the attributes
> in
> the tomahawk-1_1_3.xml file and compare them with the attributelist in the
> tld then the first thing to note is that some of the attributes are
> defined
> in baseAction and others are defined in baseHtml and baseComponent.
>
> And will the attributes from libraries like tomahawk etc, always have
> valuebinding (VB) as bindingType?
>
> Now from this I do not think that a straight forward xslt translation will
> do the trick, so I guess that we need to create some sort of utility to do
> this translation. Being a commonly used handcrafter of such items, I would
> like to take a shot at it.
>
> Hermod
>
>
> -----Opprinnelig melding-----
> Fra: Gary VanMatre [mailto:[EMAIL PROTECTED]
> Sendt: 17. oktober 2006 17:28
> Til: [email protected]
> Emne: Re: Clay and Tobago
>
> >From: <[EMAIL PROTECTED]>
> >
> > > Hi
> > >
> > > Has anybody made any attempt at creating a Clay definition file for
> the
> Tobago
> > components?
> > >
>
> I have not yet.  I'd also like to include Trinidad support.  We need to
> figure out a way to generate the Clay config from the TLD or something.
>
>
> > > Hermod
> >
>
> Gary
>
> >
> > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> *
> *
> >
> > This email with attachments is solely for the use of the individual or
> > entity to whom it is addressed. Please also be aware that DnB NOR cannot
> > accept any payment orders or other legally binding correspondence with
> > customers as a part of an email.
> >
> > This email message has been virus checked by the anti virus programs
> used
> > in the DnB NOR Group.
> >
> > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> *
> *
> >
>
>

Reply via email to