5 Replies Latest reply on Jun 28, 2007 6:16 AM by carlos inigo

    entity update without submit

    Andreas Franke Apprentice

      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"/>
       <a href="javascript:Richfaces.showModalPanel('_gpanel',{left:'auto', top:'auto'})">
       New Generation
       <br />

      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?