CVS: Tapestry/examples/Vlib/context/WEB-INF BookLink.html,NONE,1.1.2.1 ShowValidationError.html,NONE,1.1.2.1 ShowError.jwc,NONE,1.1.2.1 ShowMessage.jwc,NONE,1.1.2.1 Browser.jwc,NONE,1.1.2.1 Border.html,NONE,1.1.2.1 Borrow.jwc,NONE,1.1.2.1 Publisher.script,NONE,1.1.2.1 PersonLink.html,NONE,1.1.2.1 PersonLink.jwc,NONE,1.1.2.1 Borrow.html,NONE,1.1.2.1 Border.jwc,NONE,1.1.2.1 Browser.html,NONE,1.1.2.1 ShowMessage.html,NONE,1.1.2.1 ShowError.html,NONE,1.1.2.1 ShowValidationError.jwc,NONE,1.1.2.1 BookLink.jwc,NONE,1.1.2.1 BorrowedBooks.page,1.1.2.1,1.1.2.2 EditBook.page,1.1.2.1,1.1.2.2 NewBook.page,1.1.2.1,1.1.2.2 Home.page,1.1.2.1,1.1.2.2

Howard Lewis Ship <[email protected]>
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/Tapestry/examples/Vlib/context/WEB-INF
In directory sc8-pr-cvs1:/tmp/cvs-serv32464/examples/Vlib/context/WEB-INF

Modified Files:
      Tag: hship-2-3
	BorrowedBooks.page EditBook.page NewBook.page Home.page 
Added Files:
      Tag: hship-2-3
	BookLink.html ShowValidationError.html ShowError.jwc 
	ShowMessage.jwc Browser.jwc Border.html Borrow.jwc 
	Publisher.script PersonLink.html PersonLink.jwc Borrow.html 
	Border.jwc Browser.html ShowMessage.html ShowError.html 
	ShowValidationError.jwc BookLink.jwc 
Log Message:
More updates to Vlib to make use of 2.4 features.

--- NEW FILE: BookLink.html ---
<!-- $Id: BookLink.html,v 1.1.2.1 2002/12/17 20:47:12 hship Exp $ -->
<span jwcid="$content$">
<a href="#" class="clsDataBlue" jwcid="link"><span jwcid="@Insert" value="[[ book.title ]]"/></a>
<span jwcid="@Conditional" condition="[[ newlyAdded ]]">
<img src="images/new.gif" width="27" height="12" border="0" alt="[New]">
</span>
</span>

--- NEW FILE: ShowValidationError.html ---
<!-- $Id: ShowValidationError.html,v 1.1.2.1 2002/12/17 20:47:12 hship Exp $ -->

<span jwcid="$content$">

<span jwcid="@Conditional"
	condition="[[ bindings.delegate.object.hasErrors ]]">
<!-- Warning Bar -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td class="clsInvalidField"><img src="images/ico_invalid.gif" 
		width="35" height="30" alt="[Error]" border="0" vspace="10" 
		align="absmiddle">&nbsp;&nbsp;<span class="clsInfoWarning">
		<span 
			jwcid="@Delegator"
			delegate="[[ bindings.delegate.object.firstError ]]">
			Error Message
		</span>
		</span>
		</td>
	</tr>
</table>
<!-- END Warning Bar -->
				
</span>		

</span>

--- NEW FILE: ShowError.jwc ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: ShowError.jwc,v 1.1.2.1 2002/12/17 20:47:12 hship Exp $ -->
<!DOCTYPE component-specification PUBLIC 
	"-//Howard Lewis Ship//Tapestry Specification 1.3//EN" 
	"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
	
<component-specification 
	class="net.sf.tapestry.BaseComponent" 
	allow-informal-parameters="no"/>


--- NEW FILE: ShowMessage.jwc ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: ShowMessage.jwc,v 1.1.2.1 2002/12/17 20:47:12 hship Exp $ -->
<!DOCTYPE component-specification PUBLIC 
	"-//Howard Lewis Ship//Tapestry Specification 1.3//EN" 
	"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">

