The problem with some of this wizardly stuff is that when you build
pointy-clicky links from pgA->pgB->pgC, and then you want to create a link
from someplace else to somewhere in the middle of the sequence, it can be
hard to figure out what to do.
My preference would be not to use the pointy clicky stuff at all.
But anyhow, here goes:
1. You should have different data objects for pgDeptlist and pgDepemp.
2. Your href on pgDeptlist maps one or more fields from pgDeptlist to one
or more target columns in the data object on pgDepemp.
3. Your href on pgDeptlist maps zero or more fields from pgDeptlist to one
or more target fields on pgDepemp.
In order to load pgDepemp from a page other than pgDeptlist:
1. Get a reference to pgDepemp.
2. Get a reference to the data object on pgDeptemp
3. Clear dynamic criteria on the data object
4. For each target data object column in the pgDeptlist href, come up with
the appropriate value on your new source page, and use it to execute
addDynamicCriterion on the data object column.
5. For any target page field in the pgDeptlist href, come up with the
appropriate value on your new source page, get a reference to the field (or
use setDisplayFieldValue at page level) and set the value into the field.
6. call 'load' on pgDepemp, setting 'clearbeforedisplay' to 'false'.
-- Curt Springer, team ND
At 08:19 AM 4/16/99 -0400, [EMAIL PROTECTED] wrote:
>I have a problem with maintaining session information ?
>
> Option one : I have a search page on Departments (pgDepSrch), (QBE) ,
>which returns pgDeptlist . On clicking on a particular
>Dept no(href) on this pgDeptlist, I bring out the department information
>and employee information in pgDepemp.
>
>I am mapping dataobject fields on PgDeptlist to PgDemp ? Is it better to
>map between dataobjects to dataobjects on next page
>or between data objects and page object ?
>
>Option 2: Now I have another page which just lists Departments.An href link
>on this takes me to the PgDepemp.
>
>
>I go through option one select a department and view details onPgDepemp.
>Then I go through option 2 and select another
>department and go to PgDepemp.
> PgDepemp brings the same results as I did when I used the first option,
>although I selected another department number. How do
>I ensure that each search brings the right department number.
>do I use user session or page session object. If I do that how do I handle
>this ? Or do I clear criteria every time I call a dataobject.
>
>Any information on this will help
>
>I have anoth
>
>Sindhu
>
>
>
>
>
>
>
>_________________________________________________________________________
>
>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]
>
_________________________________________________________________________
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]