This project has retired. For details please refer to its
        
        Attic page.
      
 
org.apache.lenya.cms.cocoon.acting
Class HTMLFormSaveAction
java.lang.Object
  
org.apache.avalon.framework.logger.AbstractLogEnabled
      
org.apache.cocoon.acting.AbstractAction
          
org.apache.cocoon.acting.AbstractConfigurableAction
              
org.apache.lenya.cms.cocoon.acting.HTMLFormSaveAction
- All Implemented Interfaces: 
 - org.apache.avalon.framework.component.Component, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.thread.ThreadSafe, org.apache.cocoon.acting.Action
 
public class HTMLFormSaveAction
- extends org.apache.cocoon.acting.AbstractConfigurableAction
- implements org.apache.avalon.framework.thread.ThreadSafe
  
FIXME: org.apache.xpath.compiler.XPathParser seems to have problems when
 namespaces are not declared within the root element. Unfortunately the XSLTs
 (during Cocoon transformation) are moving the namespaces to the elements
 which use them! One hack might be to parse the tree for namespaces
 (Node.getNamespaceURI), collect them and add them to the document root
 element, before sending it through the org.apache.xpath.compiler.XPathParser
 (called by XPathAPI)
 
 FIXME: There seems to be another problem with default namespaces
 
 WARNING: Internet Explorer sends X and Y coordinates for image buttons. These
 have to be treated differently. Mozilla does not send these coordinates.
 
| Fields inherited from class org.apache.cocoon.acting.AbstractConfigurableAction | 
settings | 
 
| Fields inherited from class org.apache.cocoon.acting.AbstractAction | 
EMPTY_MAP | 
 
| Fields inherited from interface org.apache.cocoon.acting.Action | 
ROLE | 
 
 
| 
Method Summary | 
 java.util.Map | 
act(org.apache.cocoon.environment.Redirector redirector,
    org.apache.cocoon.environment.SourceResolver resolver,
    java.util.Map objectModel,
    java.lang.String source,
    org.apache.avalon.framework.parameters.Parameters parameters)
 
          Save data to temporary file | 
 
| Methods inherited from class org.apache.cocoon.acting.AbstractConfigurableAction | 
configure | 
 
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled | 
enableLogging, getLogger, setupLogger, setupLogger, setupLogger | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HTMLFormSaveAction
public HTMLFormSaveAction()
act
public java.util.Map act(org.apache.cocoon.environment.Redirector redirector,
                         org.apache.cocoon.environment.SourceResolver resolver,
                         java.util.Map objectModel,
                         java.lang.String source,
                         org.apache.avalon.framework.parameters.Parameters parameters)
                  throws java.lang.Exception
- Save data to temporary file
- Specified by:
 act in interface org.apache.cocoon.acting.Action
 
- Parameters:
 redirector - a Redirector valueresolver - a SourceResolver valueobjectModel - a Map valuesource - a String valueparameters - a Parameters value
- Returns:
 - a 
Map value
 - Throws:
 java.lang.Exception - if an error occurs
 
 
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.