[jboss-user] [JBoss Seam] - ICEFaces components don't work using Dynamic Includes
OoSVS
do-not-reply at jboss.com
Tue Nov 13 15:11:16 EST 2007
Hi
I have a problem.
I made a template similar to the component-showcase's template but in my case my content-facelet.xhtml has 5 dynamic includes. I have mainTemplate.xhtml that includes navigation.xhtml and content-facelet.xhtml. I start the application calling the archive vgrcDemo.xhtml (showcase.xhtml in component-showcase project).
The application run well, all the components and content are displayed (panel collapsibles, panelTab sets; tree; etc) but when I click on any component it doesn't work , however the connection status get in active state for a long time and then the browser shows me the page for default without changes (vgrcDemo.xhtml).
The log for this issue is:
18:00:10,856 ERROR [STDERR] Nov 12, 2007 11:00:10 PM com.sun.facelets.impl.DefaultFacelet refresh
INFO: Facelet[/layout/content-facelet.xhtml] was modified @ 11:00:10 PM, flushing component applied @ 10:59:46 PM
the strangest thing is that if I shutdown the server and after few minutes start it again, the componentes continues failing. However, if I shutdown my server for many hours and I start it again and prove my application without changes, the application and all components work fine.
But if i open any of xhtml archives,for example: content-facelet.xhtml and I make an insignificant change (for example: an space ) and i save it, when i run my application the log doesn't show any error but if I click on any component that belong to content-facelet.xhtml
the log show me:
18:25:14,296 ERROR [STDERR] Nov 12, 2007 11:25:14 PM com.sun.facelets.impl.DefaultFacelet refresh
INFO: Facelet[/layout/content-facelet.xhtml] was modified @ 11:00:10 PM, flushing component applied @ 11:25:11 PM
If i open navigation.xhtml and make the same change, and when I click on any component the log show me:
18:26:42,919 ERROR [STDERR] Nov 12, 2007 11:26:42 PM com.sun.facelets.impl.DefaultFacelet refresh
INFO: Facelet[/layout/navigation.xhtml] was modified @ 11:26:42 PM, flushing component applied @ 11:25:11 PM
18:26:42,935 ERROR [STDERR] Nov 12, 2007 11:26:42 PM com.sun.facelets.impl.DefaultFacelet refresh
INFO: Facelet[/layout/content-facelet.xhtml] was modified @ 11:26:42 PM, flushing component applied @ 11:26:38 PM
if I open mainTemplate.xhtml and make the same change, and when I click on any component the log only show me:
18:30:25,774 ERROR [STDERR] Nov 12, 2007 11:30:25 PM com.sun.facelets.impl.DefaultFacelet refresh
INFO: Facelet[/layout/mainTemplate.xhtml] was modified @ 11:30:25 PM, flushing component applied @ 11:30:20 PM
And if I shutdown the server and start it again, the componentes continues failing. However, if I shutdown the server for many hours and I start it again, the application and all components work fine.:S
I'm working with:
seam2
icefaces 1.6.1
jbossAs 4.2.2 on linux 1.5
firefox 2.0.0.3
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104300#4104300
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104300
More information about the jboss-user
mailing list