Did I find the right examples for you? yes no

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/x/i/Ximpia-0.2.1/ximpia/xpcore/business.py   Ximpia(Download)
 
from data import WorkflowDataDAO, WorkflowDAO, WFParamValueDAO, ParamDAO, ViewDAO, WorkflowViewDAO
from models import Context, JsResultDict
from choices import Choices
 

src/x/i/Ximpia-0.2.1/ximpia/xpcore/data.py   Ximpia(Download)
from models import WorkflowView, ViewMenu, SearchIndex, SearchIndexParam, Word, SearchIndexWord, XpTemplate, ViewTmpl, ServiceMenuCondition
from models import ViewMenuCondition, ApplicationMedia
from models import Context, JsResultDict
 
from ximpia.xpsite.models import Setting

src/x/i/Ximpia-0.2.1/ximpia/xpcore/service.py   Ximpia(Download)
 
from ximpia.util import ut_email
from models import JsResultDict, ctx
 
# Constants
				logger.debug('service :: isServerTmpl: %s' % (self._isServerTmpl))
				#logger.debug( 'service :: ctx: %s' % (obj._ctx.keys()) )
				obj._ctx.jsData = JsResultDict()
				if self._form != None:
					obj._set_main_form(self._form())
			obj = argsTuple[0]
			#result = f(*argsTuple, **argsDict)
			obj._ctx.jsData = JsResultDict()
			obj._ctx.form = self._form(obj._ctx.post, ctx=obj._ctx)
			bForm = obj._ctx.form.is_valid()

src/x/i/Ximpia-0.2.1/ximpia/xpcore/views.py   Ximpia(Download)
 
from ximpia.xpcore.util import get_class, AttrDict, get_app_full_path, get_app_path
from models import context, context_view, ctx, JsResultDict
from service import XpMsgException, view_tmpl, SearchService, TemplateService, CommonService
from data import ViewDAO, ActionDAO, ApplicationDAO
                args['ctx'].form = resolvedForm(args['ctx'].post, ctx=args['ctx'], instances=instances)
            logger.debug('jxSave :: instantiated form')
            args['ctx'].jsData = JsResultDict()
            isFormValid = args['ctx'].form.is_valid()
            #isFormValid = False
            logger.debug('jxDelete :: resolvedForm: %s' % (resolvedForm) )
            args['ctx'].form = resolvedForm(args['ctx'].post, ctx=args['ctx'])
            args['ctx'].jsData = JsResultDict()
            # Instantiate form, validate form
            logger.debug('jxDelete :: post: %s' % (args['ctx'].post) )