Setter method is called after the button method...

Hello,

I use a layout like this

...
<field maxlength="5" width="150" valueprop="dailyTransfer" statusprop="dailyStatus"/>
<hdist width="5"/>
<button image="/images/neu_16.png" width="20" method="doAddDailyTransfer"/>
...

and in the adapter, there are the following methods available

...
    public void setDailyTransfer(String dailyTransfer)
    {
        m_DailyTransfer = dailyTransfer;
    }
    public void doAddDailyTransfer()
    {
      //...
    }
...

My problem is that the setter method is sometimes called after the method doAddDailyTransfer(). Even if I set the flush=“server” property… In nearly all other adapters used by me, nothing like this occurs… :?:

Can anyone help me?

Thanks in advance.

H. Johannes

Hello,
maybe it is sufficient to synchronize the two methods.
Put a call on the setter at the top of the other method.

It should doesn’t matter if the setter-method will be occasionally called twice.

Regards
Ingo Oellers