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())"> ololo@zeus.polsl.gliwice.pl, oleks@helper.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/