DR3 & BETA 1 : navigation rules aren't working
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
DR3 & BETA 1 : navigation rules aren't working  XML
Forum Index -> Development Build Feedback Go to Page: 1, 2 Next 
Author Message
crawling5

Joined: 19/09/2007 00:00:00
Messages: 30
Offline


Hello,

I'm using the Beta1 since today and my navigation rules aren't working now (it worked before with the DR2).

The bean of my second page is created, but the second page isn't display.

Another thing : if I ask a redirect, there's no problem.


Somebody can help me ?
Admin

Joined: 27/05/2004 00:00:00
Messages: 199
Offline


This thread has been moved from the General Help forum to the Development Build Feedback forum.

Admin
pred


Joined: 09/07/2007 00:00:00
Messages: 87
Offline


MMh this is working for me :s ( I use nav rules to login/logout )

- Stephane Maldini
crawling5

Joined: 19/09/2007 00:00:00
Messages: 30
Offline


I'm using JSF 1.1, IceFaces Beta 1 and impossible to go to a ifaces page from another one.

Only my navigation to the menu works. The others don't dispay the page, but it's loaded (my bean is created).

The working rule :
Code:
 <navigation-rule>
   <from-view-id>*</from-view-id>
   <navigation-case>
    <from-outcome>quit</from-outcome>
    <to-view-id>/index.html</to-view-id>
    <redirect/>
   </navigation-case>
 </navigation-rule>
 



Another rule :
Code:
 <navigation-rule>
   <from-view-id>/demo/myTable.xhtml</from-view-id>
   <navigation-case>
    <from-outcome>liste</from-outcome>
    <to-view-id>/demo/myTableList.xhtml</to-view-id>
   </navigation-case>
  </navigation-rule>
 


I've looked the log file and ther's no exception. All is right.

Another thing : if I give the url to the browser, my page is correctly displayed.
crawling5

Joined: 19/09/2007 00:00:00
Messages: 30
Offline


When I use the debug log, this is the ouput with the DR2

Code:
 ...
 09:11:53,301 DEBUG [PathDispatcher] path: /comptaclientss/comptaclient/saisieMouvementFP.iface
 ...
 09:11:53,348 DEBUG [NormalModeSerializer] javax.servlet.include.request_uri = null
 09:11:53,348 DEBUG [NormalModeSerializer] javax.servlet.include.servlet_path = null
 09:11:53,348 DEBUG [NormalModeSerializer] treating request as a whole page (not a fragment)
 09:11:53,348 DEBUG [RequestContextFilter] Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@c8673
 09:11:53,348 DEBUG [RequestContextListener] Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@c8673
 09:11:53,880 DEBUG [RequestContextListener] Bound request context to thread: org.apache.catalina.connector.RequestFacade@c8673
 09:11:53,880 DEBUG [RequestContextFilter] Bound request context to thread: org.apache.catalina.connector.RequestFacade@c8673
 09:11:53,880 DEBUG [PathDispatcher] path: /comptaclientss/xmlhttp/blank
 09:11:53,880 DEBUG [RequestContextFilter] Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@c8673
 09:11:53,880 DEBUG [RequestContextListener] Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@c8673
 09:11:53,880 DEBUG [RequestContextListener] Bound request context to thread: org.apache.catalina.connector.RequestFacade@c8673
 09:11:53,880 DEBUG [RequestContextFilter] Bound request context to thread: org.apache.catalina.connector.RequestFacade@c8673
 09:11:53,880 DEBUG [PathDispatcher] path: /comptaclientss/xmlhttp/css/xp/css-images/selection_spacer.gif
 09:11:53,896 DEBUG [RequestContextFilter] Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@c8673
 09:11:53,896 DEBUG [RequestContextListener] Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@c8673
 