<component-specification
	class="net.sf.tapestry.BaseComponent" 
	allow-informal-parameters="no"/>

--- NEW FILE: Browser.jwc ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id $ -->
<!DOCTYPE component-specification PUBLIC 
	"-//Howard Lewis Ship//Tapestry Specification 1.3//EN" 
	"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
	
<component-specification 
	allow-informal-parameters="no" 
	class="net.sf.tapestry.vlib.components.Browser">

  <parameter name="query" required="yes" java-type="net.sf.tapestry.vlib.IBookQuery"/>
 
</component-specification>


--- NEW FILE: Border.html ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<!-- $Id: Border.html,v 1.1.2.1 2002/12/17 20:47:12 hship Exp $ -->

<html>
<head>
	<title>Virtual Library: Border Template</title>
<link rel="STYLESHEET" type="text/css" href="scripts/style_virtlib_pcIE55.css">
</head>

<!-- Odd to have a span around a body, but that's just the way it is -->

<span jwcid="$content$">

<span jwcid="@Shell" title="[[ windowTitle ]]" stylesheet="[[ assets.stylesheet ]]">

<body jwcid="@Body" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#8e9cd1">

<!-- ****BODY WRAPPER**** -->
<table height="100%" width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="150" valign="top">
			<!-- Left Nav -->
			<table width="145" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td height="35" colspan="3">&nbsp;</td>
				</tr>
				<tr>
					<td width="19" height="22"><img jwcid="@Image" image="[[ searchIcon ]]" src="images/spacer.gif" width="14" height="12" border="0"/></td>
					<td width="89"><a jwcid="@PageLink" page="Home" href="#" class="clsLeftNav">Search</a></td>
					<td width="1" valign="top" rowspan="5" bgcolor="#4B5887"><img src="images/spacer.gif" width="1" height="1" border="0"></td>
				</tr>
				<tr>
					<td height="22" valign="top"><img jwcid="@Image" image="[[ myLibraryIcon ]]" src="images/dots_leftnav.gif" width="14" height="12" border="0"/></td>
					<td><a jwcid="@PageLink" page="MyLibrary" href="#" class="clsLeftNav">My Library</a>
					
					<span jwcid="@Conditional" condition="[[ loggedIn ]]"><br>
					<img src="images/dots_subleft.gif" width="7" height="10" border="0" align="absmiddle"><a jwcid="@PageLink" page="BorrowedBooks" href="#" class="clsLeftNav">Borrowed Books</a><br>
					<img src="images/dots_subleft.gif" width="7" height="10" border="0" align="absmiddle"><a jwcid="@DirectLink" listener="[[ listeners.addNewBook ]]" href="#" class="clsLeftNav">Add New Book</a><br>
					<img src="images/dots_subleft.gif" width="7" height="10" border="0" align="absmiddle"><a jwcid="@DirectLink" listener="[[ listeners.editProfile ]]" href="#" class="clsLeftNav">Edit Profile</a><br>
					</span>
					</td>
				</tr>
		<span jwcid="@Conditional" condition="[[ admin ]]">
				<tr>
					<td height="22" valign="top"><img jwcid="@Image" image="[[ adminIcon ]]" src="images/spacer.gif" width="14" height="12" border="0"/></td>
					<td><span class="clsLeftNavTxt">Admin</span>
					
					<br>
					<img src="images/dots_subleft.gif" width="7" height="10" border="0" align="absmiddle"><a jwcid="@PageLink" page="admin.TransferBooks" href="#" class="clsLeftNav">Transfer Books</a><br>
					<img src="images/dots_subleft.gif" width="7" height="10" border="0" align="absmiddle"><a jwcid="@PageLink" page="admin.EditPublishers" href="#" class="clsLeftNav">Edit Publishers</a><br>
					<img src="images/dots_subleft.gif" width="7" height="10" border="0" align="absmiddle"><a jwcid="@PageLink" page="admin.EditUsers" href="#" class="clsLeftNav">Edit Users</a><br>
					</td>
				</tr>		
		</span>
		
				<tr>
					<td height="22"><img jwcid="@Image" image="[[ loginIcon ]]" src="images/spacer.gif" width="14" height="12" border="0"/></td>
					<td>
					
					<span jwcid="@Conditional" condition="[[ loggedIn ]]">
						<a jwcid="@DirectLink" 
							listener="[[ listeners.logout]]"
						   	stateful="[[ false ]]"
						   	href="#" class="clsLeftNav">Logout</a>
					</span>
					
					<span jwcid="@Conditional" condition="[[ !loggedIn ]]">
						<a jwcid="@DirectLink" 
						stateful="[[ false ]]"
						listener="[[ listeners.login ]]" 
						href="#" class="clsLeftNav">Login</a>
					</span>
					
					</td>
				</tr>
				<tr>
					<td height="200"><img src="images/spacer.gif" width="14" height="1" border="0"></td>
					<td>&nbsp;</td>
				</tr>
			</table>
			<!-- END Left Nav -->
		</td>
		<td valign="top" align="left">
			<table border="0" cellpadding="0" cellspacing="0">
				<tr valign="top" align="left">
					<td>
						<img src="images/ico_t.gif" width="44" height="44" border="0" vspace="5">
					</td>
					<td width="250">
						<img src="images/hd_virtuallibrary.gif" width="163" height="22" border="0" vspace="17">
						<span jwcid="ifImageTitle">
						
						<br clear="left">
						
						<span jwcid="@Conditional" condition="[[ libraryPage ]]">
						<img src="images/hd_mylibrary.gif" width="84" height="18"
						 border="0"><span jwcid="@Conditional" condition="[[ showSlash ]]"><img src="images/hd_slash.gif" 
						 width="19" height="18" border="0"></span></span><img jwcid="@Image" image="[[ subheader ]]" src="images/hd_addnewbooks.gif" border="0"/>
						 
						 </span>
						 
		
						<span jwcid="ifSimpleTitle">
						<h3><span jwcid="insertSimpleTitle">Simple Title</span></h3>
						</span>
					</td>
				</tr>
			</table>

			
			<br>
				
			<span jwcid="@RenderBody">
			
			<h1>Page Content</h1>
			
			</span>
		
			</td>
		</tr>

