Hi all,

You should read this e-mail backwords. If anybody have the same problem or have any idea about why this is happening and how it's supposed to be fixed, please reply !

Thank you,
Narcis Paslaru
--- Begin Message ---
Hi all,

This issue is better described at : http://jira.nuxeo.org/browse/NXP-635 .
If anyone has any idea why is this happening and how to fix it, please reply asap.

Thank you,
Narcis Paslaru
--- Begin Message ---
Anahide Tchertchian wrote:
Hi,
Looking at your templates, it seems to me sections_table will not be used for other purposes than publication (is it?). If yes, i think you can try to avoid using ui:param because it is not innocent at all in generating spurious calls. Anyway this tree will surely be kept in some sort of cache and/or computed from the search engine in the future, so I would not worry about optimising it now.
Cheers,
anahide.
Hi Anahide,

I took your advice and I've modifyed the page to not use <ui:decoarate>. Instead I moved all the code that was in the template, up to the document_publish.xhtml.

Still I got 22 method calls for 1 page rendering so I've eliminated some code to see what was causing the extra calls.

I used *<c:set var="documents" value="#{publishActions.sectionsSelectModel}"/>* instead of *<ui:param> *but it seems like every time I used documents in my page, a call was made to get the documents. After I've eliminated all the references to documents there are still 4 calls / page - that is 1 for every section that I have defined in my domain.
If you have another idea, please let me know about it.

Thank you,
Narcis

--- End Message ---

--- End Message ---
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to