-
1. Re: tabPanel issue and global error handling
ilya_shaikovsky Nov 18, 2009 9:06 AM (in response to strannik)1) some error should present in log.
2) check withuot includes but with static content inside tab. I guess there is some problem with included content. -
2. Re: tabPanel issue and global error handling
strannik Nov 18, 2009 9:55 AM (in response to strannik)1) There was no exceptions in the log
2) I tried to narrow down the issue and it looks like that problem was with the dynamic image loading.
I have a data grid with images inside it on the first tab<rich:dataGrid var="member" value="#{bean.presenters}" columns="6" elements="6" rowClasses="bottom-area"> <c:set var="photo" value="#{member.photo}" /> <ui:include src="/WEB-INF/flows/common/image.xhtml" /> </rich:dataGrid>
image.xhtml renders image file so I guess there was some problem with <c:set> element. When I opened first tab second time the engine doesn't initialize photo variable so it gives 404 error code. That was handled by web.xml rules and system forwarded user to 404 error page.
So how can it be changed the easiest way? -
3. Re: tabPanel issue and global error handling
ilya_shaikovsky Nov 18, 2009 10:02 AM (in response to strannik)use ui:param to pass parameter to ui:include.
-
4. Re: tabPanel issue and global error handling
strannik Nov 18, 2009 10:46 AM (in response to strannik)Thanks! It helped a lot.
-
5. Re: tabPanel issue and global error handling
strannik Nov 18, 2009 11:07 AM (in response to strannik)Ilya, it still reproduces. Although now it is needed to click 3-4 times between tabs to reproduce it. If I remove the ui:include
<ui:include src="/WEB-INF/flows/common/image.xhtml"> <ui:param name="photo" value="#{member.photo}" /> </ui:include>
it doesn't reproduce. Please advise. -
6. Re: tabPanel issue and global error handling
ilya_shaikovsky Nov 19, 2009 4:45 AM (in response to strannik)if you could localize the problem and create sample based on mock data - please share the war for investigation.
-
7. Re: tabPanel issue and global error handling
strannik Nov 19, 2009 5:07 AM (in response to strannik)OK, will do that.
Can it be related to the fact that system doesn't have enough time to refresh the tab content when we're switching between tabs? If so I could setup the tab refresh delay and check if it helps.