Re: [template_list] Jahia 6 Community Edition - size of a containerList populated by a query

2009-02-17 Thread Sergiy Shyrkov
Hello, the following example shows how to get the size of a container list (no matter if it is populated by a query or not - the size property is available on the ContainerListBean instance, exposed into its scope by template:containerList/ tag): %@ taglib

Re: [template_list] Jahia 6 Community Edition - size of a containerList populated by a query

2009-02-17 Thread MesDocs ParMail
Hello, This the code i test. my_templates derives from web_templates. template:containerList id=actusList displayActionMenu=false query:containerQuery query:selector nodeTypeName=my_templates:actusContainer selectorName=actusListSelector/ query:descendantNode

Re: [template_list] Jahia 6 Community Edition - size of a containerList populated by a query

2009-02-17 Thread Sergiy Shyrkov
Hello, could you please ensure that your JSP has a tag library declaration for JSTL core: %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % Can you check please the generated HTML code of the page? If if contains untranslated JSTL tags, than something is wrong with the JSTL tag lib

Re: [template_list] Jahia 6 Community Edition - size of a containerList populated by a query

2009-02-17 Thread Jahia papez
Hi Mesdocs, I think the problem in your code is that the name="actusContainer" attribute is missing in the template:containerList tag. I think that "name" should be set as a required attribute. Please try it and let me know, if it worked. Regards, Benjamin On 17.02.2009 22:08, MesDocs

Re: [template_list] Jahia 6 Community Edition - size of a containerList populated by a query

2009-02-17 Thread MesDocs ParMail
'That's it ! Adding the name attribute to the containerList solves the problem. Thank you very much. Mesdocs. 2009/2/17 Jahia papez jahia.pa...@gmail.com: Hi Mesdocs, I think the problem in your code is that the name=actusContainer attribute is missing in the template:containerList tag. I