Page Refresh Default Value not working.

Page Refresh Default Value not working.

  
Hi All,

I have 4 combo boxes for filtering and I put them on a 'webblock' for reusability and each combo boxes has its own variable and each variables has its own default value and now when I refresh the parent screen who has this 'filtering weblock' the previous selected value is choosen. Even I assign the value for each variables in the preparation of the 'webblock' it didn't work. How can I fix this?
Hi Mikro,

If you Ajax refresh a web block, its preperation will run. In that case, local variables will get their default value and any value you set in the preperation. Note that in general, web blocks should only be used for presentation, unless any action that works on the web block's data is contained in the web block. The reason for this is that the parent screen can't easily retrieve values that are set in the web block.