Brendan,

While the Next, Prev mechanism keeps the # of rows displayed and the First
Row number in PageSessionObjects, the dynamic criteria are kept in
UserSessionObjects. Not sure if it is a wise idea. If the primary concern
was built-in support for Next,Prev stuff  then PageSession would have been a
better place for them. This way the DynamicCriteria affect other pages using
the same DataObject. I can't imagine it being a useful feature. 

I confirmed the fact that they are stored in USO by making ND spit out the
contents of the UserSession.


Aby

> -----Original Message-----
> From: Johnston, Brendan   [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, May 24, 1999 4:36 PM
> To:   '[EMAIL PROTECTED]'; 'NetDynamics 4.x'
> Subject:      Re: [ND] Why do I have to execute the dataobject before
> 
> Vishal your list box example is a nasty one because List Boxes do their
> own
> caching.
> 
> What is displayed in a list box will depend on what was last in the list
> box
> control on the CP that generates the page, not the session that last
> generated the list box.
> 
> Putting dynamic criteria in a page session object is essential to make
> First, Previous, Next, Last buttons work.
> 
> If you hit the back button to see the list of telephone number for people
> in
> you department and hit next to get people after 'Fred Blogs' the criteria
> 'people in your department' needs to be reset.  The NetDynamics next
> processing fetches the criteria from page session objects, which seems
> reasonable to me.
> 
> I don't think that all the dynamic criteria for all data objects are
> stored
> in the page session for every page and I don't think it is autmatically
> restored.  The only stuff generated is what is necessary for the navigate
> processing provided by ND.
>  
> Brendan Johnston
> TeamND
> 
> 
>       -----Original Message-----
>       From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
>       Sent:   Monday, May 24, 1999 7:22 AM
>       To:     [EMAIL PROTECTED]
>       Subject:        Re: [ND] Why do I have to execute the dataobject
> before
> 
> 
>       Curt,
> 
>       I think 'dynamic criteria of a DO beiing sessionized as user session
> object' makes more sense. Let's consider a simple case- a page having a
> list
> box populated by a DO whose dyn. criteria 
>       is set during onBeforeDisplay event of the page. Now if dyn. 
>       criteria were not to be sessionized & let's say some other user 
>       changed the it right after the display of my page and 2 min. 
>       later I refreshed my page, the contents of the list box would 
>       change and that wouldn't be very nice of ND.
> 
>       Hope this makes sense
> 
>       Vishal
> 
> 
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to