Hi Steve,<br><br>Did you try to use the cms:link tag??? I don't know if it works but maybe it does.<br><br>Regards<br><br><div class="gmail_quote">2010/4/23 Steve Bryan <span dir="ltr"><<a href="mailto:steve@bright-interactive.com">steve@bright-interactive.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all<br>
<br>
I wonder if anyone can answer this question about OpenCms internal link<br>
management? I noticed that the management kicks in for hyperlinks in xmlpage<br>
content, but not for form actions. This is quite an unusual situation I<br>
guess but we do have a form in our content so we can have a button rather<br>
than a link.<br>
<br>
EG source code of content element:<br>
<h3>YOUR NEXT STEP</h3><br>
<p><a title="Send an enquiry"<br>
href="/dtw/opencms/en/contact/make-enquiry/form.html">Send us an enquiry<br>
»</a></p><br>
<form style="display: inline" method="get"<br>
action="/dtw/opencms/en/contact/make-enquiry/form.html"><br>
<input type="submit" value="Make an Enquiry" /><br>
</form><br>
<br>
<br>
<br>
OpenCms does it's magic and saves it with this control code:<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<br>
<pages xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"<br>
xsi:noNamespaceSchemaLocation="<a href="http://www.opencms.org/dtd/6.0/xmlpage.xsd" target="_blank">http://www.opencms.org/dtd/6.0/xmlpage.xsd</a>"><br>
<page language="en"><br>
<element name="body"><br>
<links><br>
<link name="link0" internal="true" type="A"><br>
<br>
<target><![CDATA[/sites/dtw/en/contact/make-enquiry/form.html]]></target><br>
<uuid>34f25d82-ba7d-11dd-912e-9ff002f2dde6</uuid><br>
</link><br>
</links><br>
<content><![CDATA[<h3>YOUR NEXT STEP</h3><br>
<p><a title="Send an enquiry" href="%(link0)">Send us an enquiry<br>
»</a></p><br>
<form style="display: inline" method="get"<br>
action="/dtw/opencms/en/contact/make-enquiry/form.html"><br>
<input type="submit" value="Make an Enquiry" /><br>
</form>]]></content><br>
</element><br>
</page><br>
</pages><br>
<br>
<br>
Notice that the a href attribute is converted to an internal link but not<br>
the form action. Is there any way to achieve this? I would be grateful for<br>
ideas - it is a problem for us since we strip the tomcat context and opencms<br>
on live.<br>
<br>
Thanks<br>
Steve<br>
<br>
<br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</blockquote></div><br>