You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by ds...@apache.org on 2003/07/26 04:18:28 UTC

cvs commit: jakarta-tapestry/doc/src/ComponentReference/images arrow-up.gif tableModel.gif

dsolis      2003/07/25 19:18:28

  Modified:    doc/src/ComponentReference contrib.PopupLink.html
                        contrib.TableView.html Insert.html Conditional.html
                        DirectLink.html index.html contrib.TablePages.html
                        InsertText.html ExternalLink.html ValidField.html
                        Script.html
  Added:       doc/src/ComponentReference contrib.Otherwise.html
                        contrib.When.html contrib.Choose.html
               doc/src/ComponentReference/images arrow-up.gif
                        tableModel.gif
  Log:
  Fix broken links, add missing images, add WML components index,
  add reference for Choose, When and Otherwise components.
  
  Revision  Changes    Path
  1.10      +3 -3      jakarta-tapestry/doc/src/ComponentReference/contrib.PopupLink.html
  
  Index: contrib.PopupLink.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/doc/src/ComponentReference/contrib.PopupLink.html,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- contrib.PopupLink.html	24 Mar 2003 20:41:43 -0000	1.9
  +++ contrib.PopupLink.html	26 Jul 2003 02:18:27 -0000	1.10
  @@ -9,7 +9,7 @@
   <body>
   <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr><!-- Previous component in alphabetical order. -->
  -  <td align="left"><A href="../api/org/apache/tapestry/contrib/palette/Palette.html"><IMG alt="Pallette" src="common-images/prev.png"></a></td>  
  +  <td align="left"><A href="contrib.Otherwise.html"><IMG alt="contrib:Otherwise" src="common-images/prev.png"></a></td>  
     <td align="middle"><A href="index.html"><IMG alt="Component Index" src="common-images/home.png" ></a></td><!-- Next component in alphabetical order. -->
     <td align="right"><A href="contrib.Table.html"><IMG alt="contrib:Table" src="common-images/next.png"></a></td>  
    <tr>
  @@ -148,7 +148,7 @@
    <td colspan="3"><hr></td>  
   </tr>
   <tr><!-- Previous component in alphabetical order. -->
  - <td align="left"><A href="../api/org/apache/tapestry/contrib/palette/Palette.html"><IMG alt="Palette" src="common-images/prev.png"></a></td>  
  + <td align="left"><A href="contrib.Otherwise.html"><IMG alt="contrib:Otherwise" src="common-images/prev.png"></a></td>  
    <td align="middle"><A href="index.html"><IMG alt="Component Index" src="common-images/home.png" ></a></td><!-- Next component in alphabetical order. -->
     <td align="right"><A href="contrib.Table.html"><IMG alt="contrib:Table" src="common-images/next.png"></a></td>  
   </tr>
  
  
  
  1.3       +4 -4      jakarta-tapestry/doc/src/ComponentReference/contrib.TableView.html
  
  Index: contrib.TableView.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/doc/src/ComponentReference/contrib.TableView.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- contrib.TableView.html	6 Mar 2003 17:19:18 -0000	1.2
  +++ contrib.TableView.html	26 Jul 2003 02:18:27 -0000	1.3
  @@ -28,7 +28,7 @@
     <td align="left"><a href="contrib.TableValues.html"><img alt="contrib:TableValues" src="common-images/prev.png"></a></td>  
     <td align="middle"><a href="index.html"><img alt="Component Index" src="common-images/home.png" ></a></td>
     <!-- Next component in alphabetical order. -->
  -  <td align="right"><a href="index.html"><img alt="Component Index" src="common-images/next.png"></a></td>  
  +  <td align="right"><a href="contrib.When.html"><img alt="contrib:When" src="common-images/next.png"></a></td>  
    <tr>
    <tr>
     <td colspan="3"><hr></td>  
  @@ -172,7 +172,7 @@
         <A HREF="../api/org/apache/tapestry/contrib/table/model/common/FullTableSessionStateManager.html"><CODE>FullTableSessionStateManager</CODE></A>
         is used, which just saves the entire model into the session.
         This behaviour may not be appropriate when the data is a lot or it is not
  -      <A HREF="../../../../../../http://java.sun.com/products/jdk/1.2/docs/api/java/io/Serializable.html"><CODE>Serializable</CODE></A>.
  +      <A HREF="http://java.sun.com/products/jdk/1.2/docs/api/java/io/Serializable.html"><CODE>Serializable</CODE></A>.
         <p> You can use one of the stock implementations of  
         <A HREF="../api/org/apache/tapestry/contrib/table/model/ITableSessionStateManager.html"><CODE>ITableSessionStateManager</CODE></A>
         to determine the session state behaviour, or you can just define your own.
  @@ -232,7 +232,7 @@
     <td align="left"><a href="contrib.TableValues.html"><img alt="contrib:TableValues" src="common-images/prev.png"></a></td>  
     <td align="middle"><a href="index.html"><img alt="Component Index" src="common-images/home.png" ></a></td>
     <!-- Next component in alphabetical order. -->
  -  <td align="right"><a href="index.html"><img alt="Component Index" src="common-images/next.png"></a></td>  
  +  <td align="right"><a href="contrib.When.html"><img alt="contrib:When" src="common-images/next.png"></a></td>  
   </tr>
   </table>
   
  
  
  
  1.16      +2 -2      jakarta-tapestry/doc/src/ComponentReference/Insert.html
  
  Index: Insert.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/doc/src/ComponentReference/Insert.html,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- Insert.html	24 Mar 2003 20:41:43 -0000	1.15
  +++ Insert.html	26 Jul 2003 02:18:27 -0000	1.16
  @@ -196,7 +196,7 @@
     <table width="100%">
      <tr>
       <td align="left">
  -     <A href="InsertImage.html"><IMG alt=InsertImage src="common-images/prev.png"></a>
  +     <A href="ImageSubmit.html"><IMG alt=InsertImage src="common-images/prev.png"></a>
       </td>  
       <td align="middle">
        <A href="index.html"><IMG alt=Home src="common-images/home.png"></a>
  
  
  
  1.18      +7 -7      jakarta-tapestry/doc/src/ComponentReference/Conditional.html
  
  Index: Conditional.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/doc/src/ComponentReference/Conditional.html,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- Conditional.html	4 Jul 2003 17:06:34 -0000	1.17
  +++ Conditional.html	26 Jul 2003 02:18:27 -0000	1.18
  @@ -107,10 +107,10 @@
   		<td>in</td>
   		<td>no</td>
   		<td>&nbsp;</td>
  -		<td>If specified and condition is met, then the component acts like an <A href="Any.html">Any</A>, 
  -emitting an open and close tag. Informal 
  -parameters are applied to the tag. If no element is specified, informal 
  -parameters are ignored.</td>
  +		        <td>If specified and condition is satisfied, then the component acts like 
  +                  an <A href="Any.html">Any</A>, emitting an open and close tag. 
  +                  Informal parameters are applied to the tag. If no element is 
  +                  specified, informal parameters are ignored.</td>
   	</tr>
   	</table>
     <P>
  @@ -140,8 +140,8 @@
               <pre>
   &lt;span jwcid="@<a href="Insert.html">Insert</a>" value="ognl:fullName"/&gt;
   &lt;span jwcid="<span class="jwcid">@<a href="Conditional.html">Conditional</a></span>" condition="ognl:manager"&gt; is a Manager
  - &lt;span jwcid="<span class="jwcid">@<a href="Conditional.html">Conditional</a></span>" condition="ognl:staffList.empty"&gt; with staff.&lt;/span&gt;
  - &lt;span jwcid="<span class="jwcid">@<a href="Conditional.html">Conditional</a></span>" condition="ognl:! staffList.empty"&gt;
  + &lt;span jwcid="<span class="jwcid">@<a href="Conditional.html">Conditional</a></span>" condition="ognl:! staffList.empty"&gt; with staff.&lt;/span&gt;
  + &lt;span jwcid="<span class="jwcid">@<a href="Conditional.html">Conditional</a></span>" condition="ognl:staffList.empty"&gt;
     with &lt;font color="red"&gt;&lt;b&gt;no&lt;/b&gt;&lt;/font&gt; staff.&lt;/span&gt;
   &lt;/span&gt;
   &lt;span jwcid="@<a href="Conditional.html">Conditional</a>" condition="ognl:! manager"&gt; is not a Manager.&lt;/span&gt;
  
  
  
  1.10      +2 -2      jakarta-tapestry/doc/src/ComponentReference/DirectLink.html
  
  Index: DirectLink.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/doc/src/ComponentReference/DirectLink.html,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DirectLink.html	24 Mar 2003 20:41:43 -0000	1.9
  +++ DirectLink.html	26 Jul 2003 02:18:27 -0000	1.10
  @@ -120,7 +120,7 @@
       or Integers.
       <p>
       A listener method can retrieve the parameters using 
  -    <A href="/api/org/apache/tapestry/IRequestCycle.html#getServiceParameters()">
  +    <A href="../api/org/apache/tapestry/IRequestCycle.html#getServiceParameters()">
       <tt>IRequestCycle.getServiceParameters()</tt></A>. 
       <p>
       Prior to release 2.2, the parameters were always type String. They may now 
  
  
  
  1.38      +101 -52   jakarta-tapestry/doc/src/ComponentReference/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/doc/src/ComponentReference/index.html,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- index.html	21 May 2003 19:51:58 -0000	1.37
  +++ index.html	26 Jul 2003 02:18:27 -0000	1.38
  @@ -15,97 +15,97 @@
    <td colspan="9"><h3>Framework Library</h3></td>
   </tr>
   <tr>
  - <td width="18%"><a href="ActionLink.html">ActionLink<a></td>
  + <td width="18%"><a href="ActionLink.html">ActionLink</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="DirectLink.html">DirectLink<a></td>
  + <td width="18%"><a href="DirectLink.html">DirectLink</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Image.html">Image<a></td>
  + <td width="18%"><a href="Image.html">Image</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="PageLink.html">PageLink<a></td>
  + <td width="18%"><a href="PageLink.html">PageLink</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Select.html">Select<a></td>
  + <td width="18%"><a href="Select.html">Select</a></td>
   </tr>
   <tr>
  - <td width="18%"><a href="Any.html">Any<a></td>
  + <td width="18%"><a href="Any.html">Any</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="ExceptionDisplay.html">ExceptionDisplay<a></td>
  + <td width="18%"><a href="ExceptionDisplay.html">ExceptionDisplay</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="ImageSubmit.html">ImageSubmit<a></td>
  + <td width="18%"><a href="ImageSubmit.html">ImageSubmit</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="PropertySelection.html">PropertySelection<a></td>
  + <td width="18%"><a href="PropertySelection.html">PropertySelection</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="ServiceLink.html">ServiceLink<a></td>
  + <td width="18%"><a href="ServiceLink.html">ServiceLink</a></td>
   </tr>
   <tr>
  - <td width="18%"><a href="Block.html">Block<a></td>
  + <td width="18%"><a href="Block.html">Block</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="ExternalLink.html">ExternalLink<a></td>
  + <td width="18%"><a href="ExternalLink.html">ExternalLink</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Insert.html">Insert<a></td>
  + <td width="18%"><a href="Insert.html">Insert</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Radio.html">Radio<a></td>
  + <td width="18%"><a href="Radio.html">Radio</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Shell.html">Shell<a></td>
  + <td width="18%"><a href="Shell.html">Shell</a></td>
   </tr>
   <tr>
  - <td width="18%"><a href="Body.html">Body<a></td>
  + <td width="18%"><a href="Body.html">Body</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="FieldLabel.html">FieldLabel<a></td>
  + <td width="18%"><a href="FieldLabel.html">FieldLabel</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="InsertText.html">InsertText<a></td>
  + <td width="18%"><a href="InsertText.html">InsertText</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="RadioGroup.html">RadioGroup<a></td>
  + <td width="18%"><a href="RadioGroup.html">RadioGroup</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Submit.html">Submit<a></td>
  + <td width="18%"><a href="Submit.html">Submit</a></td>
   </tr>
   <tr>
  - <td width="18%"><a href="Button.html">Button<a></td>
  + <td width="18%"><a href="Button.html">Button</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Foreach.html">Foreach<a></td>
  + <td width="18%"><a href="Foreach.html">Foreach</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="InspectorButton.html">InspectorButton<a></td>
  + <td width="18%"><a href="InspectorButton.html">InspectorButton</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="RenderBlock.html">RenderBlock<a></td>
  + <td width="18%"><a href="RenderBlock.html">RenderBlock</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="TextArea.html">TextArea<a></td>
  + <td width="18%"><a href="TextArea.html">TextArea</a></td>
   </tr>
   <tr>
  - <td width="18%"><a href="Checkbox.html">Checkbox<a></td>
  + <td width="18%"><a href="Checkbox.html">Checkbox</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Form.html">Form<a></td>
  + <td width="18%"><a href="Form.html">Form</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="LinkSubmit.html">LinkSubmit<a></td>
  + <td width="18%"><a href="LinkSubmit.html">LinkSubmit</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="RenderBody.html">RenderBody<a></td>
  + <td width="18%"><a href="RenderBody.html">RenderBody</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="TextField.html">TextField<a></td>
  + <td width="18%"><a href="TextField.html">TextField</a></td>
   </tr>
   <tr>
  - <td width="18%"><a href="Conditional.html">Conditional<a></td>
  + <td width="18%"><a href="Conditional.html">Conditional</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Frame.html">Frame<a></td>
  + <td width="18%"><a href="Frame.html">Frame</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="ListEdit.html">ListEdit<a></td>
  + <td width="18%"><a href="ListEdit.html">ListEdit</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Rollover.html">Rollover<a></td>
  + <td width="18%"><a href="Rollover.html">Rollover</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Upload.html">Upload<a></td>
  + <td width="18%"><a href="Upload.html">Upload</a></td>
   </tr>
   <tr>
  - <td width="18%"><a href="DatePicker.html">DatePicker<a></td>
  + <td width="18%"><a href="DatePicker.html">DatePicker</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="GenericLink.html">GenericLink<a></td>
  + <td width="18%"><a href="GenericLink.html">GenericLink</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Option.html">Option<a></td>
  + <td width="18%"><a href="Option.html">Option</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Script.html">Script<a></td>
  + <td width="18%"><a href="Script.html">Script</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="ValidField.html">ValidField<a></td>
  + <td width="18%"><a href="ValidField.html">ValidField</a></td>
   </tr>
   <tr>
  - <td width="18%"><a href="Delegator.html">Delegator<a></td>
  + <td width="18%"><a href="Delegator.html">Delegator</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="Hidden.html">Hidden<a></td>
  + <td width="18%"><a href="Hidden.html">Hidden</a></td>
   </tr>
   </table>
   
  @@ -117,41 +117,90 @@
    <td colspan="9"><h3>Contrib Library</h3></td>
   </tr>
   <tr>
  - <td width="18%"><a href="../api/org/apache/tapestry/contrib/valid/DateField.html">DateField</a></td>
  +    <td width="18%"><a href="contrib.Choose.html">Choose</a></td>
    <td width="2%">&nbsp;</td>
    <td width="18%"><a href="../api/org/apache/tapestry/contrib/valid/NumericField.html">NumericField</a></td>
    <td width="2%">&nbsp;</td>
    <td width="18%"><a href="contrib.Table.html">Table</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="contrib.TableRows.html">TableRows</a></td>
  + <td width="18%"><a href="contrib.TableValues.html">TableValues</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="../api/org/apache/tapestry/contrib/valid/ValidatingTextField.html">ValidatingTextField</a></td>
  + <td width="18%">&nbsp;</td>
   </tr>
   <tr>
  - <td width="18%"><a href="../api/org/apache/tapestry/contrib/informal/InheritInformalAny.html">InheritInformalAny</a></td>
  + <td width="18%"><a href="../api/org/apache/tapestry/contrib/valid/DateField.html">DateField</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="../api/org/apache/tapestry/contrib/palette/Palette.html">Palette</a></td>
  +    <td width="18%"><a href="contrib.Otherwise.html">Otherwise</a></td>
    <td width="2%">&nbsp;</td>
    <td width="18%"><a href="contrib.TableColumns.html">TableColumns</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="contrib.TableValues.html">TableValues</a></td>
  + <td width="18%"><a href="contrib.TableView.html">TableView</a></td>
  +</tr>
  +<tr>
  + <td width="18%"><a href="../api/org/apache/tapestry/contrib/informal/InheritInformalAny.html">InheritInformalAny</a></td>
    <td width="2%">&nbsp;</td>
  + <td width="18%"><a href="../api/org/apache/tapestry/contrib/palette/Palette.html">Palette</a></td>
  + <td width="2%">&nbsp;</td>
  + <td width="18%"><a href="contrib.TablePages.html">TablePages</a></td>
  + <td width="2%">&nbsp;</td>
  +  <td width="18%"><a href="../api/org/apache/tapestry/contrib/valid/ValidatingTextField.html">ValidatingTextField</a></td>
   </tr>
   <tr>
    <td width="18%"><a href="../api/org/apache/tapestry/contrib/form/MultiplePropertySelection.html">MultiplePropertySelection</a></td>
    <td width="2%">&nbsp;</td>
    <td width="18%"><a href="contrib.PopupLink.html">PopupLink</a></td>
    <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="contrib.TablePages.html">TablePages</a></td>
  - <td width="2%">&nbsp;</td>
  - <td width="18%"><a href="contrib.TableView.html">TableView</a></td>
  + <td width="18%"><a href="contrib.TableRows.html">TableRows</a></td>
    <td width="2%">&nbsp;</td>
  +    <td width="18%"><a href="contrib.When.html">When</a></td>
   </tr>
   </table>
   
   <br>
   <hr>
   
  +<table border="0" cellpadding="0" cellspacing="0">
  +<tr>
  + <td colspan="7">
  +      <h3>WML Library</h3>
  +    </td>
  +</tr>
  +<tr>
  +    <td width="18%"><a href="../api/org/apache/tapestry/wml/Card.html">Card</a></td>
  + <td width="2%">&nbsp;</td>
  +    <td width="18%"><a href="../api/org/apache/tapestry/wml/Go.html">Go</a></td>
  + <td width="2%">&nbsp;</td>
  +    <td width="18%"><a href="../api/org/apache/tapestry/wml/OnEvent.html">OnEvent</a></td>
  + <td width="2%">&nbsp;</td>
  +    <td width="18%"><a href="../api/org/apache/tapestry/wml/PropertySelection.html">PropertySelection</a></td>
  + <td width="2%">&nbsp;</td>
  +    <td width="18%"><a href="../api/org/apache/tapestry/contrib/valid/Setvar.html">Setvar</a></td>
  +</tr>
  +<tr>
  +    <td width="18%"><a href="../api/org/apache/tapestry/wml/Deck.html">Deck</a></td>
  + <td width="2%">&nbsp;</td>
  +    <td width="18%"><a href="../api/org/apache/tapestry/wml/Image.html">Image</a></td>
  + <td width="2%">&nbsp;</td>
  +    <td width="18%"><a href="../api/org/apache/tapestry/wml/Option.html">Option</a></td>
  + <td width="2%">&nbsp;</td>
  +    <td width="18%"><a href="../api/org/apache/tapestry/wml/Select.html">Select</a></td>
  + <td width="2%">&nbsp;</td>
  +   <td width="18%"><a href="../api/org/apache/tapestry/wml/Timer.html">Timer</a></td>
  +</tr>
  +<tr>
  +    <td width="18%"><a href="../api/org/apache/tapestry/wml/Do.html">Do</a></td>
  + <td width="2%">&nbsp;</td>
  +    <td width="18%"><a href="../api/org/apache/tapestry/wml/Input.html">Input</a></td>
  + <td width="2%">&nbsp;</td>
  +    <td width="18%"><a href="../api/org/apache/tapestry/wml/Postfield.html">Postfield</a></td>
  + <td width="2%">&nbsp;</td>
  +    <td width="18%"><a href="../api/org/apache/tapestry/wml/SelectionField.html">SelectionField</a></td>
  + <td width="2%">&nbsp;</td>
  +</tr>
  +</table>
  +
  +<br>
  +<hr>
   Components either <b>allow</b> or <b>forbid</b> informal parameters.  If allowed, informal parameters
   are added as HTML attributes, along with any attributes directly generated by the component.  Informal
   parameters whose names conflict with either formal parameters or <b>reserved parameters</b> are quietly
  
  
  
  1.3       +2 -2      jakarta-tapestry/doc/src/ComponentReference/contrib.TablePages.html
  
  Index: contrib.TablePages.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/doc/src/ComponentReference/contrib.TablePages.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- contrib.TablePages.html	6 Mar 2003 17:19:17 -0000	1.2
  +++ contrib.TablePages.html	26 Jul 2003 02:18:27 -0000	1.3
  @@ -45,7 +45,7 @@
      </tr>
      <tr>
       <td>
  -     <A href="./api/org/apache/tapestry/contrib/table/components/TablePages.html">org.apache.tapestry.contrib.table.components.TablePages</a>
  +     <A href="../api/org/apache/tapestry/contrib/table/components/TablePages.html">org.apache.tapestry.contrib.table.components.TablePages</a>
       </td>
      </tr>
     </table>
  
  
  
  1.8       +3 -3      jakarta-tapestry/doc/src/ComponentReference/InsertText.html
  
  Index: InsertText.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/doc/src/ComponentReference/InsertText.html,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- InsertText.html	6 Mar 2003 17:19:18 -0000	1.7
  +++ InsertText.html	26 Jul 2003 02:18:27 -0000	1.8
  @@ -99,13 +99,13 @@
     <tr>
       <td>mode</td>
       <td>
  -     <A href="/api/org/apache/tapestry/html/InsertTextMode.html">
  +     <A href="../api/org/apache/tapestry/html/InsertTextMode.html">
        <tt>InsertTextMode</tt></a>
       </td>
       <td>in</td>
      	<td>no</td>
   		<td>
  -     <A href="api/org/apache/tapestry/html/InsertTextMode.html#BREAK">
  +     <A href="../api/org/apache/tapestry/html/InsertTextMode.html#BREAK">
        <tt>InsertTextMode.BREAK</tt></a>
       </td>
   		<td>Identifies how to break apart lines for display [BREAK | PARAGRAPH].</td>
  
  
  
  1.5       +4 -7      jakarta-tapestry/doc/src/ComponentReference/ExternalLink.html
  
  Index: ExternalLink.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/doc/src/ComponentReference/ExternalLink.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ExternalLink.html	6 Mar 2003 17:19:18 -0000	1.4
  +++ ExternalLink.html	26 Jul 2003 02:18:27 -0000	1.5
  @@ -101,12 +101,9 @@
       <td>in</td>
      	<td>no</td>
   		<td>&nbsp;</td>
  -		<td>
  -    An array of objects to be encoded into the URL. These parameters will be 
  -    passed to 
  -    <A href="/api/org/apache/tapestry/IExternalPage.html#activateExternalPage(Object[], IRequestCycle)">
  -    <tt>IExternalPage.activateExternalPage()</tt></a> method. 
  -    </td>
  +		        <td> An array of objects to be encoded into the URL. These parameters 
  +                  will be passed to <A href="../api/org/apache/tapestry/IExternalPage.html#activateExternalPage(Object%5B%5D,%20IRequestCycle)"> 
  +                  <tt>IExternalPage.activateExternalPage()</tt></a> method. </td>
   	</tr>
     <tr>
       <td>disabled</td>
  
  
  
  1.20      +2 -2      jakarta-tapestry/doc/src/ComponentReference/ValidField.html
  
  Index: ValidField.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/doc/src/ComponentReference/ValidField.html,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- ValidField.html	21 May 2003 19:39:20 -0000	1.19
  +++ ValidField.html	26 Jul 2003 02:18:27 -0000	1.20
  @@ -226,7 +226,7 @@
     is also used to display the first error message if any fields have errors. 
   	<p>
     For a more extensive example see the 
  -  <a href="..\Tutorial\workbench.html">Tapestry Workbench</a>. The Fields 
  +  <a href="../Tutorial/workbench.html">Tapestry Workbench</a>. The Fields 
     example in the Workbench also illustrates how to use the 
     <a href="FieldLabel.html">FieldLabel</a> component to high light invalid 
     fields.
  
  
  
  1.12      +2 -2      jakarta-tapestry/doc/src/ComponentReference/Script.html
  
  Index: Script.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/doc/src/ComponentReference/Script.html,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Script.html	24 Mar 2003 20:41:43 -0000	1.11
  +++ Script.html	26 Jul 2003 02:18:27 -0000	1.12
  @@ -67,7 +67,7 @@
     "onload" event handler.
     <p>
     See the Developers Guide 
  -  <A href="..\DevelopersGuide\script.html">Tapestry and JavaScript</a> for a complete description of Tapestry's JavaScript 
  +  <A href="../DevelopersGuide/script.html">Tapestry and JavaScript</a> for a complete description of Tapestry's JavaScript 
               integration.</p>
                
    </td>
  
  
  
  1.1                  jakarta-tapestry/doc/src/ComponentReference/contrib.Otherwise.html
  
  Index: contrib.Otherwise.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  <!-- $Id: contrib.Otherwise.html,v 1.1 2003/07/26 02:18:27 dsolis Exp $ --> 
  <html>
  <head>
  <title>contrib:Otherwise</title>
  <link rel="stylesheet" type="text/css" href="Tapestry.css" title="style">
  </head>
  
  <body>
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
   <tr>
    <td align="left"><a href="contrib.Choose.html"><img alt="contrib:Choose" src="common-images/prev.png"></a></td>  
    <td align="middle"><a href="index.html"><img alt="Component Index" src="common-images/home.png" ></a></td>
    <td align="right"><a href="contrib.PopupLink.html"><img alt="PopupLink" src="common-images/next.png"></a></td>  
   <tr>
   <tr>
    <td colspan="3"><hr></td>  
   </tr>
   <tr>
    <td colspan="3">
     <table border="0" cellpadding="4" cellspacing="4" width="100%">
  
  <tr valign="top">
   <td>
    <table>
     <tr>
                  <td><font size="+2"><b>contrib:Otherwise</b></font></td>
     </tr>
     <tr>
      <td>
       <A href="../api/org/apache/tapestry/contrib/components/When.html">org.apache.tapestry.contrib.components.Otherwise</a>
      </td>
     </tr>
    </table>
   </td>
   <td>
    <table align="right" valign="middle" bgcolor="#c0c0c0" cellpadding="8">
     <tr>
                  <td> Non Visual Component</td>
     </tr>
    </table>
   </td>
  </tr>
  
  <tr valign="center">
   <td colspan="2">&nbsp;</td>
  </tr>
  
  <tr>
   <td colspan="2">
    <b>Description</b>
    <br>
              Provides a default condition for Choose component. Other alternatives 
              are indicated by When components.<p>Must have Choose as an immediate parent and must be the last nested component within Choose.</p></td>
  </tr>
  
  <tr>
   <td colspan="2">
    <b>See Also</b>
    <br>
              <A href="Conditional.html">Conditional</a>, <A href="contrib.Choose.html">Choose</a>, 
              <A href="contrib.When.html">When</a> </td>
  </tr>			
  <tr>
   <td colspan="2">
    <b>Parameters</b>
    <br>
              <table border="1" cellpadding="4" cellspacing="4" class="parameters">
                <tr> 
                  <th>Name</th>
                  <th>Type</th>
                  <th>Direction</th>
                  <th>Required</th>
                  <th>Default</th>
                  <th>Description</th>
                </tr>
                <tr> 
                  <td>element</td>
                  <td>String</td>
                  <td>in</td>
                  <td>no</td>
                  <td>&nbsp;</td>
                  <td>If specified and none of the conditions in any When component 
                    is satisfied, then the component acts like an <a href="Any.html">Any</a>, 
                    emitting an open and close tag. Informal parameters are applied 
                    to the tag. If no element is specified, informal parameters 
                    are ignored.</td>
                </tr>
              </table>          <p> Body: <strong>rendered</strong><br>
                Informal parameters: <strong>allowed</strong><br>
                Reserved parameters: none </p>    
   </td>
  </tr>
  
  <tr>
            <td colspan="2"> <b>Examples</b> 
              <p> Please see the documentation for the <a href="contrib.Choose.html">Choose</a> 
                component.</p>
        
  
   </td></tr></table>
  </td></tr>
  <tr>
   <td colspan="3"><hr></td>  
  </tr>
  <tr>
    <td align="left"><a href="contrib.Choose.html"><img alt="contrib:Choose" src="common-images/prev.png"></a></td>  
    <td align="middle"><a href="index.html"><img alt="Component Index" src="common-images/home.png" ></a></td>
    <td align="right"><a href="contrib.PopupLink.html"><img alt="PopupLink" src="common-images/next.png"></a></td>  
  </tr>
  </table>
  
  </body>
  </html>
  
  
  1.1                  jakarta-tapestry/doc/src/ComponentReference/contrib.When.html
  
  Index: contrib.When.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  <!-- $Id: contrib.When.html,v 1.1 2003/07/26 02:18:27 dsolis Exp $ --> 
  <html>
  <head>
  <title>contrib:When</title>
  <link rel="stylesheet" type="text/css" href="Tapestry.css" title="style">
  </head>
  
  <body>
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
   <tr>
    <td align="left"><a href="contrib.TableView.html"><img alt="TableView" src="common-images/prev.png"></a></td>  
    <td align="right"><a href="index.html"><img alt="Component Index" src="common-images/home.png" ></a></td>
   </tr>
   <tr>
   <tr>
    <td colspan="3"><hr></td>  
   </tr>
   <tr>
    <td colspan="3">
     <table border="0" cellpadding="4" cellspacing="4" width="100%">
  
  <tr valign="top">
   <td>
    <table>
     <tr>
                  <td><font size="+2"><b>contrib:When</b></font></td>
     </tr>
     <tr>
      <td>
        <A href="../api/org/apache/tapestry/contrib/components/When.html">org.apache.tapestry.contrib.components.When</a>
      </td>
     </tr>
    </table>
   </td>
   <td>
    <table align="right" valign="middle" bgcolor="#c0c0c0" cellpadding="8">
     <tr>
                  <td> Non Visual Component</td>
     </tr>
    </table>
   </td>
  </tr>
  
  <tr valign="center">
   <td colspan="2">&nbsp;</td>
  </tr>
  
  <tr>
   <td colspan="2">
    <b>Description</b>
    <br>
              Describes one of the alternatives to be chosen by the Choose component. 
              The default alternative is described by the Otherwise component.<p>Must have Choose as an immediate parent and must appear before an Otherwise that has the same parent.</p></td>
  </tr>
  
  <tr>
   <td colspan="2">
    <b>See Also</b>
    <br>
              <A href="Conditional.html">Conditional</a>, <A href="contrib.Choose.html">Choose</a>, 
              <A href="contrib.Otherwise.html">Otherwise</a> </td>
  </tr>
  
  <tr>
   <td colspan="2">
    <b>Parameters</b>
    <br>
    <table border="1" cellpadding="4" cellspacing="4" class="parameters">
     <tr> 
      <th>Name</th>
      <th>Type</th>
      <th>Direction</th>
      <th>Required</th> 
      <th>Default</th>
      <th>Description</th>
     </tr>
     <tr>
                  <td>condition</td>
      <td>String</td>
      <td>in</td>
                  <td>no</td>
                  <td>false</td>
                  <td>The condition to test. If the expression evaluates to true, 
                    then its content is rendered.</td>
     </tr>
     <tr>
                  <td>element</td>
      <td>String</td>
      <td>in</td>
      <td>no</td>
      <td>&nbsp;</td>
                  <td>If specified and condition is satisfied, then the component acts like 
                    an <a href="Any.html">Any</a>, emitting an open and close tag. 
                    Informal parameters are applied to the tag. If no element is 
                    specified, informal parameters are ignored.</td>
     </tr>
    </table>
              <p> Body: <strong>rendered</strong><br>
                Informal parameters: <strong>allowed</strong><br>
                Reserved parameters: none </p>    
   </td>
  </tr>
  
  <tr>
            <td colspan="2"> <b>Examples</b> 
              <p> Please see the documentation for the <a href="contrib.Choose.html">Choose</a> 
                component.</p>
        
  
   </td></tr></table>
  </td></tr>
  <tr>
   <td colspan="3"><hr></td>  
  </tr>
  <tr>
    <td align="left"><a href="contrib.TableView.html"><img alt="TableView" src="common-images/prev.png"></a></td>  
    <td align="right"><a href="index.html"><img alt="Component Index" src="common-images/home.png" ></a></td>
  </tr>
  </table>
  
  </body>
  </html>
  
  
  1.1                  jakarta-tapestry/doc/src/ComponentReference/contrib.Choose.html
  
  Index: contrib.Choose.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  <!-- $Id: contrib.Choose.html,v 1.1 2003/07/26 02:18:27 dsolis Exp $ --> 
  <html>
  <head>
  <title>contrib:Choose</title>
  <link rel="stylesheet" type="text/css" href="Tapestry.css" title="style">
  </head>
  
  <body>
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
   <tr>
    <td align="left"><a href="index.html"><img alt="Component Index" src="common-images/home.png" ></a></td>
    <td align="right"><a href="contrib.Otherwise.html"><img alt="contrib:Otherwise" src="common-images/next.png"></a></td>  
   <tr>
   <tr>
    <td colspan="3"><hr></td>  
   </tr>
   <tr>
    <td colspan="3">
     <table border="0" cellpadding="4" cellspacing="4" width="100%">
  
  <tr valign="top">
   <td>
    <table>
     <tr>
                  <td><font size="+2"><b>contrib:Choose</b></font></td>
     </tr>
     <tr>
      <td>
       <A href="../api/org/apache/tapestry/contrib/components/Choose.html">org.apache.tapestry.contrib.components.Choose</a>
      </td>
     </tr>
    </table>
   </td>
   <td>
    <table align="right" valign="middle" bgcolor="#c0c0c0" cellpadding="8">
     <tr>
                  <td> Non Visual Component</td>
     </tr>
    </table>
   </td>
  </tr>
  
  <tr valign="center">
   <td colspan="2">&nbsp;</td>
  </tr>
  
  <tr>
            <td colspan="2"> 
              <p><b>Description</b> <br>
                The Choose component is used in conjunction with When and Otherwise 
                components to express mutually exclusive conditional tests. <br>
                <br>
                The Choose component must contain one or more When componets and 
                can contain only one optional Otherwise component (which must occur 
                after all of the When components). If the Choose component only 
                contains one When element, then for all practical purposes, it behaves 
                just like the Conditional component. When faced with three or more 
                choices, this component behaves like a switch/case/default statement. 
                
              <p>Each When component is examined in the order of occurrence. If 
                and when the condition expression is satisfied the content in that 
                component is rendered. Then all further When components are ignored. 
                The optional Otherwise component is also automatically ignored. 
                If none of the conditions in any When component is satisfied , then 
                the Otherwise component is automatically selected (if it is present) 
                and the content associated with that element is rendered.</p>
  			  The body of the Choose component can only contain:
  			  <ul>
  			  <li>White spaces<br>May appear anywhere around the When and Otherwise components.</li>
  			  <li>1 or more When components<br>Must all appear before Otherwise.</li>
  			  <li>0 or 1 Otherwise component<br>Must be the last component nested within Choose</li>
  			  </ul>
  			  
              <p> For simple conditional testing, use the Conditional component. 
              </p>
            </td>
  </tr>
  
  <tr>
   <td colspan="2">
    <b>See Also</b>
    <br>
              <A href="Conditional.html">Conditional</a>, <A href="contrib.When.html">When</a>, 
              <A href="contrib.Otherwise.html">Otherwise</a> </td>
  </tr>
  
  <tr>
   <td colspan="2">
    <b>Parameters</b>
  	<br>
    None
    <p>
    Body: <STRONG>rendered<BR></STRONG>
    Informal parameters: 
              <STRONG>forbidden</STRONG>
       <br>
    Reserved 
              parameters: <EM>none</EM></p>
      
   </td>
  </tr>
  
  <tr>
   <td colspan="2">
    <b>Examples</b>
              <p> The following sample code shows how the text rendered depends 
                on a user&#146;s membership category. 
              <pre>
  
                &lt;span jwcid=&quot;contrib:Choose&gt;
                   &lt;span jwcid=&quot;@contrib:When&quot; condition='ognl:&quot;visitor&quot;.equals(user.category)'&gt;
                      ...
                   &lt;/span&gt;
                   &lt;span jwcid=&quot;@contrib:When&quot; condition='ognl:&quot;member&quot;.equals(user.category)'&gt;
                      ...
                   &lt;/span&gt;
                   &lt;span jwcid=&quot;@contrib:When&quot; condition='ognl:&quot;customer&quot;.equals(user.category)'&gt;
                      &lt;span jwcid=&quot;contrib:Choose&gt;
                         &lt;span jwcid=&quot;@contrib:When&quot; condition='ognl:&quot;person&quot;.equals(user.profile)'&gt;
                            ...
                         &lt;/span&gt;
                         &lt;span jwcid=&quot;@contrib:When&quot; condition='ognl:&quot;enterprise&quot;.equals(user.profile)'&gt;
                            ...
                         &lt;/span&gt;
                      &lt;/span&gt;
                   &lt;/span&gt;
                   &lt;span jwcid=&quot;@contrib:Otherwise&quot;&gt;
                      ...
                   &lt;/span&gt;
                &lt;/span&gt;
              </pre>
              An if/then/else statement can be easily achieved as follows: 
              <pre>
  			
                &lt;span jwcid=&quot;@contrib:Choose&quot;&gt;
                   &lt;span jwcid=&quot;@contrib:When&quot; condition=&quot;ognl: count == 0&quot;&gt;
                      Your search did not match any documents.
                   &lt;/span&gt;
                   &lt;span jwcid=&quot;@contrib:Otherwise&quot;&gt;
                      &lt;span jwcid=&quot;@Insert&quot; value=&quot;ognl: count&quot;/&gt; documents matched your selection.
                   &lt;/span&gt;
                &lt;/span&gt;
  			  </pre> 
        
  
   </td></tr></table>
  </td></tr>
  <tr>
   <td colspan="3"><hr></td>  
  </tr>
  <tr>
   <td align="left"><a href="index.html"><img alt="Component Index" src="common-images/home.png" ></a></td>
   <td align="right"><a href="contrib.Otherwise.html"><img alt="contrib:Otherwise" src="common-images/next.png"></a></td>  
  </tr>
  </table>
  
  </body>
  </html>
  
  
  1.1                  jakarta-tapestry/doc/src/ComponentReference/images/arrow-up.gif
  
  	<<Binary file>>
  
  
  1.2       +48 -0     jakarta-tapestry/doc/src/ComponentReference/images/tableModel.gif
  
  	<<Binary file>>
  
  

