x and y first evaluates x. If x is false, the result is x ; otherwise, the result is y.
x or y first evaluates x. If x is true, the result is x ; otherwise, the result is y .
and and or don't force their results to be True or False, but rather return one or the other of their operands.
Wednesday, September 29, 2010
Thursday, September 16, 2010
Overwriting wizard written in old style (wizard.interface)
Old style wizards (wizard.interface) do not support the concept of reusability(inheritance). You will simply need to overwrite the whole wizard. To make sure that the click on wizard calls your new code, you should keep this in mind.
New module : Inside the wizard.xml of your module,you should use the code like this:
id="main module.xmlld" #xmlID of your old module,so it now refers to new wizard definition.
model="Same as old menu"
name="Better to have a new name"
string="Your string"/>
The new name should be linked to the new code of your wizard.
New module : Inside the wizard.xml of your module,you should use the code like this:
model="Same as old menu"
name="Better to have a new name"
string="Your string"/>
The new name should be linked to the new code of your wizard.
Subscribe to:
Posts (Atom)