On Thu, 11 Jan 2001, Tim Hicks wrote:
> from a builtin edit form as my template. One thing doesn't work now though,
> and that's making the textarea wider/narrow/etc. Obviously, this is because
> I have static values put in for the dimensions of the text area, but I'm not
> sure how to alter this to make it work... any pointers?
I use this code for that purpose:
<dtml-if "REQUEST.has_key('dtpref_cols')">
<dtml-if "REQUEST.has_key('dtpref_rows')">
<dtml-var
"manage_edit(data,title,SUBMIT,dtpref_cols,dtpref_rows,REQUEST)">
<dtml-else>
<dtml-var "manage_edit(data,title,SUBMIT,dtpref_cols,REQUEST=REQUEST)">
</dtml-if>
<dtml-else>
<dtml-if "REQUEST.has_key('dtpref_rows')">
<dtml-var
"manage_edit(data,title,SUBMIT,dtpref_rows=dtpref_rows,REQUEST=REQUEST)">
<dtml-else>
<dtml-var "manage_edit(data,title,SUBMIT,REQUEST=REQUEST)">
</dtml-if>
</dtml-if>
<dtml-call "reindex_object()">
<dtml-call "RESPONSE.redirect(manage_edycjaTresciForm.absolute_url())">
[EMAIL PROTECTED], [EMAIL PROTECTED]
/--------------------------------------\
| `long long long' is too long for GCC |
\--------------------------------------/
_______________________________________________
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 )