Re: Illegal html in samples, with span outside of body

Posted by Colin Sampaleanu <co...@exis.com>.
Sure, assuming this is Home.html, that would be

<html>
<head>...</head>
<body jcwid="$content$">
	<span jcwid="@Border">
		page content
	</span>
</body>
</html>

or with the enhanced form

<html>
<head>...</head>
<body jcwid="@border,$content$">
		page content
</body>
</html>

But in Border.html itself, you would have a somewhat less than optimal 
layout to be legal,

<html jwcid="@Shell" stylesheet="ognl:assets.stylesheet" title="MyCorp 
Customer Login">
<head jwcid="$remove$">
  <link rel="stylesheet" type="text/css" href="../css/app.css"
 title="style"><title>Border Component</title></head>
<body jwcid="@Body" leftmargin="0" topmargin="0" marginwidth="0"
   ...

I say less than optimal since I'm not sure you want the Shell on the 
HTML, some editores would complain about it there where they wouldn't 
complain about it elsewhere.

Now I don't think the enhanced form would really help much here, in 
terms of being able to use the Body component on the body element, but 
have the Shell somewhere lower down.


Stefano Bagnara wrote:

>I think tapestry does not impose that a @Body object must be only in a
><body tag and a $content$ must be only in span tags.
>
>So:
>
><html>
><head>...</head>
><body jcwid="$content$">
>	<span jcwid="@Body">
>		page content
>	</span>
></body>
></html>
>
>Will solve both problems, right?
>
>The span with the @Body can be also a span with a @Border component.
>
>  
>
>>-----Original Message-----
>>From: Howard M. Lewis Ship [mailto:hlship@comcast.net] 
>>Sent: Thursday, July 31, 2003 9:27 PM
>>To: 'Tapestry development'
>>Subject: RE: Illegal html in samples, with span outside of body
>>
>>
>>Yes, but a more common pattern would be:
>>
>><html> 
>><head> ... </head>
>><span jwcid="$content$">
>><body jwcid="@MyAppsCustomBorderComponent">
>>
>>...
>>
>></body>
>></span>
>></html>
>>
>>Again, this would look better if it was something like:
>>
>><html>
>><head> ... </head>
>><body jwcid="@MyAppsCustomBorderComponent,$content$">
>>...
>></body>
>></html>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>  
>



