Andreas Hartmann wrote:
Bob Harner schrieb:
Do you agree that removing such "/mypub/area/docid.html" links is a
bug? Or is there good reason for them to be removed?
If the document exists in the same area and the link is removed,
then this is clearly a bug.
If the URL is a valid document URL and the document does not exist,
then it is the correct behaviour of the LinkRewritingTransformer.
If the URL is not a valid document URL, then IMO the link should not
be removed.
Yeah, there is no way to even know that the link exists unless you
stumble upon it in the editor. I can see disabling the link in the live
area, but the authoring area should help the editors find broken links.
1.4 highlights (w/css) the broken internal links, would be easy to do
this in 1.2 as well (make the LinkRewritingTransformer add a
class="broken" attribute to the element instead of removing it (in the
authoring area).
see: http://lenya.zones.apache.org:9999/default/authoring/index.html (I
deleted the features doc)
--Doug
-- Andreas
On 1/12/06, Andreas Hartmann <[EMAIL PROTECTED]> wrote:
Josias Thoeny schrieb:
Maybe you could try to use a relative link instead, or patch the
DocumentBuilder.
Just a note - instead of changing the DefaultDocumentBuilder, you
can subclass it and declare your own class in publication.xconf.
-- Andreas
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]