Have the problem that the entity is updated without a submit.
Once I have changed the value of the drop-down-menu it's directly updated to 
database.

This should not the correct behaviour!?! But I don't know why?


  | <s:decorate id="generationDecorator" template="edit.xhtml">
  |     <ui:define name="label">Generation:</ui:define>
  |     <h:selectOneMenu id="gen" value="#{specialrelease.generation}" 
converter="#{selectItemHelper}" required="true">
  |             <f:selectItems value="#{specialreleaseeditor.allGenerations}"/>
  |             <a:support event="onblur" reRender="generationDecorator"/>
  |     </h:selectOneMenu>
  |     <f:verbatim>
  |             <a 
href="javascript:Richfaces.showModalPanel('_gpanel',{left:'auto', top:'auto'})">
  |                     New Generation
  |             </a>
  |     </f:verbatim>
  |     <br  />
  |     <s:message></s:message>
  | </s:decorate>
  | 
  | 

This is what to see in console firsthand of change. 

  | 15:22:06,480 INFO  [STDOUT] Hibernate: update specialreleases set 
version=?, generation_id=?, creater_id=?, requestNumber=?, description=?, 
requestYear=?, status=?, document=?, numberOfParts=?, valideToDate=?, 
permitDate=?, timerHandle=? where id=? and version=?
  | 

Is this possible in case of a wrong configuration or what can it be? 

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

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

Reply via email to