RE: Illegal html in samples, with span outside of body

Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
Yep, that's legal all right.  The Body component will always render a <body> tag, even if it is
represented in the template using a <span> tag (or a <fred> tag, for that matter).

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry



> -----Original Message-----
> From: Stefano Bagnara [mailto:bago@ngi.it] 
> Sent: Friday, August 01, 2003 10:09 AM
> To: 'Tapestry development'
> Subject: RE: Illegal html in samples, with span outside of body
> 
> 
> I think tapestry does not impose that a @Body object must be 
> only in a <body tag and a $content$ must be only in span tags.
> 
> So:
> 
> <html>
> <head>...</head>
> <body jcwid="$content$">
> 	<span jcwid="@Body">
> 		page content
> 	</span>
> </body>
> </html>
> 
> Will solve both problems, right?
> 
> The span with the @Body can be also a span with a @Border component.
> 
> > -----Original Message-----
> > From: Howard M. Lewis Ship [mailto:hlship@comcast.net]
> > Sent: Thursday, July 31, 2003 9:27 PM
> > To: 'Tapestry development'
> > Subject: RE: Illegal html in samples, with span outside of body
> > 
> > 
> > Yes, but a more common pattern would be:
> > 
> > <html>
> > <head> ... </head>
> > <span jwcid="$content$">
> > <body jwcid="@MyAppsCustomBorderComponent">
> > 
> > ...
> > 
> > </body>
> > </span>
> > </html>
> > 
> > Again, this would look better if it was something like:
> > 
> > <html>
> > <head> ... </head>
> > <body jwcid="@MyAppsCustomBorderComponent,$content$">
> > ...
> > </body>
> > </html>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
> 


