A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JSF2 Page not loading on Redirect
Joined: Aug 30, 2011
Oct 25, 2011 04:21:50
I have a page within my JSF2/Iceface WebApp, that when the navigation is called to it, appears to not navigate.
I see no errors in my logs, it appears that all the Java functions as expected in the preceding page, and returns the correct navigation rule. however the view is not updated.
I have simplified the page to navigate to, to only include basic components.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:icecore="http://www.icefaces.org/icefaces/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:lib="http://component.com/cwi/liberate"> <h:head></h:head> <h:body> <h:form id="form1"> <p>Some Content</p> </h:form> <h:form id="form2"> <p>Some ContentAgain</p> </h:form> </h:body> </html>
This Issue is made more confusing, if i alter the second h:form to create a duplicate ID I see the expected
SEVERE: JSF1007: Duplicate component ID form1 found in view
warning in the logs.
This confirms that the navigation is executed, and the page is exists.
Is there any reason why the navigation / view would not update.
Note: This application functions when using my previous version (Icefaces 1.8 JSF1.2)
Any help would be greatly appreciated
I agree. Here's the link:
subject: JSF2 Page not loading on Redirect
Bean value not maintained in RequestScoped
Why events are not fired when value changes in h:selectOneMenu? I am stuck!
First Cup: Java EE Tutorial
Bug in chrome
Error:The XML page cannot be displayed Cannot view XML input using style sheet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014