Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Javascript caching

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Javascript caching

    This I'll wait on - we went to great lengths to get everything working the way we want on the iPad. If the third piece (below) here doesn't work I might try this:
    Code:
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    This we already have:
    Code:
    <meta name="apple-mobile-web-app-capable" content="yes" />
    This I've inserted, but will have to wait for one of the other guys to test it tonight since I can' reproduce the problem
    Code:
    <script type="text/javascript" src="javascript/a5.js"></script>
    Thanks
    -Steve
    sigpic

    Comment


      #17
      Re: Javascript caching

      Steve,

      Alos make sure to check out this video: http://www.ajaxvideotutorials.com/V1...checkboxes.swf
      Frank

      Tell me and I'll forget; show me and I may remember; involve me and I'll understand

      Comment


        #18
        Re: Javascript caching

        Steve,

        One other thing that comes to mind is that with the move to mobile you don't want to work with grids anymore but rather with the dialog (UX) component
        Frank

        Tell me and I'll forget; show me and I may remember; involve me and I'll understand

        Comment


          #19
          Re: Javascript caching

          Well, OERCA is well underway and in production, so I can't move anything to V12 quite yet. Got another large project near approval (I think) that will be done all in V12 -- should be a lot of fun.

          Back later, asap when we've had a chance to test the tags you've suggested.
          -Steve
          sigpic

          Comment


            #20
            Re: Javascript caching

            Michael - no, don't have a solution. Odd thing is a few of us using iPad have no problem, but most can reproduce it pretty regularly. Still investigating and cannot ask my users around the world to switch to Chrome on their iPads - just can't do that. Plus, I shouldn't have to.
            Steve, are you using iOs6 on your iPad? I didn't have a problem either until I upgraded.
            Jim Coltz
            Alpha Custom Database Solutions, LLC
            A5CustomSolutions.com
            [email protected]

            Comment


              #21
              Re: Javascript caching

              Jim, I see that my iPad is at 5.1, and I'm not having the problem. I know one other person with an iPad One has not had the problem. I'm checking with others to see what they're using. Waiting to find that out before advancing mine to see if it changes the behavior I experience.

              If that's the case, do you have any suggested fix? As I've tried to describe below, the problems aren't with big fancy homegrown AJAX callbacks I'm creating, but with Alpha's built-in functionality. Checking a checkbox in the checkbox column, then recording data from two fields at Submit time.
              -Steve
              sigpic

              Comment


                #22
                Re: Javascript caching

                Since you're running 5.1 without the problem you may find that 6 is the culprit. If so, the solution is to convince Safari that the requests are new, so it completes the call back to the server instead of serving up old data from the cache. I use a time stamp as in: "var _timestamp = new Date().getTime();", and add it to the callback parameters. Doing this with A5 grids and stuff will probably require an update from Alpha.
                Jim Coltz
                Alpha Custom Database Solutions, LLC
                A5CustomSolutions.com
                [email protected]

                Comment


                  #23
                  Re: Javascript caching

                  Yup, just finished my upgrade to iOS6, and now have the problem on my very own iPad.

                  I wonder how to submit this to Alpha for any adjustment? Alternatively, what else might we try?
                  -Steve
                  sigpic

                  Comment


                    #24
                    Re: Javascript caching

                    iOS7?
                    Al Buchholz
                    Bookwood Systems, LTD
                    Weekly QReportBuilder Webinars Thursday 1 pm CST

                    Occam's Razor - KISS
                    Normalize till it hurts - De-normalize till it works.
                    Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
                    When we triage a problem it is much easier to read sample systems than to read a mind.
                    "Make it as simple as possible, but not simpler."
                    Albert Einstein

                    http://www.iadn.com/images/media/iadn_member.png

                    Comment


                      #25
                      Re: Javascript caching

                      Originally posted by Steve Workings View Post
                      Yup, just finished my upgrade to iOS6, and now have the problem on my very own iPad.

                      I wonder how to submit this to Alpha for any adjustment? Alternatively, what else might we try?
                      Destroy Apple's headquarters with a 50 ft. tall Android™ and give everyone at FoXconn free Jelly Bean™ until they get sick and can't work?

                      Now back to your regularly scheduled thread........

                      Comment


                        #26
                        Re: Javascript caching

                        I wonder how to submit this to Alpha for any adjustment? Alternatively, what else might we try?
                        You could try something like this in the beforeAjaxCallback client side event of the grid.

                        Code:
                        var __timestamp = new Date().getTime();
                        {Grid.object}.setStateInfo({timestamp: __timestamp});
                        This will add a time stamp to the __si2 parameter that is passed into each and every ajax callback.
                        Jim Coltz
                        Alpha Custom Database Solutions, LLC
                        A5CustomSolutions.com
                        [email protected]

                        Comment


                          #27
                          Re: Javascript caching

                          Originally posted by Steve Workings View Post
                          The grid is contained in a dialog2. The dialog2 is launched as an AJAX window from a button. Exactly what are you suggesting I insert as code, and where?
                          In this case do you have the "Use cahed UX Component" in the Target UX definition checkbox unchecked.
                          Jim Coltz
                          Alpha Custom Database Solutions, LLC
                          A5CustomSolutions.com
                          [email protected]

                          Comment


                            #28
                            Re: Javascript caching

                            Using version 11 here Jim, so no UX cache property.

                            I'll try the timestamp idea on Saturday morning. Got a bunch of guys in Singapore using the app for a while and don't want to make a mistake and trouble them. Yes, they still use this piece if they can - if they don't need the bottom 5 rows. It's a valuable tool that I need to completely work, not just partially work.
                            -Steve
                            sigpic

                            Comment


                              #29
                              Re: Javascript caching

                              Sorry about the reference to the V12 stuff. I'm always on the latest and greatest, trying to stay ahead of the game.
                              Jim Coltz
                              Alpha Custom Database Solutions, LLC
                              A5CustomSolutions.com
                              [email protected]

                              Comment


                                #30
                                Re: Javascript caching

                                I'm having a problem accessing a system that has been in production for three years with Safari 6.x. I wonder if the problem is Safari rather than iOS6. In my situation, a grid is displayed with the primary key field serving as a link to the detail view for the record. With Safari 6.x, the link does not work for about 18 seconds after the grid is loaded. After that, it works every time. It previously worked correctly with Safari 5.x on a MAC. Using Safari 5.x on a PC, the link also works properly every time with no delay. It also works with IE. It appears to me that Apple has some real issues with Safari 6.x.

                                Terry

                                Comment

                                Working...
                                X