[jboss-user] [JBoss Seam] - multiple calls to same method from <s:div rendered...>
asookazian
do-not-reply at jboss.com
Tue Sep 25 17:05:22 EDT 2007
The getSeedSelection method in the SFSB named userRoleSearch is being exec'd six times when the following JSF is rendered. Why?
filterRoles.xhtml:
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
| <ui:composition xmlns="http://www.w3.org/1999/xhtml"
| xmlns:s="http://jboss.com/products/seam/taglib"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:c="http://java.sun.com/jstl/core"
| xmlns:rich="http://richfaces.ajax4jsf.org/rich"
| template="layout/template.xhtml">
|
|
|
|
| <ui:define name="body">
|
| <h:messages globalOnly="true" styleClass="message"/>
|
| <rich:panel>
| <h:form>
| <h:panelGrid id="roles_grid" columns="1">
| <h1><h:outputText id="userRoleInfo" value="Filter by Role(s)"/></h1><br/>
|
| <h:selectBooleanCheckbox/>
| <b><h:outputText id="labelViewAll" value="View All"/></b>
| <br/><br/>
|
| <s:div rendered="#{userRoleSearch.seedSelection}">
|
| </h:panelGrid>
| </h:form>
| </rich:panel>
|
| </ui:define>
| </ui:composition>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088588#4088588
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088588
More information about the jboss-user
mailing list