cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barbara Post" <>
Subject Fw: troubles with emailing and cocoon's caching ?
Date Wed, 11 Sep 2002 13:05:05 GMT
I have the same if I browse some pages in my app then go to the html form
again (by typing the url or reaching it but with another request parameter
passed along), request parameters values are added to sitemap parameters...

Will update from CVS and try again...

I have a form validation and simple form transformer in the snipped part
below the map:act, however it doesn't seem logical.

Relevant piece of buggy pipeline :

   <map:match pattern="sendlicense">
    <map:act type="request">
     <map:parameter name="parameters" value="true"/>
     <!-- authenticate as usual -->
     <map:act type="auth-protect">
      <map:parameter name="handler" value="baepp-handler"/>
      <!-- form has been submitted once so validate it -->
      <map:act type="request-exists">
       <map:parameter name="parameters" value="submittedOnce"/>
       <!-- form validation -->
       <map:act type="form-validator">
        <map:parameter name="descriptor" value="xml/sendlicense_desc.xml"/>
        <map:parameter name="validate-set" value="default"/>
        <!-- ok so send mail -->
        <map:act type="sendmail">
         <map:parameter name="smtpHost" value="some smtp IP"/>
         <map:parameter name="subject" value="{../../../subject}"/>
         <!-- to be changeable (port) -->
         <map:parameter name="body"
         <map:parameter name="emailTo" value="{../../../emailTo}"/>
         <map:parameter name="emailCc" value="{../../../emailCc}"/>
         <map:parameter name="emailFrom" value="{../../../emailFrom}"/>
         <map:parameter name="nameFrom" value="{../../../nameFrom}"/>
         <map:parameter name="dataSources"
         <map:parameter name="dsHeaders"
         <map:parameter name="file"
         <map:parameter name="fileName"
         <map:redirect-to uri="menu"/>

----- Original Message -----
From: "Barbara Post" <>
To: <>
Sent: Wednesday, September 11, 2002 2:21 PM
Subject: troubles with emailing and cocoon's caching ?

> Hello,
> I have a page : html form, which some values are hidden, some other to be
> filled by user. Then submitting the form sends an email (action)
> When the browser displays the page from its cache (because I hit "back"),
> instead of cocoon's regeneration I get duplicate values in the submitted
> fields... either hidden or to fill. So duplicate "to" fields or attachment
> names... so sitemap parameters are strangely managed ?
> I use last week's CVS cocoon and IE 5.5. Tomcat 4.0.4.
> Any idea how I can solve it ?
> Thanks, have a nice day,
> Barbara
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <>
> To unsubscribe, e-mail:     <>
> For additional commands, e-mail:   <>

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message