David Geary advised me to use "rendered" attribute of view of subview, like this: <f:subview id="step1" rendered="#{wizardBean.step1}"> You can stick whatever code you want into the method, and simply return true. I don't know is there a better way to do this.
Michael. On 8/22/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > What I'm trying to figure out is the best way to handle setting up an > initial page when someone goes to the welcome page defined in web.xml > (ie index.jsp). What's the best way to handle this? On page 20 of Core > JSF they give the example of doing something like <jsp:forward > page="/index.faces"/> but I don't see how this would ever trigger a > method in my backing bean? > > For example, in this sample CRUD app I was wanting to load a list of > employees right away that would show up on "employees.jsp" I'm keeping > this simple and will make this call to getEmployees in my > EmployeeBacking bean, but I'm unclear about the best using JSF to fire > this method and forward to the appropriate page when the user simply > goes to foobarApp/index.jsp ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]