lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting HTMLFormSaveAction.java
Date Wed, 20 Aug 2003 14:21:52 GMT
michi       2003/08/20 07:21:51

  Modified:    src/java/org/apache/lenya/cms/cocoon/acting
                        HTMLFormSaveAction.java
  Log:
  FIXME for debugging messages
  
  Revision  Changes    Path
  1.11      +7 -4      cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting/HTMLFormSaveAction.java
  
  Index: HTMLFormSaveAction.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting/HTMLFormSaveAction.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- HTMLFormSaveAction.java	20 Aug 2003 13:43:37 -0000	1.10
  +++ HTMLFormSaveAction.java	20 Aug 2003 14:21:51 -0000	1.11
  @@ -180,11 +180,14 @@
       private void setNodeValue(Document document, String value, String xpath) throws Exception
{
           Node node = DOMUtil.getSingleNode(document.getDocumentElement(), xpath);
           if (node == null) {
  -            getLogger().warn(".act(): Node does not exist (might have been deleted): "
+ xpath);
  +            // FIXME: warn
  +            getLogger().error(".setNodeValue(): Node does not exist (might have been deleted
during update): " + xpath);
               return;
           }
  -        getLogger().error(".act(): value = " + DOMUtil.getValueOfNode(node));
  +        // FIXME: debug
  +        getLogger().error(".setNodeValue(): value = " + DOMUtil.getValueOfNode(node));
           DOMUtil.setValueOfNode(node, value);
  -        getLogger().error(".act(): value = " + DOMUtil.getValueOfNode(node));
  +        // FIXME: debug
  +        getLogger().error(".setNodeValue(): value = " + DOMUtil.getValueOfNode(node));
       }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message