2014-02-27 188 views
2

我有一个H:dataTable中与JSF 2.2渲染TBODY

 <h:column> 
      <f:facet name="header"> 
       <h:inputText value="#{proxyUserListHandler.usernameSearch}" styleClass="form-control" p:placeholder="username"> 
        <f:ajax event="keyup" execute="@this" render=":form1:updateme" /> 
        <f:ajax event="change" execute="@this" render=":form1:updateme" /> 
       </h:inputText> 
      </f:facet> 
     </h:column> 

是有可能只呈现TBODY?因为当我使整个表中的输入失去专注

回答

0

我发现的唯一的可能性与UI手动创建表:重复,然后给予TBODY的ID与新的HTML5的JSF集成

xmlns:jsf="http://xmlns.jcp.org/jsf" 

<tbody jsf:id="table_body"> 

现在我可以访问它

<f:ajax render="table_body"