CVS: Tapestry/examples/Vlib/src/net/sf/tapestry/vlib Vlib.application,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/examples/Vlib/src/net/sf/tapestry/vlib
In directory sc8-pr-cvs1:/tmp/cvs-serv29950/examples/Vlib/src/net/sf/tapestry/vlib

Modified Files:
      Tag: hship-2-3
	Vlib.application 
Log Message:
Reorganize the Vlib example to move templates into context, and specifications into WEB-INF.

Index: Vlib.application
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Vlib/src/net/sf/tapestry/vlib/Vlib.application,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -C2 -d -r1.5 -r1.5.2.1
*** Vlib.application	9 Sep 2002 13:25:55 -0000	1.5
--- Vlib.application	16 Dec 2002 19:12:04 -0000	1.5.2.1
***************
*** 5,40 ****
  	"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
  
! <application name="Virtual Library" engine-class="net.sf.tapestry.vlib.VirtualLibraryEngine">
! 
!   <page name="Home" specification-path="/net/sf/tapestry/vlib/pages/Home.page"/>
!   <page name="Login" specification-path="/net/sf/tapestry/vlib/pages/Login.page"/>
!   <page name="Matches" specification-path="/net/sf/tapestry/vlib/pages/Matches.page"/>
!   <page name="MyLibrary" specification-path="/net/sf/tapestry/vlib/pages/MyLibrary.page"/>
!   <page name="BorrowedBooks" specification-path="/net/sf/tapestry/vlib/pages/BorrowedBooks.page"/>
!   <page name="NewBook" specification-path="/net/sf/tapestry/vlib/pages/NewBook.page"/>
!   <page name="EditBook" specification-path="/net/sf/tapestry/vlib/pages/EditBook.page"/>
!   <page name="EditProfile" specification-path="/net/sf/tapestry/vlib/pages/EditProfile.page"/>
!   <page name="ConfirmBookDelete" specification-path="/net/sf/tapestry/vlib/pages/ConfirmBookDelete.page"/>
!   <page name="Person" specification-path="/net/sf/tapestry/vlib/pages/PersonPage.page"/>
!   <page name="ViewBook" specification-path="/net/sf/tapestry/vlib/pages/ViewBook.page"/>
!   <page name="Register" specification-path="/net/sf/tapestry/vlib/pages/Register.page"/>
!   <page name="ApplicationUnavailable" specification-path="/net/sf/tapestry/vlib/pages/ApplicationUnavailable.page"/>
    	
    <page name="admin.TransferBooks" 
!   	specification-path="/net/sf/tapestry/vlib/pages/admin/TransferBooks.page"/>
    <page name="admin.EditPublishers"
!     specification-path="/net/sf/tapestry/vlib/pages/admin/EditPublishers.page"/>
    <page name="admin.EditUsers"
!     specification-path="/net/sf/tapestry/vlib/pages/admin/EditUsers.page"/> 
!  
!   <component-alias type="Border" specification-path="/net/sf/tapestry/vlib/components/Border.jwc"/>
!   <component-alias type="BookLink" specification-path="/net/sf/tapestry/vlib/components/BookLink.jwc"/>
!   <component-alias type="PersonLink" specification-path="/net/sf/tapestry/vlib/components/PersonLink.jwc"/>
!   <component-alias type="ShowError" specification-path="/net/sf/tapestry/vlib/components/ShowError.jwc"/>
!   <component-alias type="ShowValidationError" specification-path="/net/sf/tapestry/vlib/components/ShowValidationError.jwc"/>
!   <component-alias type="ShowMessage" specification-path="/net/sf/tapestry/vlib/components/ShowMessage.jwc"/>
!   <component-alias type="Borrow" specification-path="/net/sf/tapestry/vlib/components/Borrow.jwc"/>
!   <component-alias type="Browser" specification-path="/net/sf/tapestry/vlib/components/Browser.jwc"/>
!   
    <library id="contrib" specification-path="/net/sf/tapestry/contrib/Contrib.library"/>
    	
--- 5,22 ----
  	"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
  
! <application
! 	name="Virtual Library" 
! 	engine-class="net.sf.tapestry.vlib.VirtualLibraryEngine">
    	
+   <!-- These page names violate the normal naming rules, so must
+        be defined. -->
+        	
    <page name="admin.TransferBooks" 
!   	specification-path="pages/admin/TransferBooks.page"/>
    <page name="admin.EditPublishers"
!     specification-path="pages/admin/EditPublishers.page"/>
    <page name="admin.EditUsers"
!     specification-path="pages/admin/EditUsers.page"/> 
!    
    <library id="contrib" specification-path="/net/sf/tapestry/contrib/Contrib.library"/>
    	



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
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.