<!-- ****END BODY WRAPPER**** -->

<!-- ****FOOTER**** -->

	<tr bgcolor="#000000">
		<td colspan="2" class="clsFooter" align="center" valign="bottom">&#169;2000-2002
		<a class="clsFooterLink" href="mailto:[email protected]">Howard Lewis Ship</a>.
		All rights reserved.

        <span jwcid="@contrib:InspectorButton" disabled="[[ ! page.engine.debugEnabled ]]"/>

		</td>
	</tr>
	
	<tr>
		<td colspan="2">
			<img src="images/spacer.gif" height="2" width="1">
		</td>
	</tr>
</table>


<!-- ****END FOOTER**** -->
</body>

</span>

</span>

</html>

--- NEW FILE: Borrow.jwc ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: Borrow.jwc,v 1.1.2.1 2002/12/17 20:47:12 hship Exp $ -->
<!DOCTYPE component-specification PUBLIC 
	"-//Howard Lewis Ship//Tapestry Specification 1.3//EN" 
	"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
	
<component-specification class="net.sf.tapestry.vlib.components.Borrow"
	allow-body="no" 
	allow-informal-parameters="no">
	
  <parameter name="book" java-type="net.sf.tapestry.vlib.ejb.Book" required="yes"/>
    
  <component id="link" type="DirectLink">
    <binding name="parameters" expression="book.primaryKey"/>
    <binding name="listener" expression="listeners.borrow"/>
    <binding name="disabled" expression="linkDisabled"/>
  </component>
  
  <component id="image" type="Rollover">
  	<binding name="image" expression="assets.enabled"/>
  	<binding name="disabled" expression="assets.disabled"/>
  </component>
  
  <context-asset name="enabled" path="/images/icon_borrow.gif"/>
  <context-asset name="disabled" path="/images/spacer.gif"/>
  
