NetTalk Central

Author Topic: Weird frame refresh  (Read 4310 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Weird frame refresh
« on: June 24, 2009, 10:42:08 AM »
Hi,

Site with main frame and two other frames below, similar to the exaple 27.
My site began with the Login Page, in that page, I have a button to register as a new user.
This button links to a Form set to Defaul Form Action = Insert.
This Form have some required fields.

If I leave blank the URL in Save and URL on Cancel
Pressing Cancel goes back ok to the Login Page
Pressing Save with errors in some field it displays the error ok and theres still the 3 frames.
PROBLEM: Pressing Save without errors the site (the 3 frames) repeats in the LoginPage frameset

If I set the URL on save to 'FramePage' '_top'
Pressing Cancel goes back ok to the Login Page
PROBLEM: Pressing Save with errors in some field it displays the error but without the 3 frames, only the form.
Pressing Save without errors it goes back ok to the Login Page

How can I solve it?

Thanks
Alberto

-----------
Regards
Alberto

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Weird frame refresh
« Reply #1 on: June 27, 2009, 04:20:01 AM »
PLease Bruce, may be Im not clear?

Thanks
Alberto
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Weird frame refresh
« Reply #2 on: June 29, 2009, 12:34:31 AM »
I think this has been fixed in 4.35.
It seems to only affect IE, not FireFox. Test to see if that's the case, which will confirm it's the same "sort" of issue.

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Weird frame refresh
« Reply #3 on: June 29, 2009, 02:41:18 AM »
Hi Bruce,

4.35, web folder updated, still same problem in IE8 and FB.

Alberto

-----------
Regards
Alberto

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Weird frame refresh
« Reply #4 on: June 29, 2009, 03:11:01 AM »
Hi Bruce,

I've modified the Example 27.

You will see a "Reg as a new user" button, click it, it will open the Register form, click the Register (Save) button and you will see the effect.

Attached goes app27.app and settings.dct

Please take a look.
Alberto

[attachment deleted by admin]
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Weird frame refresh
« Reply #5 on: July 01, 2009, 02:57:25 AM »
Hi Alberto,

you're setting the target to '_top', so when the button is pressed the frames are lost. (You can't update the right-hand frame, because it is no longer there, the browser has thrown it away.)

My recommendation would be to make the "successful registration" go to a "welcome" page, in the same frame, and then from that page have a link to refresh the frameset.

Cheers
Bruce