Andrzej Jan Taramina wrote:
I have a situation where I am using a xforms:switch to render a tabbed form
(very much like the vcard demo).
The issue I have is that I need to have a "preview" trigger on the last tab,
which processes the current form data through a cocoon pipeline and displays
the preview. But I need the user to be able to hit the back button on the
browser, and get back to the form display as it was when they hit the preview
trigger.
What seems to happen is that I get the last form screen displayed (from the
browser cache), but if you click on a tab you get a blank page.
Is there a preferred way of getting this kind of behaviour with Chiba?
so your call to the preview page is some kind of submit but you can't
use a replace=all cause this would end the form session. so i would try
a submit replace=none and a following load action to show the preview
page. hitting back then should bring you back to your session. - at
least in theory ;)
Joern
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/
|