cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel AggregateField.java
Date Fri, 27 Jun 2003 13:01:47 GMT
bruno       2003/06/27 06:01:47

  Modified:    src/blocks/woody/java/org/apache/cocoon/woody/formmodel
                        AggregateField.java
  Log:
  Indicate required status in generated SAX.
  
  Revision  Changes    Path
  1.2       +1 -0      cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AggregateField.java
  
  Index: AggregateField.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/formmodel/AggregateField.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AggregateField.java	26 Jun 2003 09:09:59 -0000	1.1
  +++ AggregateField.java	27 Jun 2003 13:01:46 -0000	1.2
  @@ -209,6 +209,7 @@
       public void generateSaxFragment(ContentHandler contentHandler, Locale locale) throws
SAXException {
           AttributesImpl aggregatedFieldAttrs = new AttributesImpl();
           aggregatedFieldAttrs.addCDATAAttribute("id", getFullyQualifiedId());
  +        aggregatedFieldAttrs.addCDATAAttribute("required", String.valueOf(definition.isRequired()));
   
           contentHandler.startElement(Constants.WI_NS, AGGREGATEFIELD_EL, Constants.WI_PREFIX_COLON
+ AGGREGATEFIELD_EL, aggregatedFieldAttrs);
   
  
  
  

Mime
View raw message