def finishCallback( clientId, session, abort = False ): if ( abort ): session.rollback() else: session.commit() session.close() popCmdHandler( clientId ) popPrompt( clientId )
def finishCallback(clientId, session, abort=False): if (abort): session.rollback() else: session.commit() session.close() popCmdHandler(clientId) popPrompt(clientId)
def colorSelected(clientId, color): self.colors[clientId] = color popCmdHandler(clientId) popPrompt(clientId) selectionCallback(clientId)
def colorSelected( clientId, color ): self.colors[ clientId ] = color popCmdHandler( clientId ) popPrompt( clientId ) selectionCallback( clientId )
def _editZoneNameCallback( clientId, zoneTemplateForm, zoneName ): zoneTemplateForm.zoneTemplate.name = zoneName popPrompt( clientId ) sendToClient( clientId, zoneTemplateForm.form.menu( clientId ) )
def _finish( clientId, textEditor ): popCmdHandler( clientId ) popPrompt( clientId ) textEditor.submitCallback( clientId, textEditor.text )
def _editZoneNameCallback(clientId, zoneTemplateForm, zoneName): zoneTemplateForm.zoneTemplate.name = zoneName popPrompt(clientId) sendToClient(clientId, zoneTemplateForm.form.menu(clientId))
def _editMobShortNameCallback(clientId, mobTemplateForm, mobShortName): mobTemplateForm.mobTemplate.sname = mobShortName popPrompt(clientId) sendToClient(clientId, mobTemplateForm.form.menu(clientId))
def finishCallback(clientId, abort=False): popCmdHandler(clientId) popPrompt(clientId)
def _finish(clientId, textEditor): popCmdHandler(clientId) popPrompt(clientId) textEditor.submitCallback(clientId, textEditor.text)
def textCallback(clientId, text): sendToClient(clientId, "{!{FUYou typed:{FG %s" % text) popPrompt(clientId)
def textCallback( clientId, text ): sendToClient( clientId, "{!{FUYou typed:{FG %s" % text ) popPrompt( clientId )