Platform
Learn
Community
Support
Partner Center
Sign up
or
Log in
logout
Account Settings
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Learn
Training
Documentation
Evaluation Guide
What's New
Community
Home
Forums
Forge
Ideas
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Sign up
or
Log in
Home
Forums
Forge
Ideas
Members
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
Why isn't my AJAX Refresh working?
Community
›
Forums
›
Technology & Integration
Why isn't my AJAX Refresh working?
New Post
New Post
Justin James
mvp_badge
mvp_label
Posted on 2011-03-30
Justin James
mvp_badge
mvp_label
Rank: #4
Posted on 2011-03-30
So, I found the world's most obscure "gotcha" today... I spent an hour trying to figure out why my AJAX refresh wasn't working. It turns out, a Popup_Editor on the screen was throwing a JS error... the one about how the link type isn't "Navigate". But here's where it gets really funny...
... the link type *was* "Navigate"!
The underlying problem was that the link was being disabled under certain conditions. When a link is disabled but still on the screen, it's type is "undefined" and as a result, the JavaScript hooking Popup_Editor to it was failing. Along the way, the scripts were halting, which was keeping my AJAX Refresh from working!
So... the morals of the story are:
1. If AJAX Refresh isn't working, bring up a JS debugger and look for errors.
2. Don't disable links that are tied to Popup_Editor.
3. OutSystems should fix the bug (I consider it a bug, at least) where a JS error at this stage prevents the rest of the page from working correctly (it should only impact that one link).
J.Ja
Rafael Pereira
mvp_badge
mvp_label
Posted on 2011-03-30
Rafael Pereira
mvp_badge
mvp_label
Rank: #239
Posted on 2011-03-30
Solution
Hi JJ,
Old topic:
http://www.outsystems.com/NetworkForums/ViewTopic.aspx?Topic=Popup-Editor-with-disabled-link
And about the behavior, I agree...
Regards,
Rafael Pereira
Solution
Justin James
mvp_badge
mvp_label
Posted on 2011-03-30
Justin James
mvp_badge
mvp_label
Rank: #4
Posted on 2011-03-30
Solution
Rafael -
Nice to know I'm not the only one! :) Thanks for passing that on. I was getting ready to start searching when I figured it out...
J.Ja
Solution
Quick Reply
attachment
Choose File
No file chosen
Submit
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Community Quick Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...