Re: [Zope] Almost Done.

2000-10-31 Thread Kees de Brabander

hi Jason,
dtml-in tablename by itself does what you ask it to do: it runs through
the rows of your tinytable and that's it. If you want to see the content of
your table, you'll have to construct a html table with fieldnames in the
cells:
table
 tr
  tddtml-var fieldname1/td
  tddtml-var fieldname2/td
  ...
  tddtml-var fieldnameN/td
 /tr
/table
Then you're done.
cb
- Original Message -
From: Jason C. Leach [EMAIL PROTECTED]
To: Erik Enge [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 31, 2000 8:03 AM
Subject: Re: [Zope] Almost Done.


 hi,

 Gave that a shot, no luck.  I just dones nothing where as if I misspel the
 object ID it screams (so it's finding it).  I can edit and View the object
 fine, just not call it.

 I'm running Zope/Zope 2.2.2 (source release,
 python 1.5.2, linux2) ZServer/1.1b1 on FreeBSD A


 j.
 ..
 . Jason C. Leach
 ... University College of the Cariboo.
 ..

 On Tue, 31 Oct 2000, Erik Enge wrote:

  On Mon, 30 Oct 2000, Jason C. Leach wrote:
 
   hi,
 
  Hi.
 
   How do I get a TinyTable to display it's contents?
  
   All I find in the docs is !--in# tablename-- and that does not
   seem to work for me, unles I am lacking a tag?
 
  Try this:
 
  dtml-in tablename
 
  (and next time, post the error message, Zope version and OS you are
  running :-)
 
 


 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )





___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Almost Done.

2000-10-31 Thread Spicklemire, Jerry

Jason pondered:

 How do I get a TinyTable to display it's contents?

 All I find in the docs is !--in# tablename-- and that does not
 seem to work for me, unles I am lacking a tag?

Try it like this:

dtml-in tablename
 dtml-var fieldname1 dtml-var fieldname2br
/dtml-in

where tablename is the name of your table, and
fieldname1, fieldname2 are names of fields.

I've not used TinyTables, but this works with 
other tabular systems. 

Later,
Jerry S.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Almost Done.

2000-10-30 Thread Jason C. Leach

hi,

So I'm almost done my first zope project. Pretty small. I must say, I have
done in 4 lines of DTML what would have taken pages in ASP.

How do I get a TinyTable to display it's contents?

All I find in the docs is !--in# tablename-- and that does not
seem to work for me, unles I am lacking a tag?

j.

..
. Jason C. Leach
... University College of the Cariboo.
.. 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Almost Done.

2000-10-30 Thread Erik Enge

On Mon, 30 Oct 2000, Jason C. Leach wrote:

 hi,

Hi.
 
 How do I get a TinyTable to display it's contents?
 
 All I find in the docs is !--in# tablename-- and that does not
 seem to work for me, unles I am lacking a tag?

Try this:

dtml-in tablename 

(and next time, post the error message, Zope version and OS you are
running :-)


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Almost Done.

2000-10-30 Thread Jason C. Leach

hi,

Gave that a shot, no luck.  I just dones nothing where as if I misspel the
object ID it screams (so it's finding it).  I can edit and View the object
fine, just not call it.

I'm running Zope/Zope 2.2.2 (source release,
python 1.5.2, linux2) ZServer/1.1b1 on FreeBSD A


j.
..
. Jason C. Leach
... University College of the Cariboo.
.. 

On Tue, 31 Oct 2000, Erik Enge wrote:

 On Mon, 30 Oct 2000, Jason C. Leach wrote:
 
  hi,
 
 Hi.
  
  How do I get a TinyTable to display it's contents?
  
  All I find in the docs is !--in# tablename-- and that does not
  seem to work for me, unles I am lacking a tag?
 
 Try this:
 
   dtml-in tablename 
 
 (and next time, post the error message, Zope version and OS you are
 running :-)
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )