[Zope-dev] A simple feature suggestion

Shane Hathaway shane@webacademics.com
Thu, 09 Dec 1999 16:03:48 +0000


Jim Cain wrote:
> 
> When you click on the Rename button for an object and go to the rename
> form, it would be nice if the text field was already populated with the
> old name.
> 

A good suggestion.  You might try this simple fix:

Edit <zope>/lib/python/OFS/renameForm.dtml.  Change line 27 to read:

  <INPUT TYPE="TEXT" NAME="new_id" SIZE="20" value="&dtml-id;">

I added 'value="&dtml-id;"' to the end of the tag.

Hopefully DC will incorporate this small change.

Shane