You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Scott F. Walter" <sc...@vivare.com> on 2005/06/29 02:39:44 UTC
Tapestry 4:Border Component without .jwc file
I am attempting to create a Border component without a .jwc with no
luck. So far I have
1. Created an abstract class with the @ComponentClass annotation
@ComponentClass
public abstract class Border extends BaseComponent implements
PageBeginRenderListener
2. Created a Border.html underneath my WEB-INF directory
3. Added the following to my .application file
<meta key="org.apache.tapestry.component-class-packages"
value="com.scottwalter.sandbox.tapestry4.components"/>
4. On my page iincluded the component with
Included the component on the page with : <span jwcid="@Border">
However I get an Component 'Border' not found in
Namespace@1d7e64f[<application>]. error
Any ideas?
--
Scott F. Walter Scott F. Walter
Principal Consultant
Vivare, Inc.
E: scott.walter@vivare.com
E: scott@scottwalter.com
Visit scottwalter.com <http://scottwalter.com> --Point. Click. Explore!
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Tapestry 4:Border Component without .jwc file
Posted by Howard Lewis Ship <hl...@gmail.com>.
I believe I added a bug about this already.
On 6/28/05, Scott F. Walter <sc...@vivare.com> wrote:
> I am attempting to create a Border component without a .jwc with no
> luck. So far I have
>
> 1. Created an abstract class with the @ComponentClass annotation
>
> @ComponentClass
> public abstract class Border extends BaseComponent implements
> PageBeginRenderListener
>
> 2. Created a Border.html underneath my WEB-INF directory
>
> 3. Added the following to my .application file
>
> <meta key="org.apache.tapestry.component-class-packages"
> value="com.scottwalter.sandbox.tapestry4.components"/>
>
> 4. On my page iincluded the component with
>
> Included the component on the page with : <span jwcid="@Border">
>
> However I get an Component 'Border' not found in
> Namespace@1d7e64f[<application>]. error
>
> Any ideas?
>
>
> --
>
> Scott F. Walter Scott F. Walter
> Principal Consultant
> Vivare, Inc.
>
> E: scott.walter@vivare.com
> E: scott@scottwalter.com
> Visit scottwalter.com <http://scottwalter.com> --Point. Click. Explore!
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org