RE: Illegal html in samples, with span outside of body

Posted by Stefano Bagnara <ba...@ngi.it>.
I think tapestry does not impose that a @Body object must be only in a
<body tag and a $content$ must be only in span tags.

So:

<html>
<head>...</head>
<body jcwid="$content$">
	<span jcwid="@Body">
		page content
	</span>
</body>
</html>

Will solve both problems, right?

The span with the @Body can be also a span with a @Border component.

> -----Original Message-----
> From: Howard M. Lewis Ship [mailto:hlship@comcast.net] 
> Sent: Thursday, July 31, 2003 9:27 PM
> To: 'Tapestry development'
> Subject: RE: Illegal html in samples, with span outside of body
> 
> 
> Yes, but a more common pattern would be:
> 
> <html> 
> <head> ... </head>
> <span jwcid="$content$">
> <body jwcid="@MyAppsCustomBorderComponent">
> 
> ...
> 
> </body>
> </span>
> </html>
> 
> Again, this would look better if it was something like:
> 
> <html>
> <head> ... </head>
> <body jwcid="@MyAppsCustomBorderComponent,$content$">
> ...
> </body>
> </html>


RE: Illegal html in samples, with span outside of body

Posted by Stefano Bagnara <ba...@ngi.it>.
> Again, this would look better if it was something like:
> 
> <html>
> <head> ... </head>
> <body jwcid="@MyAppsCustomBorderComponent,$content$">
> ...
> </body>
> </html>
> 
> That's conformant, but allows the border component to provide 
> the <html> and <head> (via @Shell) and
> <body> (via @Body).


Would the jwcid be an ordered list?
Should we use $content$ BEFORE the @MyAppsCustomBorderComponent?

If Tapestry will support multiple comma separated ids for a given tag
then I would suggest to suppport the standard "class" attribute for
tapestry ids, too.

Many commons visual html editors support editing of class elements and I
think it is html standard to have comma separated classes for a tag.
"*@*", "$*$" can be recognized by tapestry and a new convention for
named components (that are text only now). I'm not sure if @ and $ are
allowed as CSS class names, anyone knows?

Tapestry would then remove the recognized "classes".

