cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/xmlform/java/org/apache/cocoon/components/xmlform Form.java
Date Fri, 30 May 2003 21:20:47 GMT
joerg       2003/05/30 14:20:47

  Modified:    src/blocks/xmlform/java/org/apache/cocoon/components/xmlform
                        Form.java
  Log:
  patch 13559 applied: getter on jxcontext_ for subclassing
  
  Revision  Changes    Path
  1.3       +9 -2      cocoon-2.1/src/blocks/xmlform/java/org/apache/cocoon/components/xmlform/Form.java
  
  Index: Form.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/xmlform/java/org/apache/cocoon/components/xmlform/Form.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Form.java	26 Apr 2003 12:10:44 -0000	1.2
  +++ Form.java	30 May 2003 21:20:47 -0000	1.3
  @@ -87,7 +87,7 @@
   
       public static String FORM_VIEW_PARAM = "cocoon-xmlform-view";
   
  -    public static String VIOLATION_MESSAGE_DATA_FORMAT_ERROR = "Invalid data format";
  +    public static String VIOLATION_MESSAGE_DATA_FORMAT_ERROR = "Invalid data format or
invalid reference path.";
   
       /**
        * An XMLForm is only usable when it has an id and an underlying model.
  @@ -132,6 +132,13 @@
   
       public List getViolations() {
           return violations_;
  +    }
  +
  +    /**
  +     *  Expose the JXPathContext for the sake of subclasses
  +     */
  +    protected JXPathContext getJXContext() {
  +        return jxcontext_;
       }
   
       /**
  
  
  

Mime
View raw message