Currently I'm developing a Structure/Template combination in Liferay 6.2 and I discovered a problem.
In my Structure the user can type an url to an external site ("www.google.com" for example):
<dynamic-element dataType="string" indexType="keyword" localizable="true" name="website" readOnly="false" repeatable="false" required="false" showLabel="true" type="text" width="small">
<meta-data locale="de_DE">
<entry name="label">
<![CDATA[Website (www.)]]>
</entry>
<entry name="predefinedValue">
<![CDATA[]]>
</entry>
<entry name="tip">
<![CDATA[]]>
</entry>
</meta-data>
</dynamic-element>
In my Template i want a Link to that page, but the current code just appends the String Value of the Structure to the BaseURL of my site. Something like www.company-url.de/web/www.google.de
<a href="${website.getData()}">More information</a>
(I can't give the correct URLs because I'm not sure wether it's allowed)
Is there a way to tell Liferay to use the String as an independent url, instead of appending it?
Thanks a lot for your help.