CVS: Tapestry/junit/src/net/sf/tapestry/junit/valid TestingForm.java,1.5,1.5.2.1

Howard Lewis Ship <[email protected]>
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/Tapestry/junit/src/net/sf/tapestry/junit/valid
In directory sc8-pr-cvs1:/tmp/cvs-serv8557/junit/src/net/sf/tapestry/junit/valid

Modified Files:
      Tag: hship-2-3
	TestingForm.java 
Log Message:
Change Form to record allocated element ids as a hidden field, and compare against it when the form is submitted.
Change StaleLink page to display the message from the StaleLinkException.

Index: TestingForm.java
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/junit/src/net/sf/tapestry/junit/valid/TestingForm.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -C2 -d -r1.5 -r1.5.2.1
*** TestingForm.java	27 Nov 2002 17:58:50 -0000	1.5
--- TestingForm.java	21 Dec 2002 13:05:46 -0000	1.5.2.1
***************
*** 56,60 ****
      }
  
!     public String getElementId(String baseId)
      {
          return null;
--- 56,60 ----
      }
  
!     public String getElementId(IComponent component, String baseId)
      {
          return null;



-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.