I think a custom TemplateParser could allow this, am I right?

-b-


RE: Illegal html in samples, with span outside of body

Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
Yes, but a more common pattern would be:

<html> 
<head> ... </head>
<span jwcid="$content$">
<body jwcid="@MyAppsCustomBorderComponent">

...

</body>
</span>
</html>

Again, this would look better if it was something like:

<html>
<head> ... </head>
<body jwcid="@MyAppsCustomBorderComponent,$content$">
...
</body>
</html>

That's conformant, but allows the border component to provide the <html> and <head> (via @Shell) and
<body> (via @Body).

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry



> -----Original Message-----
> From: Colin Sampaleanu [mailto:colinml1@exis.com] 
> Sent: Thursday, July 31, 2003 2:57 PM
> To: Tapestry development
> Subject: Re: Illegal html in samples, with span outside of body
> 
> 
> Interesting, so in fact, the original sample from Shell could 
> very well 
> be rewritten in this format, would be conformant, and 
> wouldn't need the
> 
> <body jwcid="@Body,$content$"> ... </body>
> 
> enhancement you described either...
> 
> 
> 
> 
> Howard M. Lewis Ship wrote:
> 
> ><html jwcid="@Shell">
> ><head jwcid="$remove$"> .. </head>
> ><body jwcid="@Body">
> >
> >...
> >
> >
> >
> >--
> >Howard M. Lewis Ship
> >Creator, Tapestry: Java Web Components 
> >http://jakarta.apache.org/tapestry
> >
> >
> >
> >  
> >
> >>-----Original Message-----
> >>From: Colin Sampaleanu [mailto:colinml1@exis.com]
> >>Sent: Thursday, July 31, 2003 2:15 PM
> >>To: Tapestry development
> >>Subject: Re: Illegal html in samples, with span outside of body
> >>
> >>
> >>Will do so.  One thing I am not clear on with your proposal
> >>though, how 
> >>would the Shell tie in. You can not have
> >>
> >><span jwcid="@Shell" .../>
> >>
> >>inside the body right, since the nesting order is wrong, or can you?
> >>
> >>
> >>Howard M. Lewis Ship wrote:
> >>
> >>    
> >>
> >>>It's a bit of a quandrary.
> >>>
> >>>I've been thinking of extending the jwcid syntax a little
> >>>      
> >>>
> >>further, so
> >>    
> >>
> >>>that you could say something like
> >>>
> >>><body jwcid="@Body,$content$"> ... </body>
> >>>
> >>>This would be (approximately) equivalent to:
> >>>
> >>><span jwcid="$content$">
> >>><body jwcid="@Body">
> >>>
> >>>...
> >>>
> >>></body>
> >>></span>
> >>>
> >>>But would be conformant.
> >>>
> >>>My philospophy is generally (believe it or not!) start with the
> >>>simplest system that works and add to it only what's 
> >>>      
> >>>
> >>necessary.  I can
> >>    
> >>
> >>>see this as necessary.  I would ask you to add a suggestionn to
> >>>Bugzilla and direct people to vote on how urgent this change 
> >>>      
> >>>
> >>would be.
> >>    
> >>
> >>>I'd prefer it to be in 3.1, since it's no a very beta kind 
> of change.
> >>>
> >>>--
> >>>Howard M. Lewis Ship
> >>>Creator, Tapestry: Java Web Components
> >>>http://jakarta.apache.org/tapestry
> >>>
> >>>
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>>>-----Original Message-----
> >>>>From: Colin Sampaleanu [mailto:colinml1@exis.com]
> >>>>Sent: Thursday, July 31, 2003 1:56 PM
> >>>>To: Tapestry development
> >>>>Subject: Re: Illegal html in samples, with span outside of body
> >>>>
> >>>>
> >>>>Sure, I understand that the produced HTML is fine. I was just 
> >>>>suggesting that maybe the samples and docs shouldn't use 
> the illegal
> >>>>format. (given 
> >>>>that you can do what you need to in a page which is 
> >>>>conformat). The two 
> >>>>HTML designers I asked about spans outside the body said  
> >>>>that they've 
> >>>>never seen any pages which did this (which of course makes 
> >>>>sense since 
> >>>>nothing outside of Tapestry would ever have a need). I guess 
> >>>>it's not an 
> >>>>issue as long as you don't use an editor which can't handle this 
> >>>>(Mozilla Composer for example strips them out), and don't 
> >>>>expect to run 
> >>>>the pages through something like Tidy...
> >>>>
> >>>>Regards,
> >>>>
> >>>>Colin
> >>>>
> >>>>Howard M. Lewis Ship wrote:
> >>>>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>It's somewhat of an issue when developing the application
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>... but the
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>HTML that eventually ends up in the user's web browser IS
> >>>>>          
> >>>>>
> >>conformant.
> >>    
> >>
> >>>>>--
> >>>>>Howard M. Lewis Ship
> >>>>>Creator, Tapestry: Java Web Components 
> >>>>>http://jakarta.apache.org/tapestry
> >>>>>
> >>>>>
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>>>-----Original Message-----
> >>>>>>From: Colin Sampaleanu [mailto:colinml1@exis.com]
> >>>>>>Sent: Thursday, July 31, 2003 1:40 PM
> >>>>>>To: Tapestry development
> >>>>>>Cc: tapestry-user@jakarta.apache.org
> >>>>>>Subject: Illegal html in samples, with span outside of body
> >>>>>>
> >>>>>>
> >>>>>>I wanted to question the existence of a fair amount of HTML in
> >>>>>>samples and the docs in which the span element is used in 
> >>>>>>            
> >>>>>>
> >>a location
> >>    
> >>
> >>>>>>that makes
> >>>>>>the HTML file non-conformant, and see if nobody else thinks 
> >>>>>>it's an issue.
> >>>>>>
> >>>>>>If you look at the sample for Shell for example, there is
> >>>>>>            
> >>>>>>
> >>a snippet
> >>    
> >>
> >>>>>>like:
> >>>>>>
> >>>>>><html>
> >>>>>><head>
> >>>>>><link rel="stylesheet" type="text/css"
> >>>>>>*href="../../style.css"* title="style">  <title>MyCorp Customer 
> >>>>>>Login</title> </head>
> >>>>>>
> >>>>>><span jwcid="$content$">
> >>>>>><span jwcid="@Shell
> >>>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/She
> >>>>>>ll.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp
> >>>>>>Customer Login"> <body jwcid="@Body 
> >>>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Bod
> >>>>>>y.html>">
> >>>>>>
> >>>>>><h1>Customer Login</h1>
> >>>>>>Welcome to MyCorp's Customer Portal secure login page. <p>
> >>>>>><span jwcid="@Insert 
> >>>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Ins
> >>>>>>ert.html>" value="ognl:dailyMessage" class="ognl:messageClass"/>
> >>>>>>
> >>>>>></body>
> >>>>>></span>
> >>>>>></span>
> >>>>>></html>
> >>>>>>
> >>>>>>now this is actually not legal HTML, and some HTML editors would
> >>>>>>actually strip out or complain about the spans outside 
> the body. 
> >>>>>>Would it not be a good idea to make sample HTML conformant?
> >>>>>>Unfortuntately for 
> >>>>>>the above example that would preclude using the Body 
> >>>>>>component with the 
> >>>>>>actual body tag, I think it would have to become something like:
> >>>>>>
> >>>>>><html>
> >>>>>><head>
> >>>>>><link rel="stylesheet" type="text/css"
> >>>>>>*href="../../style.css"* title="style">  <title>MyCorp Customer 
> >>>>>>Login</title> </head>
> >>>>>>
> >>>>>><body>
> >>>>>><span jwcid="$content$">
> >>>>>><span jwcid="@Shell
> >>>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/She
> >>>>>>  
> >>>>>>
> >>>>>>       
> >>>>>>
> >>>>>>            
> >>>>>>
> >>>>>ll.html>" stylesheet="ognl:assets.stylesheet"
> >>>>>          
> >>>>>
> >>title="MyCorp Customer
> >>    
> >>
> >>>>>Login"> <span jwcid="@Body
> >>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Bo
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>dy.html>">
> >>> 
> >>>
> >>>      
> >>>
> >>>><h1>Customer Login</h1>
> >>>>Welcome to MyCorp's Customer Portal secure login page.
> >>>><p>
> >>>><span jwcid="@Insert 
> >>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/I
> >>>>        
> >>>>
> >nsert.html>"
> >  
> >
> >>>value="ognl:dailyMessage" class="ognl:messageClass"/>
> >>>
> >>></span>
> >>></span>
> >>></span>
> >>></body>
> >>></html>
> >>>
> >>>Not as nice, since ideally you'd want to use as many 
> coponents on the
> >>>actual tags they represent, but at least it's correct.
> >>>
> >>>Maybe for some people this is a complete non-issue, since of course
> >>>almost any browser will not complain, but to me there's something 
> >>>wrong with using and endorsing illegal xhtml.
> >>>
> >>>What do you think?
> >>>      
> >>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
> 


Re: Illegal html in samples, with span outside of body

Posted by Colin Sampaleanu <co...@exis.com>.
Interesting, so in fact, the original sample from Shell could very well 
be rewritten in this format, would be conformant, and wouldn't need the

<body jwcid="@Body,$content$"> ... </body>

enhancement you described either...




Howard M. Lewis Ship wrote:

