def finishCallback( clientId, session, abort = False ):

    if ( abort ):
        session.rollback()
    else:
        session.commit()

    session.close()

    popCmdHandler( clientId )
    popPrompt( clientId )
Exemple #2
0
def finishCallback(clientId, session, abort=False):

    if (abort):
        session.rollback()
    else:
        session.commit()

    session.close()

    popCmdHandler(clientId)
    popPrompt(clientId)
Exemple #3
0
 def colorSelected(clientId, color):
     self.colors[clientId] = color
     popCmdHandler(clientId)
     popPrompt(clientId)
     selectionCallback(clientId)
Exemple #4
0
 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 ) )
Exemple #6
0
def _finish( clientId, textEditor ):
    popCmdHandler( clientId )
    popPrompt( clientId )
    textEditor.submitCallback( clientId, textEditor.text )
Exemple #7
0
def _editZoneNameCallback(clientId, zoneTemplateForm, zoneName):
    zoneTemplateForm.zoneTemplate.name = zoneName
    popPrompt(clientId)
    sendToClient(clientId, zoneTemplateForm.form.menu(clientId))
Exemple #8
0
def _editMobShortNameCallback(clientId, mobTemplateForm, mobShortName):
    mobTemplateForm.mobTemplate.sname = mobShortName
    popPrompt(clientId)
    sendToClient(clientId, mobTemplateForm.form.menu(clientId))
Exemple #9
0
def finishCallback(clientId, abort=False):
    popCmdHandler(clientId)
    popPrompt(clientId)
Exemple #10
0
def _finish(clientId, textEditor):
    popCmdHandler(clientId)
    popPrompt(clientId)
    textEditor.submitCallback(clientId, textEditor.text)
Exemple #11
0
def _editMobShortNameCallback(clientId, mobTemplateForm, mobShortName):
    mobTemplateForm.mobTemplate.sname = mobShortName
    popPrompt(clientId)
    sendToClient(clientId, mobTemplateForm.form.menu(clientId))
Exemple #12
0
def textCallback(clientId, text):
    sendToClient(clientId, "{!{FUYou typed:{FG %s" % text)
    popPrompt(clientId)
Exemple #13
0
def textCallback( clientId, text ):
    sendToClient( clientId, "{!{FUYou typed:{FG %s" % text )
    popPrompt( clientId )
Exemple #14
0
def finishCallback(clientId, abort=False):
    popCmdHandler(clientId)
    popPrompt(clientId)