</component-specification>

--- NEW FILE: Publisher.script ---
<?xml version="1.0"?>
<!-- $Id: Publisher.script,v 1.1.2.1 2002/12/17 20:47:12 hship Exp $ -->
<!DOCTYPE script PUBLIC 
	"-//Howard Lewis Ship//Tapestry Script 1.2//EN"
	"http://tapestry.sf.net/dtd/Script_1_2.dtd">

<script>
<!-- 

input symbols:

  select: The PropertySelection component
  field: The matching TextField component
  
Both are assumed to be in the same form.

-->

<input-symbol key="select" class="net.sf.tapestry.form.PropertySelection" required="yes"/>
<input-symbol key="field" class="net.sf.tapestry.form.AbstractTextField" required="yes"/>

<let key="formObject">
	document.${select.form.name}
</let>

<let key="selectObject">
	${formObject}.${select.name}
</let>

<let key="fieldObject">
	${formObject}.${field.name}
</let>

<let key="functionName">
	onChange_${select.form.name}_${select.name}
</let>

<body>

function ${functionName}()
{
  var select = ${selectObject};
  var field = ${fieldObject};
	
	// Index 0 is the null value option, meaning enable the text field
	
  if (select.selectedIndex == 0)
  {
    field.disabled = false;
    field.focus();
    field.select();
  }
  else
  {
	// disabled only works with IE, not NN
    field.disabled = true;
    field.blur();
    field.value = "";
  }
}

</body>

<initialization>
<!-- Navigator is not documented to respond to the onChange event, but this works,
	 so my documentation must be wrong. -->
	 
${selectObject}.onchange = ${functionName};

<!-- Disable the text field unless the select is set for index 0 (the null value). -->

if (${selectObject}.selectedIndex != 0)
  ${fieldObject}.disabled = true;

</initialization>

</script>

--- NEW FILE: PersonLink.html ---
<!-- $Id: PersonLink.html,v 1.1.2.1 2002/12/17 20:47:12 hship Exp $ -->

<span jwcid="$content$">

<span jwcid="@Conditional" condition="[[ ! omit ]]">
<a jwcid="link"><span jwcid="insertPersonName">Some Damn Fool</span></a>
</span>

<span jwcid="@Conditional" condition="[[ omit ]]">
&nbsp;
</span>

</span>

--- NEW FILE: PersonLink.jwc ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: PersonLink.jwc,v 1.1.2.1 2002/12/17 20:47:12 hship Exp $ -->
<!DOCTYPE component-specification PUBLIC
	"-//Howard Lewis Ship//Tapestry Specification 1.3//EN" 
	"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
	
<component-specification 
	class="net.sf.tapestry.vlib.components.PersonLink" 
	allow-body="no" 
	allow-informal-parameters="no">
  
  <parameter name="name" java-type="java.lang.String" required="yes" direction="in"/>
  
  <parameter name="primaryKey" java-type="java.lang.Integer" required="yes" direction="in"/>
  
  <parameter name="omit" java-type="boolean" direction="in"/>
  
  <parameter name="class" java-type="java.lang.String"/>
   
  <component id="link" type="ExternalLink">
    <static-binding name="page">ViewPerson</static-binding>
    <binding name="parameters" expression="primaryKey"/>
    <inherited-binding name="class" parameter-name="class"/>
  </component>
  
  <component id="insertPersonName" type="Insert">
    <inherited-binding name="value" parameter-name="name"/>
  </component>
  
  
</component-specification>

--- NEW FILE: Borrow.html ---
<!-- $Id: Borrow.html,v 1.1.2.1 2002/12/17 20:47:12 hship Exp $ -->

<span jwcid="$content$">
<a jwcid="link"><img jwcid="@Rollover"
	image="[[ assets.enabled ]]"
	disabled="[[ assets.disabled ]]"
	src="images/icon_borrow.gif" width="21" height="16" alt="[Borrow]" border="0" vspace="2"/></a>
