Hi,
I would like to ask how to propagate variables from initial index_html
call to deeper levels. Say I have index_html python script, I invoke it
then I would like to feed some data to generic template, that will in
turn will invoke template in the same directory that will do nice layout
of my
Pavel Zaitsev wrote:
Hi,
I would like to ask how to propagate variables from initial index_html
call to deeper levels. Say I have index_html python script, I invoke it
then I would like to feed some data to generic template, that will in
turn will invoke template in the same directory that will
В Пнд, 24/07/2006 в 15:00 -0700, David H пишет
Pavel,
You question is a bit vague but ...
Make your index_html a python script. And then stuff your REQUEST with
info you want
Then just call the Page Template ...
request.set('formvar1', somevalue)
return
Pavel Zaitsev wrote:
В Пнд, 24/07/2006 в 15:00 -0700, David H пишет
Pavel,
You question is a bit vague but ...
Make your index_html a python script. And then stuff your REQUEST with
info you want
Then just call the Page Template ...
request.set('formvar1', somevalue)
return
Hi Loren,
There is also Zieve:
http://www.zope.org/Members/sspickle/Zieve
Not quite as easy as a 'fixed' dtml-in ... but it
does work (today).
-steve
"Loren" == Loren Stafford [EMAIL PROTECTED] writes:
Loren On 02 July 2000, Adam Karpierz, posted a patch that would
Loren
On 02 July 2000, Adam Karpierz, posted a patch that would allow an
expression for the sort specification for the dtml-in tag. Did that patch,
or something like it, ever find its way into the Zope core?
I also seem to remember some discussion of sorting on multiple items (but
can't find any trace
Hi.
I have tried to implement a variable length form.
Yes, I have read
http://www.zope.org/Members/jpenny/variable_length_forms/index_html.!
I a form, I'm using following form fields:
dtml-in "_.range(1, _.string.atoi(form_numpages)+1, 1)"
tr align="center" valign="middle"
I'm working on a simple auction site as a newbe challenge. I am taking bids
on three static items, none will be added or removed. I have a folder named
bid_records in which there is a folder for each item. These item folders
have current bid information in properties and bid history in ZClass
Scott Butchill wonders if:
"there is a simpler way to do this."
Not much simpler, but how about:
dtml-call "REQUEST.set('user_select', ['walkon', 'fullhouse'])"
dtml-with bid_records
dtml-in user_select
dtml-if "_.str(REQUEST.form['selection']) == _['sequence-item']"
dtml-with
Burchill, Scott B. writes:
I am finding myself doing the following and am sure
there is a simpler way to do this.
Any help would be greatly appreciated! Thanks.
dtml-with bid_records
dtml-if "_.str(REQUEST.form['selection']) == 'walkon'"
dtml-with walkon
It will be that somebody knows with I obtains to capture the last
register registered in cadastre in some 0 variable.
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding!
In my search form, I have a selection box "in_sort_by" whose value can
be "Category", "Field", or "Title". I am trying to make dtml-in sort by
this value. I am using:
dtml-in SQL_search sort="_['in_sort_by']" size=list_size
start=query_start
Hi Aaron again
I have attached appropriate patch
I have attached appropriate patch for dtml-in tag for Zope 2.2.0b3/b4
(Of course this patch was checked and works ok).
Thanks again for the patch. It is a much needed option (and rather a glaring omission
from
the original code). So far it is working flawlessly for me.
I want extend my
In my search form, I have a selection box "in_sort_by" whose value can
be "Category", "Field", or "Title". I am trying to make dtml-in sort by
this value. I am using:
dtml-in SQL_search sort="_['in_sort_by']" size=list_size
start=query_start
And I've tried other variations, but I always get
Aaron Williamson wrote:
In my search form, I have a selection box "in_sort_by" whose value can
be "Category", "Field", or "Title". I am trying to make dtml-in sort by
this value. I am using:
dtml-in SQL_search sort="_['in_sort_by']" size=list_size
start=query_start
And I've tried
I would like to know,if there is a Variable, which delivers as value the
author of a document, similiar to "AUTHENTICATED_USER", which delivers
the user name.
I couldn't find anything about it in the Zope DTML Reference.
Thanks a lot in advance,
Stefan
16 matches
Mail list logo