NetTalk Central

Author Topic: Browse and child problem (alaWeb25 example)  (Read 2870 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Browse and child problem (alaWeb25 example)
« 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?
« Last Edit: October 26, 2008, 03:37:13 AM by terryd »
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: Browse and child problem (alaWeb25 example)
« Reply #1 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


terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Browse and child problem (alaWeb25 example)
« Reply #2 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
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

David

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: Browse and child problem (alaWeb25 example)
« Reply #3 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.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: Browse and child problem (alaWeb25 example)
« Reply #4 on: October 27, 2008, 10:48:24 PM »
Hi Terry,

I think you need to send me an example.

Cheers
Bruce