Hi,
creating pageField in container is documented very well. But what can I do
if I need to make exactly only one (in comparation with many links in
container) link in my template. I tried it like this:

<content:declareField name="menuTopLink1" type="Page"
value="<jahia_linkonly>"></content:declareField>

<content:pageField valueId="menuTopLink1"
name="menuTopLink1"></content:pageField>
<logic:notEmpty name="menuTopLink1">
        <a href='<bean:write name="menuTopLink1" property="url"
/>'><bean:write name="menuTopLink1" property="title" /></a>
</logic:notEmpty>

But the menuTopLink1 is still null and 

<jahiaHtml:actionMenu name="menuTopLink1" namePostFix=".link.ostrava"
useFieldSet="false" />

throuws error:

ActionMenuTag, ERROR, org.jahia.taglibs.html.actions.ActionMenuTag: Couldn't
find any object with name menuTopLink1

Can anybody tell me how to resolve this problem?

Thanks in advance.

David Kovar

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list

Reply via email to