custom namespace
2 answers - 566 bytes -

You mean like contrib or tacos? I think the namespace name can be tied to a
library file via your .application configuration. (this I'm less sure of as
the best solution)
6/14/06, Norbert S <developer (AT) erinors (DOT) comwrote:
Hi,
By default there are 2 namespaces: framework and application.
How can I define my own, custom namespace?
Regards,
Norbi
To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
--
No.1 | | 1856 bytes |
| 
Short answer is you can't. The namespaces are created by parsing
application or .library files. Except for Framework.library - which
is a special case, every library must be declared in a "parent"
namespace specification file as that's the mechanism Tapestry has to
"discover" nested namespaces.
Geoff
6/14/06, Norbert S <developer (AT) erinors (DOT) comwrote:
What I exactly need is to be able to access a page defined in a library,
which library is NT defined in the .application file, therefore it is
not accessible using the common namespaces.
What would be the best way for this?
Regards,
Norbi
Jesse Kuhnert wrote:
You mean like contrib or tacos? I think the namespace name can be tied
to a
.library file via your .application configuration. (this I'm less sure
of as
the best solution)
6/14/06, Norbert S <developer (AT) erinors (DOT) comwrote:
>>
>Hi,
>>
>By default there are 2 namespaces: framework and application.
>How can I define my own, custom namespace?
>>
>Regards,
>Norbi
>>
>
>To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
>For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
>>
>>
>
>
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.3/362 - Release Date: 2006.06.12.
--
To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
--
No.2 | | 1530 bytes |
| 
Yes, that's true. But is that really a problem? Contrib has the same issue.
Geoff
6/15/06, Norbert S <developer (AT) erinors (DOT) comwrote:
Thanks!
This means that I must force the user of my component library to define
my library with a fix alias in the .application file.
Regards,
Norbi
Jesse Kuhnert wrote:
You mean like contrib or tacos? I think the namespace name can be tied
to a
.library file via your .application configuration. (this I'm less sure
of as
the best solution)
6/14/06, Norbert S <developer (AT) erinors (DOT) comwrote:
>>
>Hi,
>>
>By default there are 2 namespaces: framework and application.
>How can I define my own, custom namespace?
>>
>Regards,
>Norbi
>>
>
>To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
>For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
>>
>>
>
>
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.3/362 - Release Date: 2006.06.12.
--
To unsubscribe, e-mail: users-unsubscribe (AT) tapestry (DOT) apache.org
For additional commands, e-mail: users-help (AT) tapestry (DOT) apache.org
--