tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From harishksw...@apache.org
Subject cvs commit: jakarta-tapestry/framework/src/org/apache/tapestry/form TextField.java
Date Wed, 31 Dec 2003 23:26:32 GMT
harishkswamy    2003/12/31 15:26:32

  Modified:    framework/src/org/apache/tapestry/form TextField.java
  Log:
  readValue() modified to read the value via IBinding.getObject("value", String.class).
  This would provide a better exception message when the page is rendered, rather than when
the form is submitted
  reported by Howard
  
  Revision  Changes    Path
  1.2       +2 -2      jakarta-tapestry/framework/src/org/apache/tapestry/form/TextField.java
  
  Index: TextField.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/framework/src/org/apache/tapestry/form/TextField.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TextField.java	5 Mar 2003 22:59:24 -0000	1.1
  +++ TextField.java	31 Dec 2003 23:26:32 -0000	1.2
  @@ -74,7 +74,7 @@
   
       public String readValue()
       {
  -        return getValueBinding().getString();
  +        return (String) getValueBinding().getObject("value", String.class);
       }
   
       public void updateValue(String value)
  
  
  

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


Mime
View raw message