><html jwcid="@Shell">
><head jwcid="$remove$"> .. </head>
><body jwcid="@Body">
>
>...
>
>
>
>--
>Howard M. Lewis Ship
>Creator, Tapestry: Java Web Components
>http://jakarta.apache.org/tapestry
>
>
>
>  
>
>>-----Original Message-----
>>From: Colin Sampaleanu [mailto:colinml1@exis.com] 
>>Sent: Thursday, July 31, 2003 2:15 PM
>>To: Tapestry development
>>Subject: Re: Illegal html in samples, with span outside of body
>>
>>
>>Will do so.  One thing I am not clear on with your proposal 
>>though, how 
>>would the Shell tie in. You can not have
>>
>><span jwcid="@Shell" .../>
>>
>>inside the body right, since the nesting order is wrong, or can you?
>>
>>
>>Howard M. Lewis Ship wrote:
>>
>>    
>>
>>>It's a bit of a quandrary.
>>>
>>>I've been thinking of extending the jwcid syntax a little 
>>>      
>>>
>>further, so 
>>    
>>
>>>that you could say something like
>>>
>>><body jwcid="@Body,$content$"> ... </body>
>>>
>>>This would be (approximately) equivalent to:
>>>
>>><span jwcid="$content$">
>>><body jwcid="@Body">
>>>
>>>...
>>>
>>></body>
>>></span>
>>>
>>>But would be conformant.
>>>
>>>My philospophy is generally (believe it or not!) start with the 
>>>simplest system that works and add to it only what's 
>>>      
>>>
>>necessary.  I can 
>>    
>>
>>>see this as necessary.  I would ask you to add a suggestionn to 
>>>Bugzilla and direct people to vote on how urgent this change 
>>>      
>>>
>>would be.  
>>    
>>
>>>I'd prefer it to be in 3.1, since it's no a very beta kind of change.
>>>
>>>--
>>>Howard M. Lewis Ship
>>>Creator, Tapestry: Java Web Components 
>>>http://jakarta.apache.org/tapestry
>>>
>>>
>>>
>>> 
>>>
>>>      
>>>
>>>>-----Original Message-----
>>>>From: Colin Sampaleanu [mailto:colinml1@exis.com]
>>>>Sent: Thursday, July 31, 2003 1:56 PM
>>>>To: Tapestry development
>>>>Subject: Re: Illegal html in samples, with span outside of body
>>>>
>>>>
>>>>Sure, I understand that the produced HTML is fine. I was just
>>>>suggesting 
>>>>that maybe the samples and docs shouldn't use the illegal 
>>>>format. (given 
>>>>that you can do what you need to in a page which is 
>>>>conformat). The two 
>>>>HTML designers I asked about spans outside the body said  
>>>>that they've 
>>>>never seen any pages which did this (which of course makes 
>>>>sense since 
>>>>nothing outside of Tapestry would ever have a need). I guess 
>>>>it's not an 
>>>>issue as long as you don't use an editor which can't handle this 
>>>>(Mozilla Composer for example strips them out), and don't 
>>>>expect to run 
>>>>the pages through something like Tidy...
>>>>
>>>>Regards,
>>>>
>>>>Colin
>>>>
>>>>Howard M. Lewis Ship wrote:
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>It's somewhat of an issue when developing the application
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>... but the
>>>>   
>>>>
>>>>        
>>>>
>>>>>HTML that eventually ends up in the user's web browser IS 
>>>>>          
>>>>>
>>conformant.
>>    
>>
>>>>>--
>>>>>Howard M. Lewis Ship
>>>>>Creator, Tapestry: Java Web Components
>>>>>http://jakarta.apache.org/tapestry
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>>>-----Original Message-----
>>>>>>From: Colin Sampaleanu [mailto:colinml1@exis.com]
>>>>>>Sent: Thursday, July 31, 2003 1:40 PM
>>>>>>To: Tapestry development
>>>>>>Cc: tapestry-user@jakarta.apache.org
>>>>>>Subject: Illegal html in samples, with span outside of body
>>>>>>
>>>>>>
>>>>>>I wanted to question the existence of a fair amount of HTML in 
>>>>>>samples and the docs in which the span element is used in 
>>>>>>            
>>>>>>
>>a location
>>    
>>
>>>>>>that makes 
>>>>>>the HTML file non-conformant, and see if nobody else thinks 
>>>>>>it's an issue.
>>>>>>
>>>>>>If you look at the sample for Shell for example, there is 
>>>>>>            
>>>>>>
>>a snippet 
>>    
>>
>>>>>>like:
>>>>>>
>>>>>><html>
>>>>>><head>
>>>>>><link rel="stylesheet" type="text/css"
>>>>>>*href="../../style.css"* title="style">  <title>MyCorp
>>>>>>Customer Login</title> </head>
>>>>>>
>>>>>><span jwcid="$content$">
>>>>>><span jwcid="@Shell 
>>>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/She
>>>>>>ll.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp
>>>>>>Customer Login"> <body jwcid="@Body 
>>>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Bod
>>>>>>y.html>">
>>>>>>
>>>>>><h1>Customer Login</h1>
>>>>>>Welcome to MyCorp's Customer Portal secure login page.
>>>>>><p>
>>>>>><span jwcid="@Insert 
>>>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Ins
>>>>>>ert.html>" value="ognl:dailyMessage" class="ognl:messageClass"/>
>>>>>>
>>>>>></body>
>>>>>></span>
>>>>>></span>
>>>>>></html>
>>>>>>
>>>>>>now this is actually not legal HTML, and some HTML editors would 
>>>>>>actually strip out or complain about the spans outside the body. 
>>>>>>Would it not be a good idea to make sample HTML conformant?
>>>>>>Unfortuntately for 
>>>>>>the above example that would preclude using the Body 
>>>>>>component with the 
>>>>>>actual body tag, I think it would have to become something like:
>>>>>>
>>>>>><html>
>>>>>><head>
>>>>>><link rel="stylesheet" type="text/css"
>>>>>>*href="../../style.css"* title="style">  <title>MyCorp
>>>>>>Customer Login</title> </head>
>>>>>>
>>>>>><body>
>>>>>><span jwcid="$content$">
>>>>>><span jwcid="@Shell 
>>>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/She
>>>>>>  
>>>>>>
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>>ll.html>" stylesheet="ognl:assets.stylesheet" 
>>>>>          
>>>>>
>>title="MyCorp Customer
>>    
>>
>>>>>Login"> <span jwcid="@Body 
>>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Bo
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>dy.html>">
>>> 
>>>
>>>      
>>>
>>>><h1>Customer Login</h1>
>>>>Welcome to MyCorp's Customer Portal secure login page.
>>>><p>
>>>><span jwcid="@Insert
>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/I
>>>>        
>>>>
>nsert.html>"
>  
>
>>>value="ognl:dailyMessage" class="ognl:messageClass"/>
>>>
>>></span>
>>></span>
>>></span>
>>></body>
>>></html>
>>>
>>>Not as nice, since ideally you'd want to use as many coponents on the 
>>>actual tags they represent, but at least it's correct.
>>>
>>>Maybe for some people this is a complete non-issue, since of course 
>>>almost any browser will not complain, but to me there's something 
>>>wrong with using and endorsing illegal xhtml.
>>>
>>>What do you think?
>>>      
>>>



RE: Illegal html in samples, with span outside of body

Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
<html jwcid="@Shell">
<head jwcid="$remove$"> .. </head>
<body jwcid="@Body">

...



--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry



> -----Original Message-----
> From: Colin Sampaleanu [mailto:colinml1@exis.com] 
> Sent: Thursday, July 31, 2003 2:15 PM
> To: Tapestry development
> Subject: Re: Illegal html in samples, with span outside of body
> 
> 
> Will do so.  One thing I am not clear on with your proposal 
> though, how 
> would the Shell tie in. You can not have
> 
> <span jwcid="@Shell" .../>
> 
> inside the body right, since the nesting order is wrong, or can you?
> 
> 
> Howard M. Lewis Ship wrote:
> 
> >It's a bit of a quandrary.
> >
> >I've been thinking of extending the jwcid syntax a little 
> further, so 
> >that you could say something like
> >
> ><body jwcid="@Body,$content$"> ... </body>
> >
> >This would be (approximately) equivalent to:
> >
> ><span jwcid="$content$">
> ><body jwcid="@Body">
> >
> >...
> >
> ></body>
> ></span>
> >
> >But would be conformant.
> >
> >My philospophy is generally (believe it or not!) start with the 
> >simplest system that works and add to it only what's 
> necessary.  I can 
> >see this as necessary.  I would ask you to add a suggestionn to 
> >Bugzilla and direct people to vote on how urgent this change 
> would be.  
> >I'd prefer it to be in 3.1, since it's no a very beta kind of change.
> >
> >--
> >Howard M. Lewis Ship
> >Creator, Tapestry: Java Web Components 
> >http://jakarta.apache.org/tapestry
> >
> >
> >
> >  
> >
> >>-----Original Message-----
> >>From: Colin Sampaleanu [mailto:colinml1@exis.com]
> >>Sent: Thursday, July 31, 2003 1:56 PM
> >>To: Tapestry development
> >>Subject: Re: Illegal html in samples, with span outside of body
> >>
> >>
> >>Sure, I understand that the produced HTML is fine. I was just
> >>suggesting 
> >>that maybe the samples and docs shouldn't use the illegal 
> >>format. (given 
> >>that you can do what you need to in a page which is 
> >>conformat). The two 
> >>HTML designers I asked about spans outside the body said  
> >>that they've 
> >>never seen any pages which did this (which of course makes 
> >>sense since 
> >>nothing outside of Tapestry would ever have a need). I guess 
> >>it's not an 
> >>issue as long as you don't use an editor which can't handle this 
> >>(Mozilla Composer for example strips them out), and don't 
> >>expect to run 
> >>the pages through something like Tidy...
> >>
> >>Regards,
> >>
> >>Colin
> >>
> >>Howard M. Lewis Ship wrote:
> >>
> >>    
> >>
> >>>It's somewhat of an issue when developing the application
> >>>      
> >>>
> >>... but the
> >>    
> >>
> >>>HTML that eventually ends up in the user's web browser IS 
> conformant.
> >>>
> >>>--
> >>>Howard M. Lewis Ship
> >>>Creator, Tapestry: Java Web Components
> >>>http://jakarta.apache.org/tapestry
> >>> 
> >>>
> >>>      
> >>>
> >>>>-----Original Message-----
> >>>>From: Colin Sampaleanu [mailto:colinml1@exis.com]
> >>>>Sent: Thursday, July 31, 2003 1:40 PM
> >>>>To: Tapestry development
> >>>>Cc: tapestry-user@jakarta.apache.org
> >>>>Subject: Illegal html in samples, with span outside of body
> >>>>
> >>>>
> >>>>I wanted to question the existence of a fair amount of HTML in 
> >>>>samples and the docs in which the span element is used in 
> a location
> >>>>that makes 
> >>>>the HTML file non-conformant, and see if nobody else thinks 
> >>>>it's an issue.
> >>>>
> >>>>If you look at the sample for Shell for example, there is 
> a snippet 
> >>>>like:
> >>>>
> >>>><html>
> >>>><head>
> >>>><link rel="stylesheet" type="text/css"
> >>>>*href="../../style.css"* title="style">  <title>MyCorp
> >>>>Customer Login</title> </head>
> >>>>
> >>>><span jwcid="$content$">
> >>>><span jwcid="@Shell 
> >>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/She
> >>>>ll.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp
> >>>>Customer Login"> <body jwcid="@Body 
> >>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Bod
> >>>>y.html>">
> >>>>
> >>>><h1>Customer Login</h1>
> >>>>Welcome to MyCorp's Customer Portal secure login page.
> >>>><p>
> >>>><span jwcid="@Insert 
> >>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Ins
> >>>>ert.html>" value="ognl:dailyMessage" class="ognl:messageClass"/>
> >>>>
> >>>></body>
> >>>></span>
> >>>></span>
> >>>></html>
> >>>>
> >>>>now this is actually not legal HTML, and some HTML editors would 
> >>>>actually strip out or complain about the spans outside the body. 
> >>>>Would it not be a good idea to make sample HTML conformant?
> >>>>Unfortuntately for 
> >>>>the above example that would preclude using the Body 
> >>>>component with the 
> >>>>actual body tag, I think it would have to become something like:
> >>>>
> >>>><html>
> >>>><head>
> >>>><link rel="stylesheet" type="text/css"
> >>>>*href="../../style.css"* title="style">  <title>MyCorp
> >>>>Customer Login</title> </head>
> >>>>
> >>>><body>
> >>>><span jwcid="$content$">
> >>>><span jwcid="@Shell 
> >>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/She
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>ll.html>" stylesheet="ognl:assets.stylesheet" 
> title="MyCorp Customer
> >>>Login"> <span jwcid="@Body 
> >>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Bo
> >>>      
> >>>
> >dy.html>">
> >  
> >
> >><h1>Customer Login</h1>
> >>Welcome to MyCorp's Customer Portal secure login page.
> >><p>
> >><span jwcid="@Insert
> >><http://jakarta.apache.org/tapestry/doc/ComponentReference/I
nsert.html>"
>>value="ognl:dailyMessage" class="ognl:messageClass"/>
>>
>></span>
>></span>
>></span>
>></body>
>></html>
>>
>>Not as nice, since ideally you'd want to use as many coponents on the 
>>actual tags they represent, but at least it's correct.
>>
>>Maybe for some people this is a complete non-issue, since of course 
>>almost any browser will not complain, but to me there's something 
>>wrong with using and endorsing illegal xhtml.
>>
>>What do you think?
>> 
>>    
>>



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


