27 Jul
2001
27 Jul
'01
4:06 p.m.
Shane Hathaway wrote:
<snip>
manage_main = manage_editForm
Assuming it's "manage_editForm", you would add a line like this below the line you quoted:
manage_editForm._setName("manage_editForm")
Ah, okay, is it 'okay' to use _setName in the longterm?
Either manage_main or manage_editForm is protected by a permission, right?
Yupe, they both are, I think.
Whichever it is, that's the "official" name for the method.
What happens if I want to protect manage_editForm with one permission and manage_main with another? Also, kindof related, what happens if I want to protect a method with more than one permission? cheers, Chris