Spry-  pagation back to same place on reload?

I am playing around with page that is populated by a mysql database going into a Spy master detail page. I have also added pagation to it.  I would like to be able to come back to the same pagation page, on reload.  I that possible? I am using the Spry.Data.PagedView Sample as the pagation.

Save the current page in a cookie, and than on each page load check if the there is a cookie and set the correct page based on the cookie?
See API methods: getCurrentPage goToPage

Similar Messages

  • Before the recent updates to Firefox, clicking on the back button always brought me back to the same place on the page where I had been, but now it brings me to the top of the page. How do I restore the previous feature?

    Before the recent updates to Firefox, when I would go to another page in the same window and then clickon the back button, Firefox used to bring me back to the same place on the page where I had been, but now it brings me to the top of the page, meaning that I have to laboriously scroll down to the old place. How do I restore the previous feature?

    That change was made in Firefox 4, 6 months ago.
    Click-hold the unified Back / Forward button <br />
    or <br />
    right-click it to get the Back / Forward history for that tab.
    Or install this extension to get the old "drop-marker" button restored. <br />
    https://addons.mozilla.org/en-US/firefox/addon/backforedrop/

  • When i play back an mp3 dj mix i,ve burn,t to cd in my car when i turn the engine of and then restart the car the cd starts back from the beginning how do i solve this problem so that when i turn the engine on end off the cd plays from the same place

    when i play back an mp3 dj mix i,ve burn,t to cd in my car when i turn the engine of and then restart the car the cd starts back from the beginning how do i solve this problem so that when i turn the engine on end off the cd plays from the same place it did before i turned the engine off

    It could be that the CD player will only playback "Redbook" CD's from the previous position.
    And starts mp3 type CD's from the beginnig.
    However.. it's not Logic related.
    pancenter-

  • Back to "the same place" in the Gallery

    Hello!
    I have made an app in Siean that have a large gallery on the "HomeScreen" that if you click on one of the images you end up on a "LandingScreen". 
    On this LandingScreen there is a Back button that’s OnSelect Navigates back to the "HomeScreen".
    HOWEVER... Than it start in the beginning of my larger gallery. Not at the last known position (or last selected image, or click). In addition, the person needs to scrolls a long
    time to get to where she or he was, to pick up from there. In addition, the next time they select something, it is the same.
    Then I wonder how long are time will it take before People will stop using my app, before this is bothering them too much, and they put the whole thing away for good. It is not
    that fun to scroll in a gallery over and over again, to get where you want.
    Hope someone can help me to find a solution to get back to the same place in the gallery!
    J
    Greeting from Norway!

    Hi,
    Set the OnSelect property of the images in your gallery to: Navigate(LandingScreen, ScreenTransition!Cover, {selected:Gallery1!VisibleIndex}). Also, set the DefaultVisibleIndex property of the gallery to: selectedItem
    Set the OnSelect property of the back button on the LandingScreen to: Navigate(HomeScreen, ScreenTransition!Fade,{selectedItem:0});Navigate(HomeScreen, ScreenTransition!Fade,{selectedItem:selected})
    Thanks
    Robin

  • Profile manager shows only one profile but I have two profiles located in the same place and I want to change

    I have had a Firefox crash and uninstalled then reinstalled three times. For some reason Mozbackup won't back up my files. In checking profiles, I have two profiles with different names and both marked default, located in the same place. I would like to use the old profile but the profile manager only shows one profile.
    How can I get to use the old profile?
    Thanks, Joe

    Antaeus00 wrote:
    I tried sending a request for help,
    But did you succeeed in sending a request for help?
    Did you receive a response? How long has it been since you sent a request?
    but I need someone with more authority to talk to.
    There is no one with more authority than iTunes store support. We herem are only users.

  • How to keep desktop folders in the same place?

    I use an iMac (with Mac OS X V.10.6.6) and I have some folders and files on my desktop. However, lately after I shutdown my iMac and start it again, all the folders and files on my desktop move and scatter. I want to keep them in the same order that I originally arranged. How do I keep them in the same place? Is it normal for them to move around after shutdown?
    It´s a new iMac (with about 6 monts old) and it only appens sometimes...
    PS. I don't want to sort them out by name or date modified or anything like that. I just want to keep them in the same order that I put them.

    As this oddity strikes also on my machine, I wrote this script.
    --[SCRIPT récupérerrestaurer_positionicônes]
    Enregistrer le script en tant que Progiciel (Application sous 10.6.x) : récupérerrestaurer_positionicônes.app
    Installer dans le Dock.
    Sélectionner les icônes du bureau dont la position doit pouvoir être rétablie.
    Lancer le script
    Cliquer le bouton "Enregistrer leur position"
    Un fichier texte contenant les informations relatives à ces icônes sera créé dans le dossier défini à partir de la property 'dest'
    Par défaut c'est dans "<startupVolume>:Users:<userAccount>:Library:Application Support:".
    Pour remettre les icônes en place, lancer l'application et cliquer le bouton "Rétablir leur position"
    --=====
    Save the script as an Application Bundle (Application under 10.6.x) : récupérerrestaurer_positionicônes.app
    Install it in the Dock for easy access.
    Select Desktop's icons whose location must be reset when needed.
    Run the script.
    Click the button "Get there position".
    A text file containing the datas linked to these icons will be created in the folder defined according to the property 'dest'.
    Default location is : "<startupVolume>:Users:<userAccount>:Library:Application Support:".
    Run the script and click the button "Reset there position" to move the icons back to their original location.
    --=====
    KOENIG (VALLAURIS, France)
    2010/03/16
    --=====--=====
    property toutlebureau : true
    property dest : 3
    1 = liste dans : "<startupVolume>:Users:<userAccount>:Library:Preferences:"
    2 = liste dans : "<startupVolume>:Users:<userAccount>:Applications:Utilities:"
    3 = liste dans : "<startupVolume>:Users:<userAccount>:Library:Application Support:"
    property nomDuRapport : "position des icones.txt"
    property rapport : {}
    --=====
    on run
    run script mon_script
    end run
    script mon_script
    my nettoie()
    if dest = 1 then
    set p2d to path to preferences as text (*
    "<startupVolume>:Users:<userAccount>:Library:Preferences:" *)
    else if dest = 2 then
    set p2d to path to utilities folder from user domain as text (*
    "<startupVolume>:Users:<userAccount>:Applications:Utilities:" *)
    else
    set p2d to (path to library folder from user domain as text) & "Application Support:" (*
    "<startupVolume>:Users:<userAccount>:Library:Application Support:" *)
    end if
    set p2r to p2d & nomDuRapport
    if my parleAnglais() then
    set prompt to "What to do with icons ?"
    set {btn1, btn2, btn3} to {"Cancel", "Get their position", "Reset their position"}
    else
    set prompt to "Que faire avec les icônes ?"
    set {btn1, btn2, btn3} to {"Abandonner", "Enregistrer leur position", "Rétablir leur position"}
    end if
    set maybe to button returned of (display dialog prompt buttons {btn1, btn2, btn3} default button 3)
    if maybe is btn1 then (*
    Cancel / Annuler *)
    error number -128
    else if maybe is btn2 then (*
    Get their position / Enregistrer leur position *)
    tell application "Finder"
    set itms to name of every item of the desktop
    repeat with itm in itms
    try
    set {x, y} to get desktop position of item itm
    copy "" & itm & return & x & ", " & y to end of my rapport
    end try
    end repeat
    end tell -- Finder
    set rapport to my recolle(my rapport, return)
    crée un fichier texte dans le dossier "Bibliothèque:Application Support" du compte utilisateur *)
    tell application "System Events"
    if exists file p2r then delete file p2r
    make new file at end of folder p2d with properties {name:nomDuRapport}
    end tell -- System Events
    write rapport to (p2r as alias)
    else (*
    Reset there position / Rétablir leur position *)
    set my rapport to paragraphs of (read file p2r)
    repeat with i from 1 to ((count of rapport) - 1) by 2
    try
    set itm to item i of rapport
    tell application "Finder" to set desktop position of item itm to my decoupe(item (i + 1) of rapport, ", ")
    end try
    end repeat
    tell application "Finder" to update folder p2d
    end if
    my nettoie()
    end script
    --=====
    on nettoie()
    set my rapport to {}
    end nettoie
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe
    --=====
    on recolle(l, d)
    local t
    set AppleScript's text item delimiters to d
    set t to l as text
    set AppleScript's text item delimiters to ""
    return t
    end recolle
    --=====
    on parleAnglais()
    local z
    try
    tell application "Finder" to set z to localized string "AL1"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    I run it by hand to get the icons positions.
    I may also run it to restore these positions but in real life, I use a subset of the same script which is automatically ran when I boot the machine.
    This subset retain only the code restoring the icons positions.
    --[SCRIPT récupérerrestaurer_positionicônes]
    Enregistrer le script en tant que Progiciel (Application sous 10.6.x) : récupérerrestaurer_positionicônes.app
    Installer dans le Dock.
    Sélectionner les icônes du bureau dont la position doit pouvoir être rétablie.
    Lancer le script
    Cliquer le bouton "Enregistrer leur position"
    Un fichier texte contenant les informations relatives à ces icônes sera créé dans le dossier défini à partir de la property 'dest'
    Par défaut c'est dans "<startupVolume>:Users:<userAccount>:Library:Application Support:".
    Pour remettre les icônes en place, lancer l'application et cliquer le bouton "Rétablir leur position"
    --=====
    Save the script as an Application Bundle (Application under 10.6.x) : récupérerrestaurer_positionicônes.app
    Install it in the Dock for easy access.
    Select Desktop's icons whose location must be reset when needed.
    Run the script.
    Click the button "Get there position".
    A text file containing the datas linked to these icons will be created in the folder defined according to the property 'dest'.
    Default location is : "<startupVolume>:Users:<userAccount>:Library:Application Support:".
    Run the script and click the button "Reset there position" to move the icons back to their original location.
    --=====
    KOENIG (VALLAURIS, France)
    2010/03/16
    --=====--=====
    property toutlebureau : true
    property dest : 3
    1 = liste dans : "<startupVolume>:Users:<userAccount>:Library:Preferences:"
    2 = liste dans : "<startupVolume>:Users:<userAccount>:Applications:Utilities:"
    3 = liste dans : "<startupVolume>:Users:<userAccount>:Library:Application Support:"
    property nomDuRapport : "position des icones.txt"
    property rapport : {}
    --=====
    on run
    run script mon_script
    end run
    script mon_script
    my nettoie()
    if dest = 1 then
    set p2d to path to preferences as text (*
    "<startupVolume>:Users:<userAccount>:Library:Preferences:" *)
    else if dest = 2 then
    set p2d to path to utilities folder from user domain as text (*
    "<startupVolume>:Users:<userAccount>:Applications:Utilities:" *)
    else
    set p2d to (path to library folder from user domain as text) & "Application Support:" (*
    "<startupVolume>:Users:<userAccount>:Library:Application Support:" *)
    end if
    set p2r to p2d & nomDuRapport
    if my parleAnglais() then
    set prompt to "What to do with icons ?"
    set {btn1, btn2, btn3} to {"Cancel", "Get their position", "Reset their position"}
    else
    set prompt to "Que faire avec les icônes ?"
    set {btn1, btn2, btn3} to {"Abandonner", "Enregistrer leur position", "Rétablir leur position"}
    end if
    set maybe to button returned of (display dialog prompt buttons {btn1, btn2, btn3} default button 3)
    if maybe is btn1 then (*
    Cancel / Annuler *)
    error number -128
    else if maybe is btn2 then (*
    Get their position / Enregistrer leur position *)
    tell application "Finder"
    set itms to name of every item of the desktop
    repeat with itm in itms
    try
    set {x, y} to get desktop position of item itm
    copy "" & itm & return & x & ", " & y to end of my rapport
    end try
    end repeat
    end tell -- Finder
    set rapport to my recolle(my rapport, return)
    crée un fichier texte dans le dossier "Bibliothèque:Application Support" du compte utilisateur *)
    tell application "System Events"
    if exists file p2r then delete file p2r
    make new file at end of folder p2d with properties {name:nomDuRapport}
    end tell -- System Events
    write rapport to (p2r as alias)
    else (*
    Reset there position / Rétablir leur position *)
    set my rapport to paragraphs of (read file p2r)
    repeat with i from 1 to ((count of rapport) - 1) by 2
    try
    set itm to item i of rapport
    tell application "Finder" to set desktop position of item itm to my decoupe(item (i + 1) of rapport, ", ")
    end try
    end repeat
    tell application "Finder" to update folder p2d
    end if
    my nettoie()
    end script
    --=====
    on nettoie()
    set my rapport to {}
    end nettoie
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe
    --=====
    on recolle(l, d)
    local t
    set AppleScript's text item delimiters to d
    set t to l as text
    set AppleScript's text item delimiters to ""
    return t
    end recolle
    --=====
    on parleAnglais()
    local z
    try
    tell application "Finder" to set z to localized string "AL1"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    As it was for my own use, I didn't change the explanations at the beginning.
    Yvan KOENIG (VALLAURIS, France) jeudi 3 février 2011 12:37:56

  • Zen 300 does not resume playback at same place after shutting down.

    My Zen 300 does not resume playback at the same place in the audio file after the player automatically shuts down (idle shutdown) when I turn the player back on. It returns to the beginning of the track. How can I ensure playback resumes after automatic shutdown?

    GThis is normal for Idle shut down my zen 300 does this to me to. I don't think there is a way to stop it though but if there is then the creative lab support people should be able to help just send them an email.
    By the way does anyone know how to create tasks for the zen 300? I tried with no luck.

  • My iTunes movie rental freezes during the opening credits always at the same place.

    my iTunes movie rental freezes during the opening credits always at the same place.  What is the cure?  Can I recieve credit for the rental since I could not view it in its entirerty?

    Hi Epski
    Let us know how you go as i'm having the same issue also. I upgraded to yosemite and itunes 12 at the same time and thought the OS upgrade was the issue. I downgraded back to Mavericks again (for lots of reasons i won't go in to here) thinking this would fix the problem but it didn't.
    When i play any video content from itunes 12 in full screen goes dark once the controls fade away. QT, appletv or anything else plays them perfectly, as per itunes 11!
    You don't have a Samsung TV by any chance do you?

  • Hi All, I have question about the iMac operating system. I have the last updated. The problem when I manage the place of the folder windows they are all mixing up. I mean they not on the place where I left them. how to set they stay on the same place. Tks

    Hi All, I have question about the iMac operating system. I have the last updated. The problem when I manage the place of the folder windows they are all mixing up. I mean they not on the place where I left them. how to set they stay on the same place? I know there are different possibilities to set.
    I tried but it not helped for me. What I can do? How and where can set this they stay on their place?
    Thanks.
    laci

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    Regards
    TD 

  • Urgent help needed - new to Macs, accidently cut and paste over top of photo folder and now no sign of folder or file, no auto back-up in place, how can I restore photos pls

    Urgent help needed - new to Macs, accidently cut and paste over top of photo folder and now no sign of folder or file, no auto back-up in place, how can I restore photos pls

    Thanks for prompt reply, yes we have tried that but have now closed down the browser we where the photos were.
    We haven't sent up time machine, do you know whether there is any roll-back function on a Mac?
    Thanks

  • HT201335 I started playing games on my iPhone 5 and bought the iPad air wand to link phone with iPad so all the information from the game is on my iPad so I don't have to start the game over  I should be able to start from the same place in the game on ei

    I need to link all of my games on my iPhone 5 to my iPad air so I don't have to start all my games over. In the Game Center all the information from my games are there but it's like I have to start the game over on my iPad. I should be able to resume the game from the same place on either device with the same trophies $ coins help help help PLEASE I have a lot of money invested in one game and don't want to start completely over

    Transferring from old to new
    http://support.apple.com/kb/HT2109

  • String objects with the same string pointing to the same place but?

    Hi,
    Here is a simple sample
    String str1 = "a";
    String str2 = "a";I understand that in Java str1 and str2 pointing to the same place in memory and Java compiler wouldn't save the string "a" in two different places in memory. Am I right?
    If so, if the value of str1 changes to something else as following:
    String str1 = "a";
    String str2 = "a";
    str1 = "b";why str2 which has been pointing to the same place as str1 before is still containing ?a? and not ?b????
    Thanks!

    Maria1990 wrote:
    Hi,
    Here is a simple sample
    String str1 = "a";
    String str2 = "a";I understand that in Java str1 and str2 pointing to the same place in memory and Java compiler wouldn't save the string "a" in two different places in memory. Am I right?Correct.
    Maria1990 wrote:
    If so, if the value of str1 changes to something else as following:
    String str1 = "a";
    String str2 = "a";
    str1 = "b";why str2 which has been pointing to the same place as str1 before is still containing ?a? and not ?b????Because str2 is pointing to the same "a", but it is not pointing to str1.
    This is what happens:
    String str1 = "a";
    /*                 +---+
             str1 ---->| a |
                       +---+
    String str2 = "a";
    /*                 +---+
             str1 --+->| a |
                    |  +---+
                    |
             str2 --+
    NOT:
                       +---+
         +-> str1 ---->| a |
         |             +---+
         |
         +- str2
    str1 = "b";
                       +---+
                 +---->| b |
                 |     +---+
                 |
                 |     +---+
            str1-+  +->| a |
                    |  +---+
                    |
             str2 --+
    */

  • G5 dual 2ghz.  Been unplugged for a while. Powers up but no video or power to usb keyboard.  Boots up fine in safe mode, restart into normal mode ok. After shutdown, back to same issue.  What's happening?

    G5 dual 2ghz.  Been unplugged for a while. Powers up but no video or power to usb keyboard.  Boots up fine in safe mode, restart into normal mode ok. After shutdown, back to same issue.  What's happening?

    I keep seeing people ask and the advice to replace if it has been unplugged, but really have nothing to confirm that from my experiences.
    My experience is that a weak or dead battery can cause much more than date and time issues.
    I have seen it time and time again.
    Deal with used machines and you will quickly learn....
    I'll give no "recipe" or set list of symptoms, but the range of irregularities that can occur make it a quick and easy first line of troubleshooting, especially when the machine has been off the mains for a few months.
    Why fight mysterious maladies and troubleshoot with the knowledge that the PRAM battery is beyond it's useful life.
    Maybe they recharge?
    Not likely. They are chemically nasty, disposable, one way discharge batteries.
    They aren't Lithium-ion batteries

  • When I try to restore my iPod, it stops restoring at the same place and doesn't work. How do I fix this and make it completely restore itself?

    When I try to restore my iPod, it stops restoring at the same place and doesn't work. How do I fix this and make it completely restore itself?

    Did you make sure that your security software allows iTunes to contact Apple during the restore process? http://support.apple.com/kb/TS3125

  • Going back to same row after saving changes in classic report

    dear all,
    I have a long classic report .User is able to update different rows of this report using MR update process.Now user is asking for easier flow.What he wants is to be able to go back to same row after he saves the changes.How is it possible to do so
    Thank you so much,
    Zahra

    Hi,
    I have one sample
    https://apex.oracle.com/pls/apex/f?p=40323:40
    When you change Active column select list, page is submitted. After submit JavaScript scrolls report
    See this post about details
    HELP TABULAR FORM CURSOR FOCUS
    Regards,
    Jari

