This problem occurs in the HTML editor in the editwizards, based on
HtmlArea. 
Prior to displaying a "html" type field, the editor tries to resolve all
relative URLs to absolute URLs. When the field is saved later on, the
relative URLs is replaced accordingly.

This replacement is undesirable in itself, and in addition to this, the
resulting URLs are corrupted, since they are based on the absolute URL
of the editwizard instead of the URL where the content will ultimately
be displayed on the website.
For example: 
    <a href="#cases">
Becomes: 
    <a
href="http://myhost/mywebapp/mmbase/edit/wizard/jsp/wizard.jsp#cases";>

Consequently, the relative URLs become corrupted whenever they are saved
after being displayed in the HTML editor. Even when the fields are not
edited.

Does anyone know of a solution or workaround to this problem?

Rob van Maris
Technical Consultant

Quantiq
xmedia & communication solutions

Koninginneweg 11-13
1217 KP Hilversum
 
T    +31 (0)356257211
M    +31 (0)651444006
E    [EMAIL PROTECTED]


Reply via email to