It seems <a4j:include> renders additional <div> as a marker for AJAX updates.
Please post page code and screenshot illustrating the problem.
this is the screenshot of the datascroller (which is not getting rendered properly)
Code part :
<a4j:include viewId="includes/myFiles.xhtml" />
There is a button in myFiles.xhtml which navigates to myArchives.xhtml
In myArchive.xhtml :<rich:datascroller renderIfSinglePage="false" id="sc2" for="table"maxPages="7" />
<rich:datascroller renderIfSinglePage="false" id="sc2" for="table"
Hope im clear in details.
please let me know if you need any more details
Got the answer for the solution:
Add the below line to the main page .....(where the <a4j:include> resides)
<rich:datascroller rendered="false" />
This forces styles to be rendered.
Thanks Nick for the solution..
1 of 1 people found this helpful
One more thing to add :
so the workaround is simple: if resources are not loaded you can force doing that by adding the component to the page with rendered="false"