</span>

--- NEW FILE: Border.jwc ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: Border.jwc,v 1.1.2.1 2002/12/17 20:47:12 hship Exp $ -->
<!DOCTYPE component-specification PUBLIC 
  "-//Howard Lewis Ship//Tapestry Specification 1.3//EN" 
  "http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">

<component-specification 
	class="net.sf.tapestry.vlib.components.Border"
	allow-informal-parameters="no">

  <parameter name="title" java-type="java.lang.String"/>
  <parameter name="subtitle" java-type="java.lang.String" direction="in"/>
  <parameter name="simpleTitle" java-type="java.lang.Boolean"/>
  
  <component id="shell" type="Shell">
    <binding name="title" expression="windowTitle"/>
    <binding name="stylesheet" expression="assets.stylesheet"/>
  </component> 
            
  <component id="ifImageTitle" type="Conditional">
  	<inherited-binding name="condition" parameter-name="simpleTitle"/>
  	<binding name="invert" expression="true"/>
  </component>
  
  <component id="ifSimpleTitle" type="Conditional">
  	<inherited-binding name="condition" parameter-name="simpleTitle"/>
  </component>
  
  <component id="insertSimpleTitle" type="Insert">
    <inherited-binding name="value" parameter-name="title"/>
  </component>
  
  <context-asset name="stylesheet" path="/scripts/style_virtlib_pcIE55.css"/>
  <context-asset name="dot" path="/images/dots_leftnav.gif"/>
  <context-asset name="spacer" path="/images/spacer.gif"/>
  
  <context-asset name="header_Home" path="/images/hd_searchforbooks.gif"/>
  <context-asset name="header_Matches" path="/images/hd_matchingbooks.gif"/>
  <context-asset name="header_NewBook" path="/images/hd_addnewbooks.gif"/>
  <context-asset name="header_BorrowedBooks" path="/images/hd_borrowedbooks.gif"/>
  <context-asset name="header_ConfirmBookDelete" path="/images/hd_deletebook.gif"/>
  <context-asset name="header_Person" path="/images/hd_bookinventory.gif"/>
  <context-asset name="header_EditProfile" path="/images/hd_editprofile.gif"/>
  <context-asset name="header_Login" path="/images/hd_login.gif"/>
  <context-asset name="header_Register" path="/images/hd_register_noslash.gif"/>
  <context-asset name="header_ViewBook" path="/images/hd_viewbook.gif"/>
  <context-asset name="header_EditBook" path="/images/hd_editbooks.gif"/>
</component-specification>

--- NEW FILE: Browser.html ---
<!-- $Id: Browser.html,v 1.1.2.1 2002/12/17 20:47:12 hship Exp $ -->

<span jwcid="$content$">

<span jwcid="@RenderBody"/>

<span jwcid="@Conditional" condition="[[ resultCount > 0 ]]">

<br>Showing <span jwcid="@Insert" value="[[ range ]]">X - Y</span>

<span jwcid="@Conditional" condition="[[ currentPage &gt; 1 ]]">
// <a jwcid="prev@DirectLink"
	listener="[[ listeners.jump ]]"
	stateful="[[ false ]]"
	parameters="[[ @@max(currentPage - 1, 1) ]]">prev</a>
</span>

<span jwcid="@Conditional" condition="[[ currentPage &lt; pageCount ]]">
// <a jwcid="next@DirectLink"
	listener="[[ listeners.jump ]]"
	stateful="[[ false ]]"
	parameters="[[ @@min(currentPage + 1, pageCount) ]]">next</a>
</span>

<br>
<br>

</span>

</span>

		

--- NEW FILE: ShowMessage.html ---
<!-- $Id: ShowMessage.html,v 1.1.2.1 2002/12/17 20:47:13 hship Exp $ -->

<span jwcid="$content$">

<span jwcid="@Conditional" condition="[[ page.message ]]">

