Hi.

I think this could be due to a known bug in parsing the page path name. The 
path "/status/ViewStatus" is supposed to be canonicalized into "/status/View" 
which should be how you'd refer to that page in your PageLinks. But there is 
some bug in the code handling those path translations. It's somewhat possible 
this is due to the same bug.

There was a message very recently on this list about it. You can look for 
messages with "No root element has been defined" in the subject.

I think I have found another side-effect of this same bug, and I'll try to 
comment on the Jira issue. In fact I'll just post it here in case it's 
helpful to others:

The bug is known to cause problems if you try to define a page "/any/Any". 
You're supposed to wind up with a page at link "any". But it doesn't work.

My initial reaction was to stick with my naming choices and just move the 
page "Any" out of it's subdirectory: now at "/Any". This works, and I can 
make page links to "Any". However if I then also put in the subdirectory 
("/any") and try to put other pages in there, like "/any/Continued", Tap 
fails to recognize these pages. It seems the "Any" page is hiding the 
entire "any" subdirectory path.

Now this might be some kind of expected behavior: it might just be preventing 
me from using my indicated workaround to temporarily evade the bug. But it's 
happening none the less.

Good luck.

Ciao!
-Steev Coco.

On Wed June 13 2007 10:35:27 am Joel Wiegman wrote:
> All,
>
> I have an HTML file and Java file that functions perfectly with the
> following structure:
>
> /status/Start
>
> When I rename the HTML and Java file to something more meaningful, like:
>
> /status/ViewStatus
>
> Run a clean build and load the page, none of my embedded components are
> found anymore:
>
> "Component com.btservices.storeportal.web.pages.status.ViewStatus does
> not contain an embedded component with id 'messages'."
>
> My java file, of course, has a messages component in it:
>
>       package com.btservices.storeportal.web.pages.status;
>
>       import com.btservices.storeportal.web.components.Messages;
>
>       public class ViewStatus {
>
>               @Component
>               private Messages messages;
>
>       }
>
> Completely confused!  Anyone know why this would be happening?
>
> Thanks,
>
> Joel
>
> ---------------------------------------------------------------------
> 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]

Reply via email to