And with the beta 1
Code:
 09:04:59,759 DEBUG [BridgeFacesContext] javax.servlet.include.request_uri = null
 09:04:59,759 DEBUG [BridgeFacesContext] javax.servlet.include.servlet_path = null
 09:04:59,759 DEBUG [BridgeFacesContext] javax.servlet.include.request_uri = null
 09:04:59,759 DEBUG [BridgeFacesContext] javax.servlet.include.servlet_path = null
 09:04:59,759 DEBUG [BridgeFacesContext] javax.servlet.include.request_uri = null
 09:04:59,759 DEBUG [BridgeFacesContext] javax.servlet.include.servlet_path = null
 09:04:59,759 DEBUG [NormalModeSerializer] treating request as a whole page (not a fragment)
 09:04:59,790 DEBUG [RequestContextFilter] Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@138218
 09:04:59,790 DEBUG [RequestContextListener] Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@138218
 09:05:00,182 DEBUG [RequestContextListener] Bound request context to thread: org.apache.catalina.connector.RequestFacade@138218
 09:05:00,182 DEBUG [RequestContextFilter] Bound request context to thread: org.apache.catalina.connector.RequestFacade@138218
 09:05:00,182 DEBUG [PathDispatcher] path: /comptaclientss/xmlhttp/blank
 09:05:00,182 DEBUG [RequestContextFilter] Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@138218
 09:05:00,182 DEBUG [RequestContextListener] Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@138218
 
 Filename log_BETA1.txt [Disk] Download
 Description The complete log with the beta 1
 Filesize 95 Kbytes
 Downloaded:  131 time(s)

 Filename log_DR2.txt [Disk] Download
 Description The complete log with de DR2
 Filesize 39 Kbytes
 Downloaded:  164 time(s)

crawling5

Joined: 19/09/2007 00:00:00
Messages: 30
Offline


This is a small sample project with Maven2 and JBoss 4.0.5.
It contains only 3 pages (2 iface). On the index.xhtml (the first page displayed), you have a button to go to page2.xhtml. The page2.xhtml calls Test2Bean (Test2Bean writes a message in the constructor).

I can click on the button several time, the page2 is never displayed.


Nobody has an idea ?
 Filename WebTest.zip [Disk] Download
 Description
 Filesize 8328 Kbytes
 Downloaded:  58 time(s)

crawling5

Joined: 19/09/2007 00:00:00
Messages: 30
Offline


Nobody to help me ?
It's a problem for me to use the DR2
gio2375

Joined: 14/11/2007 00:00:00
Messages: 18
Offline


Hi, I've the same problem!!

How did you fix it?
philip.breau


Joined: 08/05/2006 00:00:00
Messages: 2691
Offline


Try out the head build. This has just been fixed: http://jira.icefaces.org/browse/ICE-2823

Philip

.
gio2375

Joined: 14/11/2007 00:00:00
Messages: 18
Offline


Hi,

I still have the same problem.

Regards
Giovanni
philip.breau


Joined: 08/05/2006 00:00:00
Messages: 2691
Offline


If you'd like to provide us with a test case we can look at it.

Thanks,
Philip

.
gio2375

Joined: 14/11/2007 00:00:00
Messages: 18
Offline


Hi,

my project is in attachement. You have to add the library only.
Sorry but i've not so mutch time to clean my code.


I use 1.7.0RC1 version on tomcat 6 and I added these library:
backport-util-concurrent.jar
commons: beanutils, collections, digester, discovery, el, fileupload, logging
icefaces.jar
icefaces-comps.jar
jsf-api-1.2.jar
jsf-impl-1.2.jar
jstl.jar

If you run my apps you can login with any usr/password (check is disabled).
After login on top you can see 2 link apart from exit link, if you click on the first and then on the second and after back on the first and so on, all works.
But if you, after login, click on the second lik and then on the first, you will not see the correct page but you will see login page.

Many thanks for help
Giovanni
 Filename Test.zip [Disk] Download
 Description Test project
 Filesize 498 Kbytes
 Downloaded:  134 time(s)

philip.breau


Joined: 08/05/2006 00:00:00
Messages: 2691
Offline


Sorry, I can't build your app. You have a lot of compilation dependencies.

Philip

.
gio2375

Joined: 14/11/2007 00:00:00
Messages: 18
Offline


Sorry.....try this please.

Regards
Giovanni
 Filename Test.zip [Disk] Download
 Description
 Filesize 473 Kbytes
 Downloaded:  246 time(s)

philip.breau


Joined: 08/05/2006 00:00:00
Messages: 2691
Offline


sigh...your app still doesn't compile and still has other dependencies. Please try to provide a *simple* example. Demonstrating this problem should not take 53 classes and 28 JSP files.

Philip

.
 
Forum Index -> Development Build Feedback Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team