Hi; first of all thnks for your replay. I'm giving to you a lot of annoyance... sorry but we have some problem with the pageLabel method. Of course we have all these problems because it's a little time we are studing this block so we don't know exactly how it works.
However we are using this link for going again to the home page: <a href=portal?pageLabel=Home>home</a> Now i don't want to return to the state it was... i'ld like to restart my flow. Is this possible? If so how can i do? Thanks. Angelo ---------- Initial Header ----------- >From : "Ralph Goers" [EMAIL PROTECTED] To : users@cocoon.apache.org Cc : Date : Tue, 05 Jul 2005 01:00:12 -0700 Subject : Re: [Cocoon portal] problem in coplet redirect > When you say "return to the home page", do you mean using the browser's > back button? If so, I'm wondering if you are really going back to the > home page or to the form instead. I'm also wondering if this is another > issue with the way page label processing works or if it is something > else. What is the url that is used to return? Normally, with page > labels I would expect your page to return to exactly the state it was > left in - all that happens is a switch back to the page with the events > left as they were previously. So if you hit the back button you would > go back to showing the form, but you would not have restarted your flow. > > Ralph > > Angelo Immediata wrote: > > >Hi all; i'm using Cocoon 2.1.7; i'm using the portal block and i have some > >problems. I have had some problems in the link rewriting and now i have this > >other problem.. > >I have this code in my site home page: > > > >var cid = cocoon.parameters["copletId"]; > >var comune=null; > >var selectionForm = new Form("formDefinitions/sceltaComuni.xml"); > >selectionForm.showForm( "SelezioneEnte.jx"); > >var comune=selectionForm.lookupWidget("listaComuni").getValue(); > >print("com="+comune); > >cocoon.redirectTo( "portal?pageLabel="+comune , true); > > > >The redirect works fine; it lets me to change page... but when i try to > >return to the home page i have seen a strain behavior; it seems to me that > >in the home page the coplet doesn't start from the beginning; that is the > >coplet doesn't execute the code "new Form > >("formDefinitions/sceltaComuni.xml");" moreover if i don't put a required > >field in the form definition "sceltaComuni.xml" the portal blocks goes in a > >never ending loop. > > > >I have tried to disable the CachingURICoplet cache (moreover since i have > >not understood how to change it form configuration parameters i have > >modified the CachingURICopletAdapter.java class) but i doesn't work again. > > > >Have you any idea? > >Thanks. > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ____________________________________________________________ 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]