Python论坛  - 讨论区

标题:[python-chinese] zopeÖÐÔõÑùimport template page

2004年08月09日 星期一 17:12

mike gaul zopemaillistcn at yahoo.com.cn
Mon Aug 9 17:12:22 HKT 2004

是啊是啊。所以我想用zpt的话,应该怎样Import?
 --- limodou <chatme at 263.net> 的正文:
> [Zoom.Quiet],您好!
> 
> 	zpt与DTML不同,是另一种模板系统。
> 
> ======= 2004-08-09 16:46:56 您在来信中写道:=======
> 
> >Hollo limodou:
> >
> >  但是在 Zope 的处理对象中,都是DHTML好象是也乎,
> >并不是专指 DHTML 语法的??
> >
> >
> >/******** [2004-08-09]16:46:13 ; limodou wrote:
> >
> >limodou> mike gaul,您好!
> >
> >limodou> 
> 是说的zpt吧。找找别人使用zpt的product看一看就行了。
> >
> >limodou> ======= 2004-08-09 15:11:36
> 您在来信中写道:=======
> >
> >>>???好象dtml和template page不是一个东西吧。
> >>>好象语法不同吧。
> >>>
> >>> --- "[Zoom.Quiet]" <zoomq at itcase.com> 的正文:
> >>>> Hollo mike:
> >>>>  from Globals import DTMLFile
> >>>> 就是模板文件是也乎??
> >>>>   
> >>>> 
> >>>> 
> >>>> /******** [2004-08-09]14:32:25 ; mike wrote:
> >>>> 
> >>>> mike gaul>
> >>>> 在zope创建一个product中,可以有这样一句话:
> >>>> mike gaul> from Globals import HTMLFile
> >>>> mike gaul> 或者
> >>>> mike gaul> from Globals import DTMLFile
> >>>> 
> >>>> mike gaul>
> 那我我想,怎样载入一个模板文件template
> >>>> page呢?
> >>>> 
> >>>> mike gaul>
> >>>>
>
>>>_________________________________________________________
> >>>> mike gaul> Do You Yahoo!?
> >>>> mike gaul> 150万曲MP3疯狂搜,带您闯入音乐殿堂
> >>>> mike gaul> http://music.yisou.com/
> >>>> mike gaul>
> 美女明星应有尽有,搜遍美图、艳图和酷图
> >>>> mike gaul> http://image.yisou.com
> >>>> mike gaul> 1G就是1000兆,雅虎电邮自助扩容!
> >>>> mike gaul>
> >>>>
>
>>>http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
> >>>> mike gaul>
> >>>> _______________________________________________
> >>>> mike gaul> python-chinese list
> >>>> mike gaul> python-chinese at lists.python.cn
> >>>> mike gaul>
> >>>>
> http://python.cn/mailman/listinfo/python-chinese
> >>>> 
> >>>> 
> >>>> ********************************************/
> >>>> 
> >>>> -- 
> >>>> Free as in Freedom
> >>>> 
> >>>>  [Zoom.Quiet]                           
> >>>> 
> >>>> #=========================================#
> >>>> ]Time is unimportant, only life important![
> >>>> #=========================================#
> >>>> 
> >>>> sender is the Bat!2.12.00
> >>>> 
> >>>> _______________________________________________
> >>>> python-chinese list
> >>>> python-chinese at lists.python.cn
> >>>>
> http://python.cn/mailman/listinfo/python-chinese
> >>>>  
> >>>
>
>>>_________________________________________________________
> >>>Do You Yahoo!?
> >>>美女明星应有尽有,"一搜"搜遍美图、艳图和酷图
> >>>http://image.yisou.com
> >>> 
> >>>100兆邮箱够不够用?雅虎电邮自助扩容!
>
>>>http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/
> >>>_______________________________________________
> >>>python-chinese list
> >>>python-chinese at lists.python.cn
> >>>http://python.cn/mailman/listinfo/python-chinese
> >>>
> >
> >limodou> = = = = = = = = = = = = = = = = = = = =
> >			
> >
> >limodou>         致
> >limodou> 礼!
> > 
> >				 
> >limodou>         limodou
> >limodou>         chatme at 263.net
> >limodou>           2004-08-09
> >
> >
> >
> >********************************************/
> >
> >-- 
> >Free as in Freedom
> >
> > [Zoom.Quiet]                           
> >
> >#=========================================#
> >]Time is unimportant, only life important![
> >#=========================================#
> >
> >sender is the Bat!2.12.00
> >
> >_______________________________________________
> >python-chinese list
> >python-chinese at lists.python.cn
> >http://python.cn/mailman/listinfo/python-chinese
> >
> 
> = = = = = = = = = = = = = = = = = = = =
> 			
> 
>         致
> 礼!
>  
> 				 
>         limodou
>         chatme at 263.net
>           2004-08-09
> 
> > _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
>  

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2004年08月09日 星期一 17:25

Zoom.Quiet zoomq at itcase.com
Mon Aug 9 17:25:05 HKT 2004

Hollo mike:

  
比如说 
Zope\Plone\CMFPlone-2.0-final\CMFPlone-2.0-final\CMFCalendar
的产品脚本中:

  from Products.PageTemplates.PageTemplateFile import PageTemplateFile

只要安装遵守“纪律”
可以如此直接引用的!



/******** [2004-08-09]17:25:02 ; mike wrote:

mike gaul> 是啊是啊。所以我想用zpt的话,应该怎样Import?
mike gaul>  --- limodou <chatme at 263.net> 的正文:
>> [Zoom.Quiet],您好!
>> 
>> 	zpt与DTML不同,是另一种模板系统。
>> 
>> ======= 2004-08-09 16:46:56 您在来信中写道:=======
>> 
>> >Hollo limodou:
>> >
>> >  但是在 Zope 的处理对象中,都是DHTML好象是也乎,
>> >并不是专指 DHTML 语法的??
>> >
>> >
>> >/******** [2004-08-09]16:46:13 ; limodou wrote:
>> >
>> >limodou> mike gaul,您好!
>> >
>> >limodou> 
>> 是说的zpt吧。找找别人使用zpt的product看一看就行了。
>> >
>> >limodou> ======= 2004-08-09 15:11:36
>> 您在来信中写道:=======
>> >
>> >>>???好象dtml和template page不是一个东西吧。
>> >>>好象语法不同吧。
>> >>>
>> >>> --- "[Zoom.Quiet]" <zoomq at itcase.com> 的正文:
>> >>>> Hollo mike:
>> >>>>  from Globals import DTMLFile
>> >>>> 就是模板文件是也乎??
>> >>>>   
>> >>>> 
>> >>>> 
>> >>>> /******** [2004-08-09]14:32:25 ; mike wrote:
>> >>>> 
>> >>>> mike gaul>
>> >>>> 在zope创建一个product中,可以有这样一句话:
>> >>>> mike gaul> from Globals import HTMLFile
>> >>>> mike gaul> 或者
>> >>>> mike gaul> from Globals import DTMLFile
>> >>>> 
>> >>>> mike gaul>
>> 那我我想,怎样载入一个模板文件template
>> >>>> page呢?
>> >>>> 
>> >>>> mike gaul>
>> >>>>
>>
>>>>_________________________________________________________
>> >>>> mike gaul> Do You Yahoo!?
>> >>>> mike gaul> 150万曲MP3疯狂搜,带您闯入音乐殿堂
>> >>>> mike gaul> http://music.yisou.com/
>> >>>> mike gaul>
>> 美女明星应有尽有,搜遍美图、艳图和酷图
>> >>>> mike gaul> http://image.yisou.com
>> >>>> mike gaul> 1G就是1000兆,雅虎电邮自助扩容!
>> >>>> mike gaul>
>> >>>>
>>
>>>>http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
>> >>>> mike gaul>
>> >>>> _______________________________________________
>> >>>> mike gaul> python-chinese list
>> >>>> mike gaul> python-chinese at lists.python.cn
>> >>>> mike gaul>
>> >>>>
>> http://python.cn/mailman/listinfo/python-chinese
>> >>>> 
>> >>>> 
>> >>>> ********************************************/
>> >>>> 
>> >>>> -- 
>> >>>> Free as in Freedom
>> >>>> 
>> >>>>  [Zoom.Quiet]                           
>> >>>> 
>> >>>> #=========================================#
>> >>>> ]Time is unimportant, only life important![
>> >>>> #=========================================#
>> >>>> 
>> >>>> sender is the Bat!2.12.00
>> >>>> 
>> >>>> _______________________________________________
>> >>>> python-chinese list
>> >>>> python-chinese at lists.python.cn
>> >>>>
>> http://python.cn/mailman/listinfo/python-chinese
>> >>>>  
>> >>>
>>
>>>>_________________________________________________________
>> >>>Do You Yahoo!?
>> >>>美女明星应有尽有,"一搜"搜遍美图、艳图和酷图
>> >>>http://image.yisou.com
>> >>> 
>> >>>100兆邮箱够不够用?雅虎电邮自助扩容!
>>
>>>>http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/
>> >>>_______________________________________________
>> >>>python-chinese list
>> >>>python-chinese at lists.python.cn
>> >>>http://python.cn/mailman/listinfo/python-chinese
>> >>>
>> >
>> >limodou> = = = = = = = = = = = = = = = = = = = =
>> >			
>> >
>> >limodou>         致
>> >limodou> 礼!
>> > 
>> >				 
>> >limodou>         limodou
>> >limodou>         chatme at 263.net
>> >limodou>           2004-08-09
>> >
>> >
>> >
>> >********************************************/
>> >
>> >-- 
>> >Free as in Freedom
>> >
>> > [Zoom.Quiet]                           
>> >
>> >#=========================================#
>> >]Time is unimportant, only life important![
>> >#=========================================#
>> >
>> >sender is the Bat!2.12.00
>> >
>> >_______________________________________________
>> >python-chinese list
>> >python-chinese at lists.python.cn
>> >http://python.cn/mailman/listinfo/python-chinese
>> >
>> 
>> = = = = = = = = = = = = = = = = = = = =
>> 			
>> 
>>         致
>> 礼!
>>  
>> 				 
>>         limodou
>>         chatme at 263.net
>>           2004-08-09
>> 
>> > _______________________________________________
>> python-chinese list
>> python-chinese at lists.python.cn
>> http://python.cn/mailman/listinfo/python-chinese
>>  

mike gaul> _________________________________________________________
mike gaul> Do You Yahoo!?
mike gaul> 150万曲MP3疯狂搜,带您闯入音乐殿堂
mike gaul> http://music.yisou.com/
mike gaul> 美女明星应有尽有,搜遍美图、艳图和酷图
mike gaul> http://image.yisou.com
mike gaul> 1G就是1000兆,雅虎电邮自助扩容!
mike gaul> http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
mike gaul> _______________________________________________
mike gaul> python-chinese list
mike gaul> python-chinese at lists.python.cn
mike gaul> http://python.cn/mailman/listinfo/python-chinese


********************************************/

-- 
Free as in Freedom

 Zoom.Quiet                           

#=========================================#
]Time is unimportant, only life important![
#=========================================#

sender is the Bat!2.12.00



[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2024

    京ICP备05028076号