NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: terryd on October 26, 2008, 03:15:50 AM

Title: Browse and child problem (alaWeb25 example)
Post by: terryd on October 26, 2008, 03:15:50 AM
Nettalk4 PR17
I am trying to create a browse and child browse on the same page (ala WEB25).
My parent and child display. As I click on a parent other than the parent already selected by the procedure nothing changes to the child iow the same child records displayed for the original parent.
If I click on a sort header on the child after selecting another parent then the correct child records for the new parent appear.
It seems as if after I click on the parent some action is missing to change the parent unique id.
If e.g. I click on a parent record then go back to my menu and then back into the browse again the parent I selected is highlighted and the related child records for that parent are correctly displayed.
Get on webserver on Web25 when click on a new parent
GET /browselineitems_browseinvoices?refresh=INV:ID&INV__ID=2&_ParentProc=BrowseInvoices&_Silent=0&_= HTTP/1.1
Get on my webserver when click on new parent
GET /productbrowse?_Clicked=1&id=PRO:ProductID&Value=5&_ParentProc=&_= HTTP/1.1
What am I missing?
Title: Re: Browse and child problem (alaWeb25 example)
Post by: Bruce on October 27, 2008, 02:13:58 AM
Hi Terry,

Does the child browse have xHMTL ticked on for the header, sub-header or any column?
Does it have any embedded xHTML code - ie on the xHTML tab or in source code?
What does the _filter_ for the child browse look like?

Cheers
Bruce

Title: Re: Browse and child problem (alaWeb25 example)
Post by: terryd on October 27, 2008, 07:39:25 AM
Does the child browse have xHMTL ticked on for the header, sub-header or any column?
No
Does it have any embedded xHTML code - ie on the xHTML tab or in source code?
None
What does the _filter_ for the child browse look like?

  Loc:Selected = Choose(p_web.IfExistsValue('STO:StockID'),p_web.GetValue('STO:StockID'),p_web.GetSessionValue('STO:StockID'))
    PRO:ProductID = p_web.RestoreValue('PRO:ProductID')
    loc:FilterWas =  'STO:ProductID = ' & PRO:ProductID
  ThisView{prop:Filter} = loc:FilterWas
Title: Re: Browse and child problem (alaWeb25 example)
Post by: David on October 27, 2008, 11:15:30 AM
Terry,

This may have been fixed in the latest PR release, but if your browse is part of a form, then there are intermittent issues with children of the browse and EIP.
Title: Re: Browse and child problem (alaWeb25 example)
Post by: Bruce on October 27, 2008, 10:48:24 PM
Hi Terry,

I think you need to send me an example.

Cheers
Bruce