cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Re: Form data not reflecting changes...
Date Wed, 04 May 2005 13:43:06 GMT
I am reasonably sure it is the same file... 

Here is the sitemap snippets:


     <map:match pattern="indicator-edit">
       <map:act type="auth-protect">
         <map:parameter name="handler" value="socindhandler"/>   
         <map:call function="handleForm">
           <map:parameter name="function"    value="form2xml"/>
           <map:parameter name="form-definition"
           <map:parameter name="bindingURI"     
           <map:parameter name="documentURI"
value="indicators/blank.xml"/> <!-- override in script -->
           <map:parameter name="form-type" value="ind"/>
           <map:parameter name="form-action" value="edit"/>
           <map:parameter name="userID" 
      <!-- something was wrong, redirect to login page -->
      <map:redirect-to uri="login"/>           


    <map:match pattern="indicators-view/*">
      <map:generate src="indicators/{1}.xml"/>
      <map:transform src="stylesheets/ind/single-html.xsl">
       <map:parameter name="use-request-parameters" value="true"/>
       <map:parameter name="contextPath"
       <map:parameter name="servletPath"
       <map:parameter name="serverName" value="{request:serverName}"/>
       <map:parameter name="serverPort" value="{request:serverPort}"/>
       <map:parameter name="userID"  value="{session-attr:userID}"/>
       <map:parameter name="userTag" value="{session-attr:userTag}"/>
       <map:parameter name="userRole" value="{session-attr:userRole}"/>
      <map:call resource="docs-page2html"/> 
      <map:serialize type="html"/>

Does this help shed any light?


>>> 2005/05/04 03:13:00 PM >>>
Maybe with some samples from your sitemap...

are you sure that your souce file and you save file are the same ?
Derek Hohls wrote:

>I am having problems with a CForm that is not showing updated
>data; the form opens and displays data - however, after editing
>the updates are not displayed in the form itself... although the
>display of the data from the form (via another pipeline) *does* 
>show that the edits have been made successfully.  A quick check
>of the source file (the form is bound to a plain XML file)  also
>reflects the changes.  Even stranger, when I access the site from
>a separate machine, I get the same result... the data from *before*
>the edit on the first machine is shown in the form edit box, while
>file display page shows the changes.
>Any ideas why this is happening, or how to overcome it?
>To unsubscribe, e-mail: 
>For additional commands, e-mail: 

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

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

View raw message