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"
value="http://localhost:9090/baepp/licensekeys/{../../../licensekey}/htmlbod
y.html"/>
         <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"
value="http://localhost:9090/baepp/images/links.gif;http://localhost:9090/ba
epp/images/leer.gif;http://localhost:9090/baepp/images/logo_www.gif"/>
         <map:parameter name="dsHeaders"
value="69zzz@pc01;69zzz@pc00;69zzz@pc02"/>
         <map:parameter name="file"
value="http://localhost:9090/baepp/licensekeys/{../../../licensekey}/{../../
../filename}.xml;http://localhost:9090/baepp/licensekeys/{../../../licenseke
y}/{../../../filename}lt.pdf"/>
         <map:parameter name="fileName"
value="{../../../filename}.xml;{../../../filename}lt.pdf"/>
         <map:redirect-to uri="menu"/>
        </map:act>

.........................;
----- Original Message -----
From: "Barbara Post" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to