Re: .page/.html/.jwc in different directories

2006-03-18 Thread Andreas Bulling
On 16. Mär 2006 - 15:57:36, Andreas Bulling wrote: | I was able to put all the "normal" pages in a pages subdirectory | below WEB-INF (I also updated the Wiki page concerning the Home | problem) but I'm not able to put my Border component below | "components": | [...] It seems as if in all the cas

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Andreas Bulling
On 16. Mär 2006 - 16:16:50, Andreas Andreou wrote: | Border goes to /components ok. | Home cannot go to /pages. I was able to put all the "normal" pages in a pages subdirectory below WEB-INF (I also updated the Wiki page concerning the Home problem) but I'm not able to put my Border component belo

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Andreas Bulling
On 16. Mär 2006 - 16:16:50, Andreas Andreou wrote: | Border goes to /components ok. | Home cannot go to /pages. | | Perhaps it's the way the home service works? | | So, you can put everything in the subfolders apart from the Home files Thanks _a lot_ for your help and investigation! I'll try to

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Andreas Andreou
Border goes to /components ok. Home cannot go to /pages. Perhaps it's the way the home service works? So, you can put everything in the subfolders apart from the Home files Andreas Bulling wrote: >| These are directly in WEB-INF. >| Do you want me to move them int /pages and /components and see

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Andreas Bulling
| These are directly in WEB-INF. | Do you want me to move them int /pages and /components and see if it works? That would be great - thanks! ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Andreas Andreou
Andreas Bulling wrote: >On 16. Mär 2006 - 15:37:25, Andreas Andreou wrote: >| the structure i tested was: >| >| WEB-INF >| \pages (contains *.page + *.html + *.properties) >| \components (contains *.jwc + *.html + *.properties) > >Also Home.[page|html|properties] and Border.[jwc|html|properties

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Andreas Bulling
On 16. Mär 2006 - 15:37:25, Andreas Andreou wrote: | the structure i tested was: | | WEB-INF | \pages (contains *.page + *.html + *.properties) | \components (contains *.jwc + *.html + *.properties) Also Home.[page|html|properties] and Border.[jwc|html|properties]? Did you change the hivemind con

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Andreas Andreou
the structure i tested was: WEB-INF \pages (contains *.page + *.html + *.properties) \components (contains *.jwc + *.html + *.properties) Andreas Bulling wrote: >On 16. Mär 2006 - 15:15:45, Andreas Andreou wrote: >| Just tried, and >| the code from the Wiki works for me. > >Hm... good for you,

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Adam Zimowski
Great. I'm gonna try it then. On 3/16/06, Andreas Bulling <[EMAIL PROTECTED]> wrote: > On 16. Mär 2006 - 07:32:58, Adam Zimowski wrote: > | Does anybody know if there are performance implications associated > | with this solution? Is the lookup cached, or executed every time? > > The API documenta

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Andreas Bulling
On 16. Mär 2006 - 07:32:58, Adam Zimowski wrote: | Does anybody know if there are performance implications associated | with this solution? Is the lookup cached, or executed every time? The API documentation states that the specification gets cached at least in T4. Sincerly, Andreas --

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Andreas Bulling
On 16. Mär 2006 - 15:15:45, Andreas Andreou wrote: | Just tried, and | the code from the Wiki works for me. Hm... good for you, bad for me ;) Just to make clear: You've put the .page files in a subdirectory below WEB-INF and .jwc files in another one below WEB-INF? What about the html templates/t

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Adam Zimowski
Does anybody know if there are performance implications associated with this solution? Is the lookup cached, or executed every time? On 3/16/06, Andreas Andreou <[EMAIL PROTECTED]> wrote: > Just tried, and > the code from the Wiki works for me. > > I configured the delegate using hivemind > > > An

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Andreas Andreou
Just tried, and the code from the Wiki works for me. I configured the delegate using hivemind Andreas Bulling wrote: >On 16. Mär 2006 - 03:57:08, [EMAIL PROTECTED] wrote: >| Well, using the code from the wiki, you can get to this >| structure >| WEB-INF >| \pages (*.page + *.html + *.propertie

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Andreas Bulling
I encountered something very strange: I've put the Border component with its template and the property files under WEB-INF/components and normally Tapestry shouldn't be able to find the .jwc file, right?! But in my custom SpecificationResolverDelegate the method findComponentSpecification() is neve

Re: .page/.html/.jwc in different directories

2006-03-16 Thread Andreas Bulling
On 16. Mär 2006 - 03:57:08, [EMAIL PROTECTED] wrote: | Well, using the code from the wiki, you can get to this | structure | WEB-INF | \pages (*.page + *.html + *.properties) | \components (*.jwc + *.html + *.properties) That's what I did but I still get the error message: --- Could not find temp

Re: .page/.html/.jwc in different directories

2006-03-15 Thread andyhot
Well, using the code from the wiki, you can get to this structure WEB-INF \pages (*.page + *.html + *.properties) \components (*.jwc + *.html + *.properties) AFAIK the template should be near its spec (if there is one) but the spec can contain a special asset (named '$template') that overrides th

Re: .page/.html/.jwc in different directories

2006-03-15 Thread Andreas Bulling
Hi Izak, also thanks for your answer! On 16. Mär 2006 - 01:12:16, Izak Wessels wrote: | A simple solution is to have all your .page/.html/.jwc files in | different directories in your source directory. Then when you run your | ant script, simply use the task to copy all the files to the | centra

Re: .page/.html/.jwc in different directories

2006-03-15 Thread Andreas Bulling
Hi Harvey, thanks for your answer! On 15. Mär 2006 - 14:10:38, Harvey, David wrote: | [...] | The .application file contains declaration of the pages and components, | thus: | | And | Well, I already know this way of specifying the pages/components (although I don't have them defin

Re: .page/.html/.jwc in different directories

2006-03-15 Thread Andreas Bulling
On 15. Mär 2006 - 21:11:17, Andreas Andreou wrote: | Could you please describe the directory structure that | you want to achieve? Sure: WEB-INF \- pages (*.page) \- components (*.jwc) \-templates (*.html) Sincerly, Andreas --

Re: .page/.html/.jwc in different directories

2006-03-15 Thread Izak Wessels
, > David Harvey > Ingenix, Inc. > > > > > > -Original Message----- > From: Andreas Andreou [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 15, 2006 12:11 PM > To: Tapestry users > Subject: Re: .page/.html/.jwc in different directories > > Could you p

RE: .page/.html/.jwc in different directories

2006-03-15 Thread Harvey, David
eou [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 12:11 PM To: Tapestry users Subject: Re: .page/.html/.jwc in different directories Could you please describe the directory structure that you want to achieve? Andreas Bulling wrote: >Hi everybody, > >perhaps some of you have re

Re: .page/.html/.jwc in different directories

2006-03-15 Thread Andreas Andreou
Could you please describe the directory structure that you want to achieve? Andreas Bulling wrote: >Hi everybody, > >perhaps some of you have read about the problems I had (and still have) >following the howto under >http://wiki.apache.org/jakarta-tapestry/PagesAndComponentsInWEB-INF > >As it see

.page/.html/.jwc in different directories

2006-03-15 Thread Andreas Bulling
Hi everybody, perhaps some of you have read about the problems I had (and still have) following the howto under http://wiki.apache.org/jakarta-tapestry/PagesAndComponentsInWEB-INF As it seems I can put the .page and .jwc files in different (sub-)directories of WEB-INF but then Tapestry can't find