Hello everyone,

I'm trying to understand a very strange behavior. I'm using a webpage with a
tomahawk selectOneRow and a form.
The form input fields are supposed to be filled with values when the user
selects one rows, so he can also change the values and submit them.

well, it just won't work. When trying to select a row, the webpage comes
back with the initial values. After a little inspection, i have a trace
which shows me the values are correctly set when the user selects a row, but
the JSF system set the values back to their initial values before showing
the page back!

Am i understanding JSF the wrong way?
15:00:05,686 INFO  [TomcatAnnotationLifecycleProvider] Creating instance of 
com.xxx.xxx.xxx.beans.ServiceModificationBean
15:00:05,686 INFO  [STDOUT] getServiceList()
15:00:05,686 INFO  [STDOUT] refreshServiceList()
15:00:05,702 INFO  [STDOUT] 
setServiceList(servicelist=[com.xxx.xxx.model.serv...@80dc07, 
com.xxx.xxx.model.serv...@1dea27e][2])
15:00:05,702 INFO  [STDOUT] getSelectedServiceNbr() returns -1
15:00:05,702 INFO  [STDOUT] rowSelected(row=0)
15:00:05,702 INFO  [STDOUT] setSelectedServiceNbr(selectedServiceNbr=0)
15:00:05,702 INFO  [STDOUT] getServiceList()
15:00:05,702 INFO  [STDOUT] setMaxAttempts(maxAttempts=5)
15:00:05,702 INFO  [STDOUT] getServiceList()
15:00:05,702 INFO  [STDOUT] setPendingTimeout(pendingTimeout=5)
15:00:05,702 INFO  [STDOUT] getServiceList()
15:00:05,702 INFO  [STDOUT] setTimeoutPeriod(timeoutPeriod=5)
15:00:05,702 INFO  [STDOUT] getSelectedServiceNbr() returns 0
15:00:05,702 INFO  [STDOUT] getTimeoutPeriod() returns 5
15:00:05,702 INFO  [STDOUT] getPendingTimeout() returns 5
15:00:05,702 INFO  [STDOUT] getMaxAttempts() returns 5
15:00:05,702 INFO  [STDOUT] setSelectedServiceNbr(selectedServiceNbr=0)
15:00:05,702 INFO  [STDOUT] setSelectedServiceNbr(selectedServiceNbr=-1)  
//Wait, WHAT?
15:00:05,702 INFO  [STDOUT] setTimeoutPeriod(timeoutPeriod=-1)                  
        
15:00:05,702 INFO  [STDOUT] setPendingTimeout(pendingTimeout=-1)
15:00:05,702 INFO  [STDOUT] setMaxAttempts(maxAttempts=-1)
15:00:05,717 INFO  [STDOUT] getServiceList()
15:00:05,717 INFO  [STDOUT] getSelectedServiceNbr() returns -1
15:00:05,717 INFO  [STDOUT] getSelectedServiceNbr() returns -1
15:00:05,717 INFO  [STDOUT] getSelectedServiceNbr() returns -1
15:00:05,717 INFO  [STDOUT] getTimeoutPeriod() returns -1
15:00:05,717 INFO  [STDOUT] getTimeoutPeriod() returns -1
15:00:05,717 INFO  [STDOUT] getPendingTimeout() returns -1
15:00:05,717 INFO  [STDOUT] getPendingTimeout() returns -1
15:00:05,717 INFO  [STDOUT] getMaxAttempts() returns -1
15:00:05,717 INFO  [STDOUT] getMaxAttempts() returns -1

Attachment: page.xhtml
Description: application/xhtml

Reply via email to