Re: Illegal html in samples, with span outside of body

Posted by Colin Sampaleanu <co...@exis.com>.
Will do so.  One thing I am not clear on with your proposal though, how 
would the Shell tie in. You can not have

<span jwcid="@Shell" .../>

inside the body right, since the nesting order is wrong, or can you?


Howard M. Lewis Ship wrote:

>It's a bit of a quandrary.
>
>I've been thinking of extending the jwcid syntax a little further, so that you could say something
>like
>
><body jwcid="@Body,$content$"> ... </body>
>
>This would be (approximately) equivalent to:
>
><span jwcid="$content$">
><body jwcid="@Body">
>
>...
>
></body>
></span>
>
>But would be conformant.
>
>My philospophy is generally (believe it or not!) start with the simplest system that works and add
>to it only what's necessary.  I can see this as necessary.  I would ask you to add a suggestionn to
>Bugzilla and direct people to vote on how urgent this change would be.  I'd prefer it to be in 3.1,
>since it's no a very beta kind of change.
>
>--
>Howard M. Lewis Ship
>Creator, Tapestry: Java Web Components
>http://jakarta.apache.org/tapestry
>
>
>
>  
>
>>-----Original Message-----
>>From: Colin Sampaleanu [mailto:colinml1@exis.com] 
>>Sent: Thursday, July 31, 2003 1:56 PM
>>To: Tapestry development
>>Subject: Re: Illegal html in samples, with span outside of body
>>
>>
>>Sure, I understand that the produced HTML is fine. I was just 
>>suggesting 
>>that maybe the samples and docs shouldn't use the illegal 
>>format. (given 
>>that you can do what you need to in a page which is 
>>conformat). The two 
>>HTML designers I asked about spans outside the body said  
>>that they've 
>>never seen any pages which did this (which of course makes 
>>sense since 
>>nothing outside of Tapestry would ever have a need). I guess 
>>it's not an 
>>issue as long as you don't use an editor which can't handle this 
>>(Mozilla Composer for example strips them out), and don't 
>>expect to run 
>>the pages through something like Tidy...
>>
>>Regards,
>>
>>Colin
>>
>>Howard M. Lewis Ship wrote:
>>
>>    
>>
>>>It's somewhat of an issue when developing the application 
>>>      
>>>
>>... but the 
>>    
>>
>>>HTML that eventually ends up in the user's web browser IS conformant.
>>>
>>>--
>>>Howard M. Lewis Ship
>>>Creator, Tapestry: Java Web Components 
>>>http://jakarta.apache.org/tapestry
>>> 
>>>
>>>      
>>>
>>>>-----Original Message-----
>>>>From: Colin Sampaleanu [mailto:colinml1@exis.com]
>>>>Sent: Thursday, July 31, 2003 1:40 PM
>>>>To: Tapestry development
>>>>Cc: tapestry-user@jakarta.apache.org
>>>>Subject: Illegal html in samples, with span outside of body
>>>>
>>>>
>>>>I wanted to question the existence of a fair amount of HTML
>>>>in samples 
>>>>and the docs in which the span element is used in a location 
>>>>that makes 
>>>>the HTML file non-conformant, and see if nobody else thinks 
>>>>it's an issue.
>>>>
>>>>If you look at the sample for Shell for example, there is a
>>>>snippet like:
>>>>
>>>><html>
>>>><head>
>>>><link rel="stylesheet" type="text/css"
>>>>*href="../../style.css"* title="style">  <title>MyCorp 
>>>>Customer Login</title> </head>
>>>>
>>>><span jwcid="$content$">
>>>><span jwcid="@Shell
>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/She
>>>>ll.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp 
>>>>Customer Login"> <body jwcid="@Body 
>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Bod
>>>>y.html>">
>>>>
>>>><h1>Customer Login</h1>
>>>>Welcome to MyCorp's Customer Portal secure login page.
>>>><p>
>>>><span jwcid="@Insert
>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Ins
>>>>ert.html>" value="ognl:dailyMessage" class="ognl:messageClass"/>
>>>>
>>>></body>
>>>></span>
>>>></span>
>>>></html>
>>>>
>>>>now this is actually not legal HTML, and some HTML editors would
>>>>actually strip out or complain about the spans outside the 
>>>>body. Would 
>>>>it not be a good idea to make sample HTML conformant? 
>>>>Unfortuntately for 
>>>>the above example that would preclude using the Body 
>>>>component with the 
>>>>actual body tag, I think it would have to become something like:
>>>>
>>>><html>
>>>><head>
>>>><link rel="stylesheet" type="text/css"
>>>>*href="../../style.css"* title="style">  <title>MyCorp 
>>>>Customer Login</title> </head>
>>>>
>>>><body>
>>>><span jwcid="$content$">
>>>><span jwcid="@Shell
>>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/She
>>>>   
>>>>
>>>>        
>>>>
>>>ll.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp Customer 
>>>Login"> <span jwcid="@Body 
>>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Bo
>>>      
>>>
>dy.html>">
>  
>
>><h1>Customer Login</h1>
>>Welcome to MyCorp's Customer Portal secure login page.
>><p>
>><span jwcid="@Insert 
>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Insert.html>"
>>value="ognl:dailyMessage" class="ognl:messageClass"/>
>>
>></span>
>></span>
>></span>
>></body>
>></html>
>>
>>Not as nice, since ideally you'd want to use as many coponents on the
>>actual tags they represent, but at least it's correct.
>>
>>Maybe for some people this is a complete non-issue, since of course
>>almost any browser will not complain, but to me there's something wrong 
>>with using and endorsing illegal xhtml.
>>
>>What do you think?
>> 
>>    
>>



RE: Illegal html in samples, with span outside of body

Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
It's a bit of a quandrary.

I've been thinking of extending the jwcid syntax a little further, so that you could say something
like

<body jwcid="@Body,$content$"> ... </body>

This would be (approximately) equivalent to:

<span jwcid="$content$">
<body jwcid="@Body">

...

</body>
</span>

But would be conformant.

My philospophy is generally (believe it or not!) start with the simplest system that works and add
to it only what's necessary.  I can see this as necessary.  I would ask you to add a suggestionn to
Bugzilla and direct people to vote on how urgent this change would be.  I'd prefer it to be in 3.1,
since it's no a very beta kind of change.

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry



> -----Original Message-----
> From: Colin Sampaleanu [mailto:colinml1@exis.com] 
> Sent: Thursday, July 31, 2003 1:56 PM
> To: Tapestry development
> Subject: Re: Illegal html in samples, with span outside of body
> 
> 
> Sure, I understand that the produced HTML is fine. I was just 
> suggesting 
> that maybe the samples and docs shouldn't use the illegal 
> format. (given 
> that you can do what you need to in a page which is 
> conformat). The two 
> HTML designers I asked about spans outside the body said  
> that they've 
> never seen any pages which did this (which of course makes 
> sense since 
> nothing outside of Tapestry would ever have a need). I guess 
> it's not an 
> issue as long as you don't use an editor which can't handle this 
> (Mozilla Composer for example strips them out), and don't 
> expect to run 
> the pages through something like Tidy...
> 
> Regards,
> 
> Colin
> 
> Howard M. Lewis Ship wrote:
> 
> >It's somewhat of an issue when developing the application 
> ... but the 
> >HTML that eventually ends up in the user's web browser IS conformant.
> >
> >--
> >Howard M. Lewis Ship
> >Creator, Tapestry: Java Web Components 
> >http://jakarta.apache.org/tapestry
> >  
> >
> >>-----Original Message-----
> >>From: Colin Sampaleanu [mailto:colinml1@exis.com]
> >>Sent: Thursday, July 31, 2003 1:40 PM
> >>To: Tapestry development
> >>Cc: tapestry-user@jakarta.apache.org
> >>Subject: Illegal html in samples, with span outside of body
> >>
> >>
> >>I wanted to question the existence of a fair amount of HTML
> >>in samples 
> >>and the docs in which the span element is used in a location 
> >>that makes 
> >>the HTML file non-conformant, and see if nobody else thinks 
> >>it's an issue.
> >>
> >>If you look at the sample for Shell for example, there is a
> >>snippet like:
> >>
> >><html>
> >><head>
> >> <link rel="stylesheet" type="text/css"
> >>*href="../../style.css"* title="style">  <title>MyCorp 
> >>Customer Login</title> </head>
> >>
> >><span jwcid="$content$">
> >><span jwcid="@Shell
> >><http://jakarta.apache.org/tapestry/doc/ComponentReference/She
> >>ll.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp 
> >>Customer Login"> <body jwcid="@Body 
> >><http://jakarta.apache.org/tapestry/doc/ComponentReference/Bod
> >>y.html>">
> >>
> >><h1>Customer Login</h1>
> >>Welcome to MyCorp's Customer Portal secure login page.
> >><p>
> >><span jwcid="@Insert
> >><http://jakarta.apache.org/tapestry/doc/ComponentReference/Ins
> >>ert.html>" value="ognl:dailyMessage" class="ognl:messageClass"/>
> >>
> >></body>
> >></span>
> >></span>
> >></html>
> >>
> >>now this is actually not legal HTML, and some HTML editors would
> >>actually strip out or complain about the spans outside the 
> >>body. Would 
> >>it not be a good idea to make sample HTML conformant? 
> >>Unfortuntately for 
> >>the above example that would preclude using the Body 
> >>component with the 
> >>actual body tag, I think it would have to become something like:
> >>
> >><html>
> >><head>
> >> <link rel="stylesheet" type="text/css"
> >>*href="../../style.css"* title="style">  <title>MyCorp 
> >>Customer Login</title> </head>
> >>
> >><body>
> >><span jwcid="$content$">
> >><span jwcid="@Shell
> >><http://jakarta.apache.org/tapestry/doc/ComponentReference/She
> >>    
> >>
> >ll.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp Customer 
> >Login"> <span jwcid="@Body 
> ><http://jakarta.apache.org/tapestry/doc/ComponentReference/Bo
dy.html>">
>
><h1>Customer Login</h1>
>Welcome to MyCorp's Customer Portal secure login page.
><p>
><span jwcid="@Insert 
><http://jakarta.apache.org/tapestry/doc/ComponentReference/Insert.html>"
>value="ognl:dailyMessage" class="ognl:messageClass"/>
>
></span>
></span>
></span>
></body>
></html>
>
>Not as nice, since ideally you'd want to use as many coponents on the
>actual tags they represent, but at least it's correct.
>
>Maybe for some people this is a complete non-issue, since of course
>almost any browser will not complain, but to me there's something wrong 
>with using and endorsing illegal xhtml.
>
>What do you think?
>  
>



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


Re: Illegal html in samples, with span outside of body

Posted by Colin Sampaleanu <co...@exis.com>.
Sure, I understand that the produced HTML is fine. I was just suggesting 
that maybe the samples and docs shouldn't use the illegal format. (given 
that you can do what you need to in a page which is conformat). The two 
HTML designers I asked about spans outside the body said  that they've 
never seen any pages which did this (which of course makes sense since 
nothing outside of Tapestry would ever have a need). I guess it's not an 
issue as long as you don't use an editor which can't handle this 
(Mozilla Composer for example strips them out), and don't expect to run 
the pages through something like Tidy...

