[Wact-cvs] wact/examples/tags/templates/source block.html,1.4,1.5 list.html,1.3,1.4
Status: Pre-Alpha
Brought to you by:
jeffmoore
From: <jef...@us...> - 2003-09-30 06:35:26
|
Update of /cvsroot/wact/wact/examples/tags/templates/source In directory sc8-pr-cvs1:/tmp/cvs-serv13319/examples/tags/templates/source Modified Files: block.html list.html Log Message: Cleaned up the concept of server id on the compiler side. Now, only the id attribute of a tag can be used to indicate the server id. Except for <FORM> <INPUT> <BUTTON> <TEXTAREA> and <SELECT> which can specify server id using the name attribute or the id attribute. The name attribute is valid html for these tags. Added a compilation check to make sure that no two components have the same server id. A small refactoring/consolodation was done in the tag code. This is done as a prelude for supporting control arrays. Index: block.html =================================================================== RCS file: /cvsroot/wact/wact/examples/tags/templates/source/block.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** block.html 10 Sep 2003 13:14:54 -0000 1.4 --- block.html 30 Sep 2003 06:34:51 -0000 1.5 *************** *** 13,17 **** The other has its hide attribute specified, and thus will be hidden. <P> ! <core:block name="Block1"> <TABLE ALIGN='CENTER' BORDER="1"> <TR> --- 13,17 ---- The other has its hide attribute specified, and thus will be hidden. <P> ! <core:block id="Block1"> <TABLE ALIGN='CENTER' BORDER="1"> <TR> *************** *** 21,25 **** <BR> </core:block> ! <core:block name="Block2" hide> <TABLE ALIGN='CENTER' BORDER="1"> <TR> --- 21,25 ---- <BR> </core:block> ! <core:block id="Block2" hide> <TABLE ALIGN='CENTER' BORDER="1"> <TR> *************** *** 32,36 **** attribute, but was specifically unhidden programatically: <P> ! <core:block name="Block3" hide> <TABLE ALIGN='CENTER' BORDER="1"> <TR> --- 32,36 ---- attribute, but was specifically unhidden programatically: <P> ! <core:block id="Block3" hide> <TABLE ALIGN='CENTER' BORDER="1"> <TR> Index: list.html =================================================================== RCS file: /cvsroot/wact/wact/examples/tags/templates/source/list.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** list.html 27 Aug 2003 17:02:52 -0000 1.3 --- list.html 30 Sep 2003 06:34:51 -0000 1.4 *************** *** 8,12 **** <h1 align="center">List Test 1</h1> <P align="center">A simple list formatted into a table</P> ! <list:LIST name='ListExample1'> <TABLE BORDER="1" ALIGN="CENTER"> <list:ITEM> --- 8,12 ---- <h1 align="center">List Test 1</h1> <P align="center">A simple list formatted into a table</P> ! <list:LIST id='ListExample1'> <TABLE BORDER="1" ALIGN="CENTER"> <list:ITEM> *************** *** 21,25 **** <P align="center">The elements of this simple list are separated by a horizontal rule.</P> ! <list:LIST name='ListExample2'> <list:ITEM> {$Last}, {$First} <list:SEPARATOR> --- 21,25 ---- <P align="center">The elements of this simple list are separated by a horizontal rule.</P> ! <list:LIST id='ListExample2'> <list:ITEM> {$Last}, {$First} <list:SEPARATOR> *************** *** 29,33 **** </list:LIST> <h1 align="center">List Test 3</h1> ! <list:LIST name='ListExample3'> <TABLE BORDER="1"> <list:ITEM> --- 29,33 ---- </list:LIST> <h1 align="center">List Test 3</h1> ! <list:LIST id='ListExample3'> <TABLE BORDER="1"> <list:ITEM> |