This content has been marked as final.
Show 2 replies
-
1. Re: rich:fileUpload component conflicting with default styles of rich input components
michpetrov Feb 20, 2013 5:32 AM (in response to javaxchange)Hi,
this is caused by JSF, it looks on the page and loads only the resources it needs, and since you're not refreshing the page it doesn't load the rest. You can use Resource Optimization to fix it.
On the other hand, why don't you just have:
<h:form id="frmContent"> <h:panelGroup id="frmContentPanel"> <ui:include src="#{utilBean.page}" /> </h:panelGroup> </h:form>
where page is the relative link. You are only displaying one page at a time.
-
2. Re: rich:fileUpload component conflicting with default styles of rich input components
javaxchange Feb 20, 2013 7:01 AM (in response to michpetrov)Thanks for the reply.
<h:form id="frmContent"> <h:panelGroup id="frmContentPanel"> <ui:include src="#{utilBean.page}" /> </h:panelGroup> </h:form>
First I have tried this option only. But what was happening is when I am rendering the form "frmContent" from a menuitem which is outside the form "frmContent" , the styles of the content part is not getting loaded properly . I have to refresh the page again to make get it's normal look.
And in the way I have tried, even after refreshing the page , styles are not working.