On 3/9/06, Niklas Ekman <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm using Tapestry 4 and I have a little problem.
>
> 1. I have a library in which I have a Exception page.
> 2. In the library I also have a Border component which I use in the
> Exception page.
> 3. I have an application in which I use the page from the library.
>
> The problem is that when I include the Border component in the Exception
> page I have to prefix it with the library namespace name which is
> configured in the application. This is not good since I can't know in
> the library which name the library gets in an application. Am I doing
> something wrong here?

If you have to prefix Exception  (like mylib:Exception) then it is not
in the same namespace as the Border component. Some questions:

1. Where is the .libary file? in the classpath or in the war structure
(context)? the path?
2. Are either the Exception page or the Border specless (no xml)?
3. Where are Border and Exception (xml, template, classes) located?

BTW Exception is a bad page name to choose - it's the name of the
Tapestry framework exception page and thus reusing the name leads to
confusion.

>
> I looked in the contrib library in the Inspector.html file, and in that
> file the dependent components from the Inspector library was prefixed
> with inspector: which I assume has the same problems which I have. If I
> want to include the Inspector library in my own application and I use a
> name other than "inspector" I will get an error.

I'm not sure looking at Inspector is a good idea. The contrib and
inspector libraries have a strange interelationship - not one I would
want to duplicate in my projects.

>
> Can somebody help me with this?
>
> Best regards,
>
> Niklas Ekman
>
>
>
>


--
The Spindle guy.          http://spindle.sf.net
Get help with Spindle:   
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Blog:                     http://jroller.com/page/glongman
Feature Updates:          http://spindle.sf.net/updates

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

Reply via email to