logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Re: Getting closer.....How to process a form, but be able to use browse: msg#00076

Subject: Re: Re: Getting closer.....How to process a form, but be able to use browser back button?
hi,

Andrzej Jan Taramina wrote:

Joern:

In my prior message I had outlined something I was trying....but if you look at the following line:

<xforms:load xforms:resource="cocoon:/preview" show="new"/>

the show=new is supposed to load the page into a new window....but I don't see how that would be possible from the server side without using something like Javascript. That I can live with....

Anyway....what I found out is that the instance data is being preserved correctly.....when I do the browser back button, I can hit preview/save/debug again, and it will work fine, showing me the revised results.

Where the problem lies is that the submission seems to somehow screw up the xforms:switch statement. The preview/save/debug buttons are on the last tab of 4, and I use the xforms:switch to move between the tabs (just like in the vcard example). But after the submission, per my prior email, doing a back button, then hitting a different tab causes me to get just a blank page. Note that the triggers (preview/save/debug buttons) are part of the 4th tab (switch case statement).

i just got an idea - maybe its just an issue of a missing refresh() after you return to the page with the back button - i think reloading the page via back does not trigger a new request to the server ? this might be the reason why you don't see anything. did you try a manual reload on the blank page? (this would stremghten the theory)

Joern

Is this something that might be a bit of a bug?

Andrzej Jan Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Chiba-developer mailing list
Chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/chiba-developer





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>