On Apr 6, 2011, at 11:00, enrico secco <[email protected]> wrote:
>
> Hi,
> I'm using separate bizobj for each page.
> I try to describe better the problem: a typical session o work ca be
> 1) define a session
> 2) open 2 or 3 secondary pages to elaborate dependent data
> 3) save the work ...
> 4) ...
> n) define a session
> n+1) open 2,3 or 4 secondary ...
>
> Now the problem is not the first session of work, because the user
> open the secondary pages with a session already setted.
> So is sufficient check the session on sturtup when the user open the
> page.
>
> But for e following session the user have the pages, couldbe,
> already open. In this situation the user can select the page from
> the windows list and find the page opened with the data relative to
> the precedent session.
>
> So it will necessary that the page already open, but now in
> background, called in foreground do a refresh of the data to be
> consistent with the new session.
> I did try some event to run a custom method of the select page, but
> it seems I don't find the correct event (if ther is one...) of the
> page that come in foreground.
>
> Just now I have only a 'manual' sollution: in any pages I put a
> button 'refresh session' and the user must remember to refresh.
> Simple but absolutely horrible.
>
> An other possibility is test the existence of the secondary pages
> when I save the session and if I find the page I can run a reset of
> the data.
> But if the user have all the pages open the application can hang for
> a lot to run all the refresh of the data, also for pages that the
> user don't will use.
>
> Enrico
Please post the code in your manual button.
Paul
_______________________________________________
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]