Register / Login
Win a copy of
The Way of the Web Tester: A Beginner's Guide to Automating Tests
this week in the
JSF2 Page not loading on Redirect
posted 5 years ago
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
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
Bean value not maintained in RequestScoped
Bug in chrome
First Cup: Java EE Tutorial
Why events are not fired when value changes in h:selectOneMenu? I am stuck!
Error:The XML page cannot be displayed Cannot view XML input using style sheet