Maybe you are looking for

  • ISA: catalog not available -- FM for determining available catalogs

    Hello guys, we're currently implementing CRM e-commerce (ISA). When logging on to the web shop, an error message "The catalog that you have selected is currently unavailable; try again later " occurs. I searched the existing forum entries and found s

  • Problem in deleting the user

    when iam trying to delete the user from subone directory server it is giving the following exception Insufficient 'delete' privilege to delete the entry how to set the privileges in sunone directory server.please send as it is very urgent for me

  • How to create an array of generics?

    I have the following snippet of code using array of vectors: Vector[] tmpArr = new Vector[n]; for(int j=0; j<n; j++) tmpArr[j] = new Vector(); String str = ... if (!tmpArr[j].contains(str)) tmpArr[j].add(str); And I want to convert to generics: Vecto

  • Low clock speed with amd 3400+

    hi all, i have an amd 3400+  64bit  and i have downloaded multiple hardware information programs which state that my CPU clock should be between 2.8ghz - 3 ghz with this type of processor, however i only have 2.1 ghz.I have searched the bios and have

  • Smartofrms: add final page with LOGO (print invoice)

    Hi all, In Smartforms, I would like to insert a final page with the LOGO of the company in whole page size. I already used &PAGE1(first) and  &PAGE2(next) but I am not able of to call a third and final page (ENDPG).  I followed this steps: - created