You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2004/09/07 08:44:44 UTC

cvs commit: jakarta-commons/jelly/jelly-tags/swing/src/java/org/apache/commons/jelly/tags/swing BorderAlignTag.java GbcTag.java

dion        2004/09/06 23:44:44

  Modified:    jelly/jelly-tags/swing/src/java/org/apache/commons/jelly/tags/swing
                        BorderAlignTag.java GbcTag.java
  Log:
  Jelly-129. Fix error messages
  
  Revision  Changes    Path
  1.9       +1 -1      jakarta-commons/jelly/jelly-tags/swing/src/java/org/apache/commons/jelly/tags/swing/BorderAlignTag.java
  
  Index: BorderAlignTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/swing/src/java/org/apache/commons/jelly/tags/swing/BorderAlignTag.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- BorderAlignTag.java	25 Feb 2004 01:31:56 -0000	1.8
  +++ BorderAlignTag.java	7 Sep 2004 06:44:44 -0000	1.9
  @@ -41,7 +41,7 @@
       public void addChild(Component component, Object constraints) throws JellyTagException {
           BorderLayoutTag tag = (BorderLayoutTag) findAncestorWithClass( BorderLayoutTag.class );
           if (tag == null) {
  -            throw new JellyTagException( "this tag must be nested within a <tr> tag" );
  +            throw new JellyTagException( "this tag must be nested within a <borderLayout> tag" );
           }
           tag.addLayoutComponent(component, getConstraints());
       }
  
  
  
  1.13      +1 -1      jakarta-commons/jelly/jelly-tags/swing/src/java/org/apache/commons/jelly/tags/swing/GbcTag.java
  
  Index: GbcTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/swing/src/java/org/apache/commons/jelly/tags/swing/GbcTag.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- GbcTag.java	6 Sep 2004 02:51:06 -0000	1.12
  +++ GbcTag.java	7 Sep 2004 06:44:44 -0000	1.13
  @@ -70,7 +70,7 @@
       public void addChild(Component component, Object constraints) throws JellyTagException {
           GridBagLayoutTag tag = (GridBagLayoutTag) findAncestorWithClass( GridBagLayoutTag.class );
           if (tag == null) {
  -            throw new JellyTagException( "this tag must be nested within a <tr> tag" );
  +            throw new JellyTagException( "this tag must be nested within a <gridBagLayout> tag" );
           }
           tag.addLayoutComponent(component, getConstraints());
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org