This wouldn't be happening in the LinkService, at least directly. The
pipeline that is creating the page with the bad link in it most likely
has one or more transformers.
What bothers me is that the link you are seeing
<A href="http://localhost:8080/pmm/portal/portal?cocoon-portal-event=15&pageLabel=mare"
xmlns:coplet="http=://apache.org/cocoon/portal/coplet/1.0">Utilizza il servizio</A>
looks very little like the link in your template
<a href='/portal?pageLabel=dispatcher&sid=3DS077'>Utilizza il servizio</a>
The only think they have in common is the text for the link. My guess is that
somehow there is something in your pipeline doing this. For example, I believe
the LinkTransformer could be doing this. It would call the LinkService, which
would always add the pageLabel for the current page, not the page you specified.
Ralph
Angelo Immediata wrote:
Yes you are right.. but i'm not able to understand where this href tag is
changed.
Do you know where this tag is changed?
What method is responsable of this change in DefaultLinkService o
PageLabelLinkService java classes?
Thanks again
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]