You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tdk-dev@turbine.apache.org by Don Laursen <do...@darkphoton.com> on 2001/04/09 22:38:12 UTC

minor tdk enhancements

I added a checkbox and integer field to the example. Hope it helps.





cvs diff
jakarta-turbine-tdk\src\share\velocity\peer\templates\screens\Form.vm (in
directory C:\data\cvs\)
Index: jakarta-turbine-tdk/src/share/velocity/peer/templates/screens/Form.vm
===================================================================
RCS file:
/home/cvspublic/jakarta-turbine-tdk/src/share/velocity/peer/templates/screen
s/Form.vm,v
retrieving revision 1.5
diff -r1.5 Form.vm
24a25,30
>       <tr>
>         #formCell ("Qty" "qty" $entry.Qty)
>       </tr>
>       <tr>
>         #formCheckBox ("On Order" "onorder" $entry.Onorder)
>       </tr>

*****CVS exited normally with code 1*****





cvs diff
jakarta-turbine-tdk\src\share\velocity\peer\templates\GlobalMacros.vm (in
directory C:\data\cvs\)
Index: jakarta-turbine-tdk/src/share/velocity/peer/templates/GlobalMacros.vm
===================================================================
RCS file:
/home/cvspublic/jakarta-turbine-tdk/src/share/velocity/peer/templates/Global
Macros.vm,v
retrieving revision 1.5
diff -r1.5 GlobalMacros.vm
85c85
<     <input type="checkbox" name="$name" #if($checked)checked=1#end/>
---
>     <input type="checkbox" name="$name" #if($checked)checked#end/>

*****CVS exited normally with code 1*****




cvs diff
jakarta-turbine-tdk\src\share\velocity\peer\templates\screens\Index.vm (in
directory C:\data\cvs\)
Index:
jakarta-turbine-tdk/src/share/velocity/peer/templates/screens/Index.vm
===================================================================
RCS file:
/home/cvspublic/jakarta-turbine-tdk/src/share/velocity/peer/templates/screen
s/Index.vm,v
retrieving revision 1.9
diff -r1.9 Index.vm
4c4
< #set ( $headings = ["Title", "Dept", "Author", "Url","Body"," "] )
---
> #set ( $headings = ["Title", "Dept", "Author", "Url", "Body", "Qty", "On
Order", " "] )
23a24,25
>           #entryCell ($entry.Qty)
>           #entryCell ($entry.Onorder)

*****CVS exited normally with code 1*****




cvs diff
jakarta-turbine-tdk\src\share\velocity\peer\templates\screens\Insert.vm (in
directory C:\data\cvs\)
Index:
jakarta-turbine-tdk/src/share/velocity/peer/templates/screens/Insert.vm
===================================================================
RCS file:
/home/cvspublic/jakarta-turbine-tdk/src/share/velocity/peer/templates/screen
s/Insert.vm,v
retrieving revision 1.10
diff -r1.10 Insert.vm
24a25,32
>       <tr>
>         ## Make the default value zero
>         #formCell ("Qty" "qty" 0)
>       </tr>
>       <tr>
>         ## Make the default value unchecked
>         #formCheckBox ("On Order" "onorder" false)
>       </tr>

*****CVS exited normally with code 1*****



cvs diff
jakarta-turbine-tdk\src\share\common\build\project\project-schema.xml (in
directory C:\data\cvs\)
Index: jakarta-turbine-tdk/src/share/common/build/project/project-schema.xml
===================================================================
RCS file:
/home/cvspublic/jakarta-turbine-tdk/src/share/common/build/project/project-s
chema.xml,v
retrieving revision 1.2
diff -r1.2 project-schema.xml
16a17,18
>     <column name="QTY" type="INTEGER"/>
>     <column name="ONORDER" type="BIT"/>

*****CVS exited normally with code 1*****







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