<!-- Info Bar -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td class="clsInvalidField"><img src="images/ico_info.gif" 
		width="35" height="30" alt="[Info]" border="0" vspace="10" 
		align="absmiddle">&nbsp;&nbsp;<span class="clsInfoWarning" jwcid="@Insert" value="[[ page.message ]]">Info Message</span>
		</td>
	</tr>
</table>
<!-- END Info Bar -->

</span>

</span>

--- NEW FILE: ShowError.html ---
<!-- $Id: ShowError.html,v 1.1.2.1 2002/12/17 20:47:13 hship Exp $ -->

<span jwcid="$content$">

<span jwcid="@Conditional" condition="[[ page.error ]]">
<!-- Warning Bar -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td class="clsInvalidField"><img src="images/ico_invalid.gif" 
		width="35" height="30" alt="[Error]" border="0" vspace="10" 
		align="absmiddle">&nbsp;&nbsp;<span class="clsInfoWarning" jwcid="@Insert" value="[[ page.error ]]">Error Message</span>
		</td>
	</tr>
</table>
<!-- END Warning Bar -->
				
</span>		

</span>

--- NEW FILE: ShowValidationError.jwc ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: ShowValidationError.jwc,v 1.1.2.1 2002/12/17 20:47:13 hship Exp $ -->
<!DOCTYPE component-specification PUBLIC 
	"-//Howard Lewis Ship//Tapestry Specification 1.3//EN" 
	"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
	
<component-specification class="net.sf.tapestry.BaseComponent" 
	allow-informal-parameters="no">

  <parameter name="delegate" java-type="net.sf.tapestry.valid.IValidationDelegate" required="yes"/>
  
</component-specification>

--- NEW FILE: BookLink.jwc ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: BookLink.jwc,v 1.1.2.1 2002/12/17 20:47:13 hship Exp $ -->
<!DOCTYPE component-specification PUBLIC
	"-//Howard Lewis Ship//Tapestry Specification 1.3//EN" 
	"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
	
<component-specification class="net.sf.tapestry.vlib.components.BookLink"
	allow-body="no" 
	allow-informal-parameters="no">
  
  <parameter name="book" java-type="net.sf.tapestry.vlib.ejb.Book" required="yes" direction="in"/>
  
  <component id="link" type="ExternalLink">
    <static-binding name="page">ViewBook</static-binding>
    <binding name="parameters" expression="book.primaryKey"/>
  </component>
   
</component-specification>

Index: BorrowedBooks.page
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Vlib/context/WEB-INF/Attic/BorrowedBooks.page,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** BorrowedBooks.page	16 Dec 2002 19:12:13 -0000	1.1.2.1
--- BorrowedBooks.page	17 Dec 2002 20:47:12 -0000	1.1.2.2
***************
*** 8,30 ****
  
    <property name="page-type">library</property>
-   
-   <component id="border" type="Border">
-     <static-binding name="title">Borrowed Books</static-binding>
-   </component>
- 
-   <component id="showError" type="ShowError"/>
  
-   <component id="showMessage" type="ShowMessage"/>
- 
-   <component id="ifNoBooks" type="Conditional">
-     <binding name="condition" expression="components.browser.resultCount"/>
-     <field-binding name="invert" field-name="Boolean.TRUE"/>
-   </component>
-   
-   <component id="ifBooks" type="Conditional">
-     <binding name="condition" expression="components.browser.resultCount"/>
-   </component>
    
- 
    <component id="browser" type="Browser">
    	<binding name="query" expression="borrowedQuery"/>
--- 8,13 ----
***************
*** 39,66 ****
      <binding name="value" expression="currentBook"/>
      <static-binding name="element">tr</static-binding>
