A simple feature suggestion
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. Jim
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
On Thu, 9 Dec 1999, Shane Hathaway wrote:
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.
Wow, that nice. What about changeing "copy_of_somename" to just "somename"? Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
Oleg Broytmann wrote:
Wow, that nice. What about changeing "copy_of_somename" to just "somename"?
Actually I was just looking at that today. Seems to me that copy_of_somename is a good idea and copies the behavior of Windows. It will only (AFAIK) change the name to copy_of_somename when you paste an item in a folder where an item by the same name already exists. In some cases, of course, that is not the intended behavior. An extra dialog could be added fairly easily which asks the user what is wanted when duplicates exist. Shane
On Thu, 9 Dec 1999, Shane Hathaway wrote:
Oleg Broytmann wrote:
Wow, that nice. What about changeing "copy_of_somename" to just "somename"?
Actually I was just looking at that today. Seems to me that copy_of_somename is a good idea and copies the behavior of Windows. It will only (AFAIK) change the name to copy_of_somename when you paste an item in a folder where an item by the same name already exists. In some cases, of course, that is not the intended behavior. An extra dialog could be added fairly easily which asks the user what is wanted when duplicates exist.
No, I am satisfied with copy/paste behaviour. I want to see "somename" instead of "copy_of_somename" in *rename* dialog. Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
On Thu, 9 Dec 1999, Shane Hathaway wrote:
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
Yeah, I figured it would be this simple. I was just too lazy to track down which file I had to change. :-) Cheers, Jim
participants (3)
-
Jim Cain -
Oleg Broytmann -
Shane Hathaway