NetTalk Central

Author Topic: Browse refresh  (Read 5859 times)

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Browse refresh
« on: July 20, 2012, 12:36:29 AM »
I am new to NetTalk webserver. I made some tables and forms to interface with my desktop application data. It works well and I am learning a lot but I have a problem with browse refresh. I am using standard navigation buttons and standard sort options. When I push button "Next" nothing changed on browse but if I immediately after that refresh browse with F5 then it show next page. Same for resorting.

Where did I go wrong or what am I missing?

Best regards,

Djordje Radovanovic

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Browse refresh
« Reply #1 on: July 20, 2012, 03:54:46 AM »
something in your browse is not xHtml complaint.
if you have added anything to the xHTML tabs, or you've ticked on the "allow xHtml" anywhere, then you are responsible to make sure that code _is_ xHtml complaint.

One way to "see" the rely you're getting back, after clicking on the Next button, is to use Firefox, with Firebug (www.getfirebug.com), then in the "console" tab you can expand the request, and at the top of that response is an "xml" tab. click on that to see where your html is wrong.

cheers
Bruce

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Browse refresh
« Reply #2 on: July 21, 2012, 10:46:30 PM »
Bruce was right. There were an error on the page in xHtml part. I was using win1250 charset but some letters causes an error. I changed to utf-8 and now it works, but not for all characters. My database using win1250. What will be winning combination for that charset definition and xHtml?

Best regards,

Djordje Radovanovic

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Browse refresh
« Reply #3 on: July 22, 2012, 09:43:55 PM »
In a normal Clarion program, what do you set the Charset to for the data you currently have stored?
eg Central Europe, Eastern Europe etc?

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Browse refresh
« Reply #4 on: July 23, 2012, 03:30:52 AM »
In Clarion program charset is Central Europe.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Browse refresh
« Reply #5 on: July 23, 2012, 05:11:54 AM »
ok, then on Advanced tab in web server procedure,
set "charset" to 'utf-8' and "save as" to Central Europe.

cheers
Bruce

kashiash

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Email
Re: Browse refresh
« Reply #6 on: July 26, 2012, 01:35:03 PM »
Hi Bruce
I have the same problem.
When i press next or last then nothing happens ;(. but when i press refresh on web browser my app display correct data (like after last button press).
locators dont work (till i press refresh)
I dont use xhtml.
My tables are in ms sql, and i have conditional filters on this browse i.e. : 'DS_2:Customer= ' & p_web.GSV('Customer') & ' and DS_2:Status = 20434'
whats wrong
« Last Edit: July 26, 2012, 02:00:19 PM by kashiash »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Browse refresh
« Reply #7 on: July 26, 2012, 10:39:18 PM »
same reply as above Jacek;

--
something in your browse is not xHtml complaint.
if you have added anything to the xHTML tabs, or you've ticked on the "allow xHtml" anywhere, then you are responsible to make sure that code _is_ xHtml complaint.

One way to "see" the rely you're getting back, after clicking on the Next button, is to use Firefox, with Firebug (www.getfirebug.com), then in the "console" tab you can expand the request, and at the top of that response is an "xml" tab. click on that to see where your html is wrong.