Package ariba.ui.meta.core

Examples of ariba.ui.meta.core.UIMeta$LocalizedString


    public AWResponseGenerating actionClicked ()
    {
        // if (_isGlobal) return MetaNavTabBar.getState(session()).fireAction(_action, requestContext());
        Context context = MetaContext.currentContext(this);
        UIMeta meta = (UIMeta)context.meta();
        return meta.fireAction(_action, context, requestContext());
    }
View Full Code Here


        public AWResponseGenerating actionClicked (AWRequestContext requestContext)
        {
            UIMeta.UIContext context = (UIMeta.UIContext)_contextSnapshot.hydrate();
            context.setRequestContext(requestContext);
            UIMeta meta = (UIMeta)context.meta();
            return meta.fireAction(context, requestContext);
        }
View Full Code Here

    }

    public void renderResponse (AWRequestContext requestContext, AWComponent component)
    {
        Context context = MetaContext.currentContext(this);
        UIMeta meta = (UIMeta)context.meta();
        _allLayouts = meta.itemList(context, UIMeta.KeyLayout, zones());

        super.renderResponse(requestContext, component);
    }
View Full Code Here

    public List<ItemProperties> allLayouts ()
    {
        if (_allLayouts == null) {
            Context context = MetaContext.currentContext(this);
            UIMeta meta = (UIMeta)context.meta();
            _allLayouts = meta.itemList(context, UIMeta.KeyLayout, zones());
        }
        return _allLayouts;
    }
View Full Code Here

    public Map<String, Object> layoutsByZones ()
    {
        if (_layoutsByZones == null) {
            Context context = MetaContext.currentContext(this);
            UIMeta meta = (UIMeta)context.meta();
            _layoutsByZones =  meta.itemsByZones(context, UIMeta.KeyLayout, zones());
        }
        return _layoutsByZones;
    }
View Full Code Here

         if (keywordsNb > 0)
         {
            StringBuffer sb = new StringBuffer();
            for (int i = 0; i < keywordsNb; i++)
            {
               LocalizedString keyword = keywords.get(i);
               sb.append(keyword.getValue());
               if (i != keywordsNb - 1)
               {
                  sb.append(","); // not the last one, so concatenate a comma to separate
               }
            }
View Full Code Here

         if (keywordsNb > 0)
         {
            StringBuffer sb = new StringBuffer();
            for (int i = 0; i < keywordsNb; i++)
            {
               LocalizedString keyword = keywords.get(i);
               sb.append(keyword.getValue());
               if (i != keywordsNb - 1)
               {
                  sb.append(","); // not the last one, so concatenate a comma to separate
               }
            }
View Full Code Here

    */
   public static LocalizedString createLocalizedString(String lang, String resourceName, String value)
   {
      ParameterValidation.throwIllegalArgExceptionIfNull(lang, "LocalizedString language");
      ParameterValidation.throwIllegalArgExceptionIfNull(value, "LocalizedString value");
      LocalizedString localizedString = new LocalizedString();
      localizedString.setLang(lang);
      localizedString.setResourceName(resourceName);
      localizedString.setValue(value);
      return localizedString;
   }
View Full Code Here

      public ItemDescription apply(V1ItemDescription from)
      {
         if (from != null)
         {
            LocalizedString description = LOCALIZEDSTRING.apply(from.getDescription());
            ItemDescription result = WSRPTypeFactory.createItemDescription(description, null, from.getItemName());
            List<Extension> extensions = WSRPUtils.transform(from.getExtensions(), EXTENSION);
            if (extensions != null)
            {
               result.getExtensions().addAll(extensions);
View Full Code Here

    */
   public static LocalizedString createLocalizedString(String lang, String resourceName, String value)
   {
      ParameterValidation.throwIllegalArgExceptionIfNull(lang, "LocalizedString language");
      ParameterValidation.throwIllegalArgExceptionIfNull(value, "LocalizedString value");
      LocalizedString localizedString = new LocalizedString();
      localizedString.setLang(lang);
      localizedString.setResourceName(resourceName);
      localizedString.setValue(value);
      return localizedString;
   }
View Full Code Here

TOP

Related Classes of ariba.ui.meta.core.UIMeta$LocalizedString

Copyright © 2018 www.massapicom. 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.