I think there's a bug there, since t:type="antera/Style" should work
(or <t:antera.Style>).

On 6/19/07, Bill Holloway <[EMAIL PROTECTED]> wrote:
Thanks, Serge!

On 6/19/07, SergeEby <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Try <style t:type="antera.Style" />
> and read the Component Elements section in this document:
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
>
> /Serge
>
>
> texomaleo wrote:
> >
> > In a jar in a separate Eclipse probject I have
> >
> > package us.antera.t5.lib;
> > import org.apache.tapestry.ioc.Configuration;
> > import org.apache.tapestry.services.LibraryMapping;
> >
> > public class LibModule
> > {
> >       public static void contributeComponentClassResolver
> > (Configuration<LibraryMapping> configuration)
> >     {
> >         configuration.add(new LibraryMapping("antera",
> > "us.antera.t5.lib"));
> >     }
> > }
> >
> > The implementing class us.antera.t5.lib.components.Style is written
> > and works find in a Tapestry project if directly included.  The above
> > module loads (I know by mis-naming it in the manifest file for the jar
> > and then watching the T5 IoC failure in the T5 project).
> >
> > I make a jar with the above class and
> > us.antera.t5.lib.components.Style in it, put it in src/main/resources
> > in my T5 project, put it on the build path, in a component class I ask
> > for <style t:type="antera/Style" />, restart the server, and poof:
> > Unable to resolve component type 'antera/Style' to a component class
> > name.
> >
> > What am I doing wrong?
> >
> > bill
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
http://www.nabble.com/T5-Component-library-trouble-tf3948185.html#a11200969
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to