-
1. Re: Richfaces 4 ui:include not load Javascript and CSS files
chelachen Sep 15, 2011 12:58 AM (in response to danilocps)Dynamic rich:tab and use <ui:include src="#{..}" /> in tab will be the same problem.
Workaround:refresh all the page like FacesContext.getCurrentInstance().getExternalContext() .redirect("page") or use "server" mode.
But I feel that it is not the best way.
Ohter suggestion?
-
2. Re: Richfaces 4 ui:include not load Javascript and CSS files
douglashiura Sep 20, 2011 11:55 AM (in response to danilocps)I have this same problem. I do not know what I do.... has attach an simple exemple...
-
wft.zip 5.8 MB
-
-
3. Re: Richfaces 4 ui:include not load Javascript and CSS files
douglashiura Sep 21, 2011 1:57 PM (in response to chelachen)if redirect a @ViewScoped lost state, and use "server" mode don't solve....
-
4. Re: Richfaces 4 ui:include not load Javascript and CSS files
chelachen Sep 21, 2011 11:13 PM (in response to douglashiura)right, @ViewScoped has that problem.
@ViewScoped has another problem with c:forEach that backingbean will create every request.
And dynamic rich:tab hava to use c:forEach.
So I only can chose @SessionScoped to replace @ViewScoped.
-
5. Re: Richfaces 4 ui:include not load Javascript and CSS files
lfryc Sep 22, 2011 3:27 AM (in response to danilocps)Hi Danilo,
it seems you have ran into exactly same issue as which is described in Wesley's blog:
http://community.jboss.org/people/wesleyhales/blog/2011/09/20/richfaces-4-and-todays-mobile-web-frameworks-part-1
-
6. Re: Richfaces 4 ui:include not load Javascript and CSS files
danilocps Sep 22, 2011 8:09 AM (in response to lfryc)Hello Lukáš Fryc.
First of all, thanks for your reply
I tried to apply the solution described in your blog. I removed the a4j:outputpanel and applied render on @form, but the javascript files, is not being sent.
My javascript console with this attempt:
RichFaces.ui.DataScroller is not a constructor
RichFaces.ui.DataTable is not a constructor
Meanwhile I continue with the initial hack (in the first page, which is static, I put all my components with render false to load the javascript files).
Best Regards
-
7. Re: Richfaces 4 ui:include not load Javascript and CSS files
mmandala Jan 9, 2013 12:25 PM (in response to danilocps)I am also running into same issue.Did any one solved this issue?
-
8. Re: Richfaces 4 ui:include not load Javascript and CSS files
nitin_soni Sep 23, 2016 11:10 AM (in response to danilocps)I am also running into same issue.Did any one solved this issue?