Examples of initialise()


Examples of com.adito.extensions.forms.DefaultExtensionsForm.initialise()

            ExtensionStoreDescriptor storeDescriptor = ExtensionStore.getInstance()
            .getDownloadableExtensionStoreDescriptor(request.getParameter("connect") != null || Property.getPropertyBoolean(new SystemConfigKey("updates.automaticallyConnectToApplicationStore")));
            Util.noCache(response);
        } catch (Exception e) {
        }
        defaultExtensionForm.initialise(request.getSession(), ExtensionStore.getInstance().getAllAvailableExtensionBundles(extensionCategory));
        return null; // Return null because we are in a subform
    }

    public ActionForward refresh(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
                    throws Exception {
View Full Code Here

Examples of com.adito.policyframework.forms.PrincipalInformationForm.initialise()

     * @throws Exception
     */
    public ActionForward principalInformation(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
        PrincipalInformationForm informationForm = (PrincipalInformationForm) form;
        Principal principal = (Principal) request.getAttribute(Constants.REQ_ATTR_INFO_RESOURCE);
        informationForm.initialise(principal);
        return mapping.findForward("display");
    }
   
    /* (non-Javadoc)
     * @see com.adito.core.actions.CoreAction#getNavigationContext(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
View Full Code Here

Examples of com.adito.properties.attributes.forms.AttributeDefinitionForm.initialise()

        AttributeDefinitionForm df = (AttributeDefinitionForm) form;
        AttributeDefinition def = (AttributeDefinition) request.getSession().getAttribute(Constants.EDITING_ITEM);
        if (def.isSystem()) {
            throw new Exception("System attribute definitions may not be edited.");
        }
        df.initialise(def);
        df.setEditing();
        df.setReferer(CoreUtil.getReferer(request));
        CoreUtil.addRequiredFieldMessage(this, request);
        return mapping.findForward("display");
    }
View Full Code Here

Examples of com.adito.sample.forms.SamplesForm.initialise()

        // TODO get the samples and initialise the Form with the Items.

        List samples = getSessionInfo(request).getNavigationContext() == SessionInfo.MANAGEMENT_CONSOLE_CONTEXT ? ResourceUtil
                        .filterManageableResources(SamplePlugin.getDatabase().getSamples(), getSessionInfo(request).getUser())
                        : ResourceUtil.getGrantedResource(getSessionInfo(request), getResourceType());
        samplesForm.initialise(samples, getSessionInfo(request), ".name");

        return fwd;
    }

    /*
 
View Full Code Here

Examples of com.adito.setup.forms.MessageForm.initialise()

     
        String users = request.getParameter("users");
       
        MultiSelectSelectionModel policyModel = initSelectModel(mf, selectedPolicies, mf.isShowPersonalPolicies(), users, session);
       
        mf.initialise(policyModel, selectedPolicies, getSessionInfo(request));

        return mapping.findForward("display");
    }

    protected MultiSelectPoliciesSelectionModel initSelectModel(MessageForm mf, PropertyList selectedPolicies, boolean isShowPersonalPolicies, String users, SessionInfo session) throws Exception {
View Full Code Here

Examples of com.adito.setup.forms.MessageQueueInformationForm.initialise()

     * @throws Exception
     */
    public ActionForward messageQueueInformation(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
        MessageQueueInformationForm informationForm = (MessageQueueInformationForm) form;
        Notifier.MessageWrapper messageWrapper = (Notifier.MessageWrapper) request.getAttribute(Constants.REQ_ATTR_INFO_RESOURCE);
        informationForm.initialise(messageWrapper);
        return mapping.findForward("display");
    }
   
    /* (non-Javadoc)
     * @see com.adito.core.actions.CoreAction#getNavigationContext(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
View Full Code Here

Examples of com.adito.setup.forms.SessionInformationForm.initialise()

   */
  public ActionForward sessionInformation(ActionMapping mapping, ActionForm form, HttpServletRequest request,
                        HttpServletResponse response) throws Exception {
    SessionInformationForm informationForm = (SessionInformationForm) form;
    SessionInfo session = (SessionInfo) request.getAttribute(Constants.REQ_ATTR_INFO_RESOURCE);
    informationForm.initialise(session);
    return mapping.findForward("display");
  }

  /*
   * (non-Javadoc)
 
View Full Code Here

Examples of com.adito.tunnels.forms.TunnelsForm.initialise()

                    HttpServletResponse response) throws Exception {
        ActionForward fwd = super.unspecified(mapping, form, request, response);
        User user = LogonControllerFactory.getInstance().getUser(request);
        TunnelsForm tunnelsForm = (TunnelsForm) form;
        SessionInfo session = LogonControllerFactory.getInstance().getSessionInfo(request);
        tunnelsForm.initialise(session, user, ".name");
        tunnelsForm.checkSelectedView(request, response);
        Util.noCache(response);
        return fwd;
    }
View Full Code Here

Examples of com.arjuna.ats.internal.arjuna.objectstore.JDBCImple.initialise()

                        { ex, getJDBCAccess() });
              }
              throw ex;
            }

            if (!jdbcImple.initialise(connection, jdbcAccess,
                impleTableName))
            {
              if (tsLogger.arjLoggerI18N.isWarnEnabled())
                tsLogger.arjLoggerI18N
                    .warn("com.arjuna.ats.internal.arjuna.objectstore.JDBCStore_3");
View Full Code Here

Examples of com.arjuna.ats.internal.jdbc.drivers.modifiers.jndi.initialise()

/*  84 */     this._theTransaction = null;
/*  85 */     this._theArjunaConnection = null;
/*     */
/*  95 */     jndi jndiModifier = new jndi();
/*     */
/*  97 */     this._dbName = jndiModifier.initialise(this._dbName);
/*  98 */     this._theModifier = null;
/*     */
/* 100 */     createDataSource();
/*     */   }
/*     */
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.