!   </component>
!   
!   <component id="bookLink" type="BookLink">
!     <binding name="book" expression="currentBook"/>
!   </component>
!   
!   <component id="insertAuthor" type="Insert">
!     <binding name="value" expression="currentBook.author"/>
!   </component>
!   
!   <component id="insertPublisher" type="Insert">
!     <binding name="value" expression="currentBook.publisherName"/>
!   </component>
!   
!   <component id="ownerLink" type="PersonLink">
!     <binding name="name" expression="currentBook.ownerName"/>
!     <binding name="primaryKey" expression="currentBook.ownerPrimaryKey"/>
!     <static-binding name="class">clsDataBlue</static-binding>
!   </component>
!   
!   <component id="return" type="DirectLink">
!     <binding name="parameters" expression="currentBook.primaryKey"/>
!     <binding name="listener" expression="listeners.returnBook"/>
!   </component>
!   
  </page-specification>
--- 22,26 ----
      <binding name="value" expression="currentBook"/>
      <static-binding name="element">tr</static-binding>
!   </component>  
!     
  </page-specification>

Index: EditBook.page
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Vlib/context/WEB-INF/Attic/EditBook.page,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** EditBook.page	16 Dec 2002 19:12:20 -0000	1.1.2.1
--- EditBook.page	17 Dec 2002 20:47:12 -0000	1.1.2.2
***************
*** 99,103 ****
    
    <component id="publisherScript" type="Script">
!     <static-binding name="script">/net/sf/tapestry/vlib/pages/Publisher.script</static-binding>
      <binding name="select" expression="components.inputPublisher"/>
      <binding name="field" expression="components.inputPublisherName"/>
--- 99,103 ----
    
    <component id="publisherScript" type="Script">
!     <static-binding name="script">Publisher.script</static-binding>
      <binding name="select" expression="components.inputPublisher"/>
      <binding name="field" expression="components.inputPublisherName"/>

Index: NewBook.page
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Vlib/context/WEB-INF/Attic/NewBook.page,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** NewBook.page	16 Dec 2002 19:12:21 -0000	1.1.2.1
--- NewBook.page	17 Dec 2002 20:47:12 -0000	1.1.2.2
***************
*** 88,92 ****
    
    <component id="publisherScript" type="Script">
!     <static-binding name="script">/net/sf/tapestry/vlib/pages/Publisher.script</static-binding>
      <binding name="select" expression="components.inputPublisher"/>
      <binding name="field" expression="components.inputPublisherName"/>
--- 88,92 ----
    
    <component id="publisherScript" type="Script">
!     <static-binding name="script">Publisher.script</static-binding>
      <binding name="select" expression="components.inputPublisher"/>
      <binding name="field" expression="components.inputPublisherName"/>

Index: Home.page
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Vlib/context/WEB-INF/Attic/Home.page,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** Home.page	16 Dec 2002 19:12:14 -0000	1.1.2.1
--- Home.page	17 Dec 2002 20:47:12 -0000	1.1.2.2
***************
*** 5,38 ****
  	"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
  	
! <page-specification class="net.sf.tapestry.vlib.pages.Home">
  
-   <component id="border" type="Border">
-     <static-binding name="title">Virtual Library</static-binding>
-   </component>
-   
-   <component id="showError" type="ShowError"/>
-   <component id="showMessage" type="ShowMessage"/>
-   
-   <component id="searchForm" type="Form"> 
-     <binding name="listener" expression="listeners.search"/>
-     <binding name="stateful" expression="false"/>
-   </component>
-   
-   <component id="inputTitle" type="TextField">
-     <binding name="value" expression="searchTitle"/>
-     <binding name="displayWidth" expression="30"/>
-     <binding name="maximumLength" expression="100"/>
-   </component>
-   
-   <component id="inputAuthor" type="TextField">
-     <binding name="value" expression="searchAuthor"/>
-     <binding name="displayWidth" expression="30"/>
-     <binding name="maximumLength" expression="100"/>
-   </component>
-   
-   <component id="inputPublisher" type="PropertySelection">
-     <binding name="value" expression="searchPublisherPK"/>
-     <binding name="model" expression="engine.publisherModel"/>
-   </component>
-      
- </page-specification>
--- 5,8 ----
  	"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
  	
! <page-specification class="net.sf.tapestry.vlib.pages.Home"/>
  



-------------------------------------------------------
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.