Regards,

Colin

Howard M. Lewis Ship wrote:

>It's somewhat of an issue when developing the application ... but the HTML that eventually ends up
>in the user's web browser IS conformant.
>
>--
>Howard M. Lewis Ship
>Creator, Tapestry: Java Web Components
>http://jakarta.apache.org/tapestry
>  
>
>>-----Original Message-----
>>From: Colin Sampaleanu [mailto:colinml1@exis.com] 
>>Sent: Thursday, July 31, 2003 1:40 PM
>>To: Tapestry development
>>Cc: tapestry-user@jakarta.apache.org
>>Subject: Illegal html in samples, with span outside of body
>>
>>
>>I wanted to question the existence of a fair amount of HTML 
>>in samples 
>>and the docs in which the span element is used in a location 
>>that makes 
>>the HTML file non-conformant, and see if nobody else thinks 
>>it's an issue.
>>
>>If you look at the sample for Shell for example, there is a 
>>snippet like:
>>
>><html>
>><head>
>> <link rel="stylesheet" type="text/css" 
>>*href="../../style.css"* title="style">  <title>MyCorp 
>>Customer Login</title> </head>
>>
>><span jwcid="$content$">
>><span jwcid="@Shell 
>><http://jakarta.apache.org/tapestry/doc/ComponentReference/She
>>ll.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp 
>>Customer Login"> <body jwcid="@Body 
>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Bod
>>y.html>">
>>
>><h1>Customer Login</h1>
>>Welcome to MyCorp's Customer Portal secure login page.
>><p>
>><span jwcid="@Insert 
>><http://jakarta.apache.org/tapestry/doc/ComponentReference/Ins
>>ert.html>" value="ognl:dailyMessage" class="ognl:messageClass"/>
>>
>></body>
>></span>
>></span>
>></html>
>>
>>now this is actually not legal HTML, and some HTML editors would 
>>actually strip out or complain about the spans outside the 
>>body. Would 
>>it not be a good idea to make sample HTML conformant? 
>>Unfortuntately for 
>>the above example that would preclude using the Body 
>>component with the 
>>actual body tag, I think it would have to become something like:
>>
>><html>
>><head>
>> <link rel="stylesheet" type="text/css" 
>>*href="../../style.css"* title="style">  <title>MyCorp 
>>Customer Login</title> </head>
>>
>><body>
>><span jwcid="$content$">
>><span jwcid="@Shell 
>><http://jakarta.apache.org/tapestry/doc/ComponentReference/She
>>    
>>
>ll.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp Customer Login"> <span jwcid="@Body
><http://jakarta.apache.org/tapestry/doc/ComponentReference/Body.html>">
>
><h1>Customer Login</h1>
>Welcome to MyCorp's Customer Portal secure login page.
><p>
><span jwcid="@Insert <http://jakarta.apache.org/tapestry/doc/ComponentReference/Insert.html>"
>value="ognl:dailyMessage" class="ognl:messageClass"/>
>
></span>
></span>
></span>
></body>
></html>
>
>Not as nice, since ideally you'd want to use as many coponents on the 
>actual tags they represent, but at least it's correct.
>
>Maybe for some people this is a complete non-issue, since of course 
>almost any browser will not complain, but to me there's something wrong 
>with using and endorsing illegal xhtml.
>
>What do you think?
>  
>



RE: Illegal html in samples, with span outside of body

Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
It's somewhat of an issue when developing the application ... but the HTML that eventually ends up
in the user's web browser IS conformant.

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry



> -----Original Message-----
> From: Colin Sampaleanu [mailto:colinml1@exis.com] 
> Sent: Thursday, July 31, 2003 1:40 PM
> To: Tapestry development
> Cc: tapestry-user@jakarta.apache.org
> Subject: Illegal html in samples, with span outside of body
> 
> 
> I wanted to question the existence of a fair amount of HTML 
> in samples 
> and the docs in which the span element is used in a location 
> that makes 
> the HTML file non-conformant, and see if nobody else thinks 
> it's an issue.
> 
> If you look at the sample for Shell for example, there is a 
> snippet like:
> 
> <html>
> <head>
>  <link rel="stylesheet" type="text/css" 
> *href="../../style.css"* title="style">  <title>MyCorp 
> Customer Login</title> </head>
> 
> <span jwcid="$content$">
> <span jwcid="@Shell 
> <http://jakarta.apache.org/tapestry/doc/ComponentReference/She
> ll.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp 
> Customer Login"> <body jwcid="@Body 
> <http://jakarta.apache.org/tapestry/doc/ComponentReference/Bod
> y.html>">
> 
> <h1>Customer Login</h1>
> Welcome to MyCorp's Customer Portal secure login page.
> <p>
> <span jwcid="@Insert 
> <http://jakarta.apache.org/tapestry/doc/ComponentReference/Ins
> ert.html>" value="ognl:dailyMessage" class="ognl:messageClass"/>
> 
> </body>
> </span>
> </span>
> </html>
> 
> now this is actually not legal HTML, and some HTML editors would 
> actually strip out or complain about the spans outside the 
> body. Would 
> it not be a good idea to make sample HTML conformant? 
> Unfortuntately for 
> the above example that would preclude using the Body 
> component with the 
> actual body tag, I think it would have to become something like:
> 
> <html>
> <head>
>  <link rel="stylesheet" type="text/css" 
> *href="../../style.css"* title="style">  <title>MyCorp 
> Customer Login</title> </head>
> 
> <body>
> <span jwcid="$content$">
> <span jwcid="@Shell 
> <http://jakarta.apache.org/tapestry/doc/ComponentReference/She
ll.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp Customer Login"> <span jwcid="@Body
<http://jakarta.apache.org/tapestry/doc/ComponentReference/Body.html>">

<h1>Customer Login</h1>
Welcome to MyCorp's Customer Portal secure login page.
<p>
<span jwcid="@Insert <http://jakarta.apache.org/tapestry/doc/ComponentReference/Insert.html>"
value="ognl:dailyMessage" class="ognl:messageClass"/>

</span>
</span>
</span>
</body>
</html>

Not as nice, since ideally you'd want to use as many coponents on the 
actual tags they represent, but at least it's correct.

Maybe for some people this is a complete non-issue, since of course 
almost any browser will not complain, but to me there's something wrong 
with using and endorsing illegal xhtml.

What do you think?



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


Illegal html in samples, with span outside of body

Posted by Colin Sampaleanu <co...@exis.com>.
I wanted to question the existence of a fair amount of HTML in samples 
and the docs in which the span element is used in a location that makes 
the HTML file non-conformant, and see if nobody else thinks it's an issue.

If you look at the sample for Shell for example, there is a snippet like:

<html>
<head>
 <link rel="stylesheet" type="text/css" *href="../../style.css"* title="style">
 <title>MyCorp Customer Login</title>
</head>

<span jwcid="$content$">
<span jwcid="@Shell <http://jakarta.apache.org/tapestry/doc/ComponentReference/Shell.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp Customer Login">
<body jwcid="@Body <http://jakarta.apache.org/tapestry/doc/ComponentReference/Body.html>">

<h1>Customer Login</h1>
Welcome to MyCorp's Customer Portal secure login page.
<p>
<span jwcid="@Insert <http://jakarta.apache.org/tapestry/doc/ComponentReference/Insert.html>" value="ognl:dailyMessage" class="ognl:messageClass"/>

</body>
</span>
</span>
</html>

now this is actually not legal HTML, and some HTML editors would 
actually strip out or complain about the spans outside the body. Would 
it not be a good idea to make sample HTML conformant? Unfortuntately for 
the above example that would preclude using the Body component with the 
actual body tag, I think it would have to become something like:

<html>
<head>
 <link rel="stylesheet" type="text/css" *href="../../style.css"* title="style">
 <title>MyCorp Customer Login</title>
</head>

<body>
<span jwcid="$content$">
<span jwcid="@Shell <http://jakarta.apache.org/tapestry/doc/ComponentReference/Shell.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp Customer Login">
<span jwcid="@Body <http://jakarta.apache.org/tapestry/doc/ComponentReference/Body.html>">

<h1>Customer Login</h1>
Welcome to MyCorp's Customer Portal secure login page.
<p>
<span jwcid="@Insert <http://jakarta.apache.org/tapestry/doc/ComponentReference/Insert.html>" value="ognl:dailyMessage" class="ognl:messageClass"/>

</span>
</span>
</span>
</body>
</html>

Not as nice, since ideally you'd want to use as many coponents on the 
actual tags they represent, but at least it's correct.

Maybe for some people this is a complete non-issue, since of course 
almost any browser will not complain, but to me there's something wrong 
with using and endorsing illegal xhtml.

What do you think?



Illegal html in samples, with span outside of body

Posted by Colin Sampaleanu <co...@exis.com>.
I wanted to question the existence of a fair amount of HTML in samples 
and the docs in which the span element is used in a location that makes 
the HTML file non-conformant, and see if nobody else thinks it's an issue.

If you look at the sample for Shell for example, there is a snippet like:

<html>
<head>
 <link rel="stylesheet" type="text/css" *href="../../style.css"* title="style">
 <title>MyCorp Customer Login</title>
</head>

<span jwcid="$content$">
<span jwcid="@Shell <http://jakarta.apache.org/tapestry/doc/ComponentReference/Shell.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp Customer Login">
<body jwcid="@Body <http://jakarta.apache.org/tapestry/doc/ComponentReference/Body.html>">

<h1>Customer Login</h1>
Welcome to MyCorp's Customer Portal secure login page.
<p>
<span jwcid="@Insert <http://jakarta.apache.org/tapestry/doc/ComponentReference/Insert.html>" value="ognl:dailyMessage" class="ognl:messageClass"/>

</body>
</span>
</span>
</html>

now this is actually not legal HTML, and some HTML editors would 
actually strip out or complain about the spans outside the body. Would 
it not be a good idea to make sample HTML conformant? Unfortuntately for 
the above example that would preclude using the Body component with the 
actual body tag, I think it would have to become something like:

<html>
<head>
 <link rel="stylesheet" type="text/css" *href="../../style.css"* title="style">
 <title>MyCorp Customer Login</title>
</head>

<body>
<span jwcid="$content$">
<span jwcid="@Shell <http://jakarta.apache.org/tapestry/doc/ComponentReference/Shell.html>" stylesheet="ognl:assets.stylesheet" title="MyCorp Customer Login">
<span jwcid="@Body <http://jakarta.apache.org/tapestry/doc/ComponentReference/Body.html>">

<h1>Customer Login</h1>
Welcome to MyCorp's Customer Portal secure login page.
<p>
<span jwcid="@Insert <http://jakarta.apache.org/tapestry/doc/ComponentReference/Insert.html>" value="ognl:dailyMessage" class="ognl:messageClass"/>

</span>
</span>
</span>
</body>
</html>

Not as nice, since ideally you'd want to use as many coponents on the 
actual tags they represent, but at least it's correct.

Maybe for some people this is a complete non-issue, since of course 
almost any browser will not complain, but to me there's something wrong 
with using and endorsing illegal xhtml.

What do you think?