Hi Is it somehow possible so make the addForm for a ZClasses to be automatically posted with a generated ID? I know how to do it in Javascript but I'd rather avoid using it at this stage, is there any other way to go directly to the XXX_add script? I do generate a unique id for my objects but I still have to press the button for actually calling the XXX_add script. I've built a few Zclasses with highly customized addForm, but I need the same form to be present for changing the properties already created objects. I'd rather have an automatic creation of the object and then directing the user into the property page. In this way I would have only one form page to mantain and update and I'd also handle the automatic cataloging only in the "changeProperties" context. Thank you
On to, 24.04.2003 at 10:40 +0200, Fabio Rolando wrote:
Is it somehow possible so make the addForm for a ZClasses to be automatically posted with a generated ID? I know how to do it in Javascript but I'd rather avoid using it at this stage, is there any other way to go directly to the XXX_add script? I do generate a unique id for my objects but I still have to press the button for actually calling the XXX_add script.
From the factory of the ZClass, select the initial method to be XXX_add instead of XXX_addForm. You also have to add a request-parameter to the constructor.
-- paavo. "4000 hungry children leave us per hour from starvation while billions are spent on bombs creating death showers"
participants (2)
-
Fabio Rolando -
Paavo Parkkinen