DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42050>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42050 ------- Additional Comments From [EMAIL PROTECTED] 2007-05-22 02:43 ------- I am ATM trying to fix each part of the aggregation and doing the search stuff. To debug I added: <map:match pattern="authoring/navigation-element/*/*/*/*/*/**"> <map:generate src="cocoon://modules/sitetree/{1}/{2}/{3}/{4}/{5}/{6}.xml"/> <map:transform type="uuid2url"/> <map:serialize type="xml"/> </map:match> I found out that in UuidToUrlTransformer the following prevents the rewrite. Where I think the comment is not correct since e.g. forms @action would hardly ever use a lenyadoc: in the link. Further why the comment about: // don't rewrite /{pub}/modules/... ¿? /* * This is legacy code. It rewrites links to * non-document images (in resources/shared). These * images shouldn't be referenced in documents since * this violates the separation between content and * layout. */ String prefix = "/" + this.currentDocument.getPublication().getId() + "/"; if (linkUrl.startsWith(prefix)) { String pubUrl = linkUrl.substring(prefix.length()); String area = pubUrl.split("/")[0]; // don't rewrite /{pub}/modules/... if (area.equals(Publication.AUTHORING_AREA)) { String areaUrl = pubUrl.substring(area.length()); String newUrl = this.contextPath + prefix + this.currentDocument.getArea() + areaUrl; setAttribute(newAttrs, attributeNames[i], newUrl); } } -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
