if (sField != sourceSField) // Don't call the child that passed this up bHandled = sField.handleCommand(strCommand, this, iUseSameWindow); // Send to children (make sure they don't call me) if (bHandled) return bHandled; bHandled = super.handleCommand(strCommand, sourceSField, iUseSameWindow); // This will send the command to my parent return bHandled;
if (sField != sourceSField) // Don't call the child that passed this up bHandled = sField.handleCommand(strCommand, this, iUseSameWindow); // Send to children (make sure they don't call me) if (bHandled) return bHandled; bHandled = super.handleCommand(strCommand, sourceSField, iUseSameWindow); // This will send the command to my parent return bHandled;
if (this.getScreenField().handleCommand(strCommand, this.getScreenField(), ScreenConstants.USE_SAME_WINDOW)) strHTML += " queued successfully</p>"; else