voyent
IceFaces 1.7.2 partialSubmit break navigation  XML
Forum Index -> General Help
Author Message
jonas.esser

Joined: 24/Jul/2008 00:00:00
Messages: 69
Offline


Hello,

after updating from IceFaces Revision:17740 to IceFaces 1.7.2 the selectOneMenu tag with partialSubmit="true" breaks navigation.

Code:
 <ice:panelGroup>
   <ice:selectOneMenu value="#{localeBean.localeString}" partialSubmit="true">
     <f:selectItems value="#{localeBean.availableLocales}"/>
   </ice:selectOneMenu>
 </ice:panelGroup>  
 


Is there already a jira issue?

Regards,
Jonas
patrick.wilson

Joined: 15/Sep/2008 00:00:00
Messages: 18
Offline


Could you please be a bit more specific regarding what navigation has broken. Specifically: a navigation rule and a command component that triggers and action.

cheers
Patrick

Patrick Wilson
Developer
ICESoft Technologies Inc.
jonas.esser

Joined: 24/Jul/2008 00:00:00
Messages: 69
Offline


yes, sorry but its strange. Both the navigation of the menubar and the action of command buttons has broken. If I select another language the labels of the menubar and of buttons changed. After that i can't use the menubar or a button. After refresh site by pressing F5 all components working properly.

I'am using Seam 2.1 CR1, the localBean that I'am using for change local is in Seams session scope.

You need more informations?
patrick.wilson

Joined: 15/Sep/2008 00:00:00
Messages: 18
Offline


Could you post a small smaple project that demonstrates this issue?

Patrick Wilson
Developer
ICESoft Technologies Inc.
judy.guglielmin

Joined: 20/Feb/2007 00:00:00
Messages: 1393
Offline


also...which application server are you using?
jonas.esser

Joined: 24/Jul/2008 00:00:00
Messages: 69
Offline


mmhh yes but it takes some time and today I leave work off. I try to create a little example on weekend. At this opportunity I try to find the differences between the two IceFaces revisions, too. (there are only two days between both revisions)

Have a good weekend!

Jonas


PS: tomcat 6.0.14

and on Glassfishv2ur2-b04 is the "same" behaviour only on the first click, if i click a second on a button or menubar it worked (mostly).

the behaviour is apparently random!?!?
jonas.esser

Joined: 24/Jul/2008 00:00:00
Messages: 69
Offline


Hello,

I tried to create a example that shows the issue, but in the example I got a exception.

My attached application has a language selector and a command button. After changing the language and pressing on the command button I get the following exception:


SCHWERWIEGEND: Servlet.service() for servlet Blocking Servlet threw exception
javax.faces.application.ViewExpiredException: viewId:/site1.xhtml - View /site1.xhtml could not be restored.
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:186)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)
at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:94)
at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:54)
at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:26)
at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:19)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
 


 Filename IceFaces libs.zip [Disk] Download
 Description the not working Icefaces 1.7.2 libs and the working IceFaces Revision 17740 libs
 Filesize 5135 Kbytes
 Downloaded:  70 time(s)

 Filename example.war [Disk] Download
 Description my example application
 Filesize 11122 Kbytes
 Downloaded:  112 time(s)

judy.guglielmin

Joined: 20/Feb/2007 00:00:00
Messages: 1393
Offline


would it be possible to get the project instead of the war? Easier to see with the source code for the beans what is going on. You are also not using pages.xml (which is kind of a seam staple) for navigation (It's empty where your navigation rules are in the faces-config...should work, but it's not standard, so I'd have to test). Maybe just post the beans as the xhtml pages I can get from the war and just plug into a base project.
jonas.esser

Joined: 24/Jul/2008 00:00:00
Messages: 69
Offline


Hello,

the sourcecode of the "LocaleBean" is already in the /WEB-INF/classes/de/example.. folder.

Yes the navigation rules are in the faces-config. And yes the seam config seems to be a little bit incorrect. :-)
judy.guglielmin

Joined: 20/Feb/2007 00:00:00
Messages: 1393
Offline


opened jira 3655

But.....the current ICEfaces trunk works fine (1.8DR1)...so not sure if that is acceptable to you.
jonas.esser

Joined: 24/Jul/2008 00:00:00
Messages: 69
Offline


ok thanks :-)

I will try the current ICEFaces trunk.

Best regards,

Jonas
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team