Hello, 
I have been using SimpleFormTransformer (for prefilling form values
from request parameters) for some time and everything worked ok. The
declarations goes as follows:

<map:transformer name="simpleform" logger="sitemap.transformer.simpleform"
src="org.apache.cocoon.transformation.SimpleFormTransformer"/>
                
The previous version that works and I am sure of is cocoon-2.1 20003.05.29 cvs
snapshot

right now I get these error messages in sitemap.log:
DEBUG   AbstractSAXTransformer: BEGIN setupTransforming
DEBUG   AbstractSAXTransformer: END setupTransforming
DEBUG   SimpleFormTransformer: startInputElement input attributes [EMAIL PROTECTED]'1' 
@name='visited' @type='hidden' ]
DEBUG   SimpleFormTransformer: replacing
WARN    SimpleFormTransformer: A problem occurred acquiring a value from 
'request-param' for 'visited': null
DEBUG   SimpleFormTransformer: startNonCheckableElement input attributes [EMAIL 
PROTECTED]'1' @name='visited' @type='hidden' ]
DEBUG   SimpleFormTransformer: startInputElement input attributes [EMAIL 
PROTECTED]'repKey' @type='hidden' ]
DEBUG   SimpleFormTransformer: replacing
WARN    SimpleFormTransformer: A problem occurred acquiring a value from 
'request-param' for 'repKey': null
DEBUG   SimpleFormTransformer: startNonCheckableElement input attributes [EMAIL 
PROTECTED]'repKey' @type='hidden' ]
DEBUG   SimpleFormTransformer: startInputElement input attributes [EMAIL 
PROTECTED]'repVis' @readonly='' @type='text' ]
DEBUG   SimpleFormTransformer: replacing
WARN    SimpleFormTransformer: A problem occurred acquiring a value from 
'request-param' for 'repVis': null
DEBUG   SimpleFormTransformer: startNonCheckableElement input attributes [EMAIL 
PROTECTED]'repVis' @readonly='' @type='text' ]
DEBUG   SimpleFormTransformer: startErrorElement error attributes [EMAIL 
PROTECTED]'repKey' @when-ge='error' ]
DEBUG   SimpleFormTransformer: startInputElement input attributes [EMAIL PROTECTED]'' 
@type='text' @name='startdate' ]
DEBUG   SimpleFormTransformer: replacing
WARN    SimpleFormTransformer: A problem occurred acquiring a value from 
'request-param' for 'startdate': null
DEBUG   SimpleFormTransformer: startNonCheckableElement input attributes [EMAIL 
PROTECTED]'' @type='text' @name='startdate' ]
DEBUG   SimpleFormTransformer: startErrorElement error attributes [EMAIL 
PROTECTED]'startdate' @when-ge='error' ]
DEBUG   SimpleFormTransformer: startInputElement input attributes [EMAIL PROTECTED]'' 
@type='text' @name='enddate' ]
DEBUG   SimpleFormTransformer: replacing
WARN    SimpleFormTransformer: A problem occurred acquiring a value from 
'request-param' for 'enddate': null
DEBUG   SimpleFormTransformer: startNonCheckableElement input attributes [EMAIL 
PROTECTED]'' @type='text' @name='enddate' ]
DEBUG   SimpleFormTransformer: startErrorElement error attributes [EMAIL 
PROTECTED]'enddate' @when-ge='error' ]
DEBUG   SimpleFormTransformer: startInputElement input attributes [EMAIL 
PROTECTED]'button_main' @type='submit' @n

and the form is empty after submitting.
Is it an error or just interface change and I should adapt?

        ouzo

-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/       [EMAIL PROTECTED]           _\\()//_
         .'/()\'.     Phone: +48(501)720812     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


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

Reply via email to