Package org.apache.myfaces.trinidadinternal.ui.data

Examples of org.apache.myfaces.trinidadinternal.ui.data.DataBoundValue


    // icon source
    TreeImageURIBoundValue defaultURI =
      new TreeImageURIBoundValue(getDefaultIconName());
    IfBoundValue defaultIcon = new IfBoundValue(isExpandable, defaultURI, null);
    DataBoundValue specifiedIcon = new DataBoundValue(ICON_KEY);
    DefaultingBoundValue iconSource = new DefaultingBoundValue(specifiedIcon,
                                                               defaultIcon);

    // icon short description
    SkinTranslatedBoundValue defaultIconShortDesc =
                           new SkinTranslatedBoundValue(mapKey(_FOLDER_TIP_KEY));
    DataBoundValue specifiedIconShortDesc =
                                     new DataBoundValue(ICON_SHORT_DESC_KEY);
    DefaultingBoundValue iconShortDesc =
                         new DefaultingBoundValue(specifiedIconShortDesc,
                                                  defaultIconShortDesc);

    MarlinBean icon = new MarlinBean(IMAGE_NAME);
View Full Code Here


  // create the UINode that will be used as the default stamp:  link
  private static UINode _createDefaultStamp()
  {
    MarlinBean link = new MarlinBean(LINK_NAME);
    link.setAttributeValue(TEXT_ATTR, new DataBoundValue(TEXT_KEY));
    link.setAttributeValue(DESTINATION_ATTR, DESTINATION_KEY);
    link.setAttributeValue(TARGET_FRAME_ATTR,
                           new DataBoundValue(TARGET_FRAME_KEY));

    return link;
  }
View Full Code Here

    // icon source
    TreeImageURIBoundValue defaultURI =
      new TreeImageURIBoundValue(getDefaultIconName());
    IfBoundValue defaultIcon = new IfBoundValue(isExpandable, defaultURI, null);
    DataBoundValue specifiedIcon = new DataBoundValue(ICON_KEY);
    DefaultingBoundValue iconSource = new DefaultingBoundValue(specifiedIcon,
                                                               defaultIcon);

    // icon short description
    SkinTranslatedBoundValue defaultIconShortDesc =
                           new SkinTranslatedBoundValue(mapKey(_FOLDER_TIP_KEY));
    DataBoundValue specifiedIconShortDesc =
                                     new DataBoundValue(ICON_SHORT_DESC_KEY);
    DefaultingBoundValue iconShortDesc =
                         new DefaultingBoundValue(specifiedIconShortDesc,
                                                  defaultIconShortDesc);

    MarlinBean icon = new MarlinBean(IMAGE_NAME);
View Full Code Here

  // create the UINode that will be used as the default stamp:  link
  private static UINode _createDefaultStamp()
  {
    MarlinBean link = new MarlinBean(LINK_NAME);
    link.setAttributeValue(TEXT_ATTR, new DataBoundValue(TEXT_KEY));
    link.setAttributeValue(DESTINATION_ATTR, DESTINATION_KEY);
    link.setAttributeValue(TARGET_FRAME_ATTR,
                           new DataBoundValue(TARGET_FRAME_KEY));

    return link;
  }
View Full Code Here

    // icon source
    TreeImageURIBoundValue defaultURI =
      new TreeImageURIBoundValue(getDefaultIconName());
    IfBoundValue defaultIcon = new IfBoundValue(isExpandable, defaultURI, null);
    DataBoundValue specifiedIcon = new DataBoundValue(ICON_KEY);
    DefaultingBoundValue iconSource = new DefaultingBoundValue(specifiedIcon,
                                                               defaultIcon);

    // icon short description
    SkinTranslatedBoundValue defaultIconShortDesc =
                           new SkinTranslatedBoundValue(mapKey(_FOLDER_TIP_KEY));
    DataBoundValue specifiedIconShortDesc =
                                     new DataBoundValue(ICON_SHORT_DESC_KEY);
    DefaultingBoundValue iconShortDesc =
                         new DefaultingBoundValue(specifiedIconShortDesc,
                                                  defaultIconShortDesc);

    MarlinBean icon = new MarlinBean(IMAGE_NAME);
View Full Code Here

  // create the UINode that will be used as the default stamp:  link
  private static UINode _createDefaultStamp()
  {
    MarlinBean link = new MarlinBean(LINK_NAME);
    link.setAttributeValue(TEXT_ATTR, new DataBoundValue(TEXT_KEY));
    link.setAttributeValue(DESTINATION_ATTR, DESTINATION_KEY);
    link.setAttributeValue(TARGET_FRAME_ATTR,
                           new DataBoundValue(TARGET_FRAME_KEY));

    return link;
  }
View Full Code Here

    // icon source
    TreeImageURIBoundValue defaultURI =
      new TreeImageURIBoundValue(getDefaultIconName());
    IfBoundValue defaultIcon = new IfBoundValue(isExpandable, defaultURI, null);
    DataBoundValue specifiedIcon = new DataBoundValue(ICON_KEY);
    DefaultingBoundValue iconSource = new DefaultingBoundValue(specifiedIcon,
                                                               defaultIcon);

    // icon short description
    SkinTranslatedBoundValue defaultIconShortDesc =
                           new SkinTranslatedBoundValue(mapKey(_FOLDER_TIP_KEY));
    DataBoundValue specifiedIconShortDesc =
                                     new DataBoundValue(ICON_SHORT_DESC_KEY);
    DefaultingBoundValue iconShortDesc =
                         new DefaultingBoundValue(specifiedIconShortDesc,
                                                  defaultIconShortDesc);

    MarlinBean icon = new MarlinBean(IMAGE_NAME);
View Full Code Here

  // create the UINode that will be used as the default stamp:  link
  private static UINode _createDefaultStamp()
  {
    MarlinBean link = new MarlinBean(LINK_NAME);
    link.setAttributeValue(TEXT_ATTR, new DataBoundValue(TEXT_KEY));
    link.setAttributeValue(DESTINATION_ATTR, DESTINATION_KEY);
    link.setAttributeValue(TARGET_FRAME_ATTR,
                           new DataBoundValue(TARGET_FRAME_KEY));

    return link;
  }
View Full Code Here

TOP

Related Classes of org.apache.myfaces.trinidadinternal.ui.data.DataBoundValue

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.