B
Bloody Viking
Hi.
I'm a JSF newbie.
I am developing an app that has significant initialization. I've put
all that in a bean. I'm displaying a page while it initializes, with a
button to press. But I'd really like it simply to display a message
while the initialization is happening, and have it automatically
display the next JSF page when the bean returns. How would I do that?
The current JSF for this page is:
<!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">
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<head><title>WebPrints Initialization</title></head>
<body>
<jsp:useBean id="init" class="com.pedheart.prints.InitializerBean"
scope="session"></jsp:useBean>
<f:view>
<h2 align="center"> <hutputText value="#{msg.waitForIt} #{msg.app}
</body>
- Paul Lieberman
</html>
I'm a JSF newbie.
I am developing an app that has significant initialization. I've put
all that in a bean. I'm displaying a page while it initializes, with a
button to press. But I'd really like it simply to display a message
while the initialization is happening, and have it automatically
display the next JSF page when the bean returns. How would I do that?
The current JSF for this page is:
<!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">
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<head><title>WebPrints Initialization</title></head>
<body>
<jsp:useBean id="init" class="com.pedheart.prints.InitializerBean"
scope="session"></jsp:useBean>
<f:view>
<h2 align="center"> <hutputText value="#{msg.waitForIt} #{msg.app}
</f:view>#{msg.event}"> said:</h:form>
</body>
- Paul Lieberman
</html>