I have a problem with seam generator edit pages.
When a generated pojo has a complex object inside it, seam gen generates in the 
edit page a rich:tab with the following code.
<rich:tab label="entidad *" labelClass="required">
  |     <div class="association" id="entidadParent">
  |     
  |         <h:outputText value="No entidad" 
  |                     
  |                    rendered="#{operacionHome.instance.entidad == null}"/>
  |         
  |         <rich:dataTable var="entidad" 
  |                    value="#{operacionHome.instance.entidad}" 
  |                 rendered="#{operacionHome.instance.entidad != null}"
  |               rowClasses="rvgRowOne,rvgRowTwo"
  |                       id="entidadTable"
  |                       bypassUpdates="true">
  |             <h:column>
  |                 <f:facet name="header">empresa</f:facet>
  |                 #{entidad.empresa.nombre}
  |             </h:column>
  |             <h:column>
  |                 <f:facet name="header">nombre</f:facet>
  |                 #{entidad.nombre}
  |             </h:column>
  |             <h:column>
  |                 <f:facet name="header">numerocnmv</f:facet>
  |                 #{entidad.numerocnmv}
  |             </h:column>
  |             <h:column>
  |                 <f:facet name="header">isin</f:facet>
  |                 #{entidad.isin}
  |             </h:column>
  |         </rich:dataTable>
  | 
  |         <div class="actionButtons">
  |             <s:button  value="Select entidad" bypassUpdates="true"
  |                         view="/EntidadList.xhtml">
  |                 <f:param name="from" value="OperacionEdit"/>
  |             </s:button>
  |         </div>
  |         
  |     </div>
  |     </rich:tab>
When I press the botton and I bring the object entidad the following update is 
aoutomatically executed  without press the save button:


  | 10:28:30,488 INFO  [STDOUT] Hibernate: update fondval.dbo.operacion set 
entidadid=?, ctapersonasid=?, activoid=?, volumen=?, divisaid=?, sistema=?, 
precio=?, fecha=?, mercadoid=?, tipoprecio=?, tipo=?, referencia=? where 
operacionid=?
  | 

Can you help me with this question, please?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058600#4058600

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058600
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to