Hi,
This is the code:
    def setValue(self, evt = None):
                try:
                        sessione = self.Application.Sessione
                        anno = sessione['anno']
                except:
                        anno = None
                if anno:
                        self.selectFields['ANNO']["ctrl"].Value = anno
                        self.onRequery(evt)
                return

The method is defined in SelectPage.
To call onQuery() is mandatory if we want to update also the grid. Otherwise 
it's commentable.
It's an example because different selectPages can have the necessity to set 
more value to be consistent with the session parameters.

Enrico
                                          

--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to