-
1. Re: <rich:datascroller> inside <a4j:include>
rammyramkumar Oct 18, 2010 2:25 PM (in response to rammyramkumar)It seems <a4j:include> renders additional <div> as a marker for AJAX updates.
-
2. Re: <rich:datascroller> inside <a4j:include>
nbelaevski Oct 19, 2010 10:39 AM (in response to rammyramkumar)Hi,
Please post page code and screenshot illustrating the problem.
-
3. Re: <rich:datascroller> inside <a4j:include>
rammyramkumar Oct 19, 2010 10:49 AM (in response to nbelaevski)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"
maxPages="7" />
Hope im clear in details.
please let me know if you need any more details
-
4. Re: <rich:datascroller> inside <a4j:include>
rammyramkumar Oct 19, 2010 1:38 PM (in response to rammyramkumar)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..
-
5. Re: <rich:datascroller> inside <a4j:include>
rammyramkumar Oct 19, 2010 1:47 PM (in response to rammyramkumar)1 of 1 people found this helpfulOne 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"