Examples of TMLUserProfile


Examples of de.innovationgate.wgpublisher.webtml.utils.TMLUserProfile

                    getStatus().encode = "none";
                }
            }
    }
    else if (type.equals("profile")) {
      TMLUserProfile profile = tmlContext.getprofile();
      if (profile == null) {
        this.addWarning("Current user has no profile", true);
        return;
      }
      result = profile.itemlist(itemName);
    }
    else if (type.equals("portlet")) {
      TMLPortlet portlet = tmlContext.getportlet();
      if (portlet == null) {
        this.addWarning("Current user has no portlet registration", true);
View Full Code Here

Examples of de.innovationgate.wgpublisher.webtml.utils.TMLUserProfile

                WGDocument doc = tmlContext.getdocument();
                return FormBase.getFieldValue(doc, tmlContext, formInfo, fieldname, meta, defaultvalue, useRelation);           
            }
           
            else if (source.equals("profile")) {
                TMLUserProfile profile = tmlContext.getprofile();
                return FormBase.getFieldValue(profile, tmlContext, formInfo, fieldname, meta, defaultvalue);
            }
           
            else if (source.equals("portlet")) {
                TMLPortlet portlet = tmlContext.getportlet();
View Full Code Here

Examples of de.innovationgate.wgpublisher.webtml.utils.TMLUserProfile

    public TMLUserProfile getUserProfile(WGDatabase db) {

        DomainConfiguration domainConfig = getCore().getDomainConfigForDatabase(db);
       
        TMLUserProfile profile = (TMLUserProfile) getPageContext().getRequest().getAttribute(WGACore.ATTRIB_PROFILE + db.getDbReference());
        if (profile == null) {
            try {
               return getDispatcher().fetchUserProfile((HttpServletRequest) getPageContext().getRequest(), (HttpServletResponse) getPageContext().getResponse(), db, getPageContext().getSession());
            }
            catch (WGAPIException e) {
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.