Examples of findComponent()


Examples of nexj.core.meta.Metadata.findComponent()

      list.add(new J2EEProperty("password", mq.getPassword()));

      Metadata metadata = channel.getType().getMetadata();

      list.add(new J2EEProperty("maxPoolSize", (SysUtil.ENTERPRISE
         && metadata.findComponent("System.ClusterManager") != null && metadata.isDynamicReceiverEnabled()) ? 0
            : mq.getMaxReceivers()));
   }

   /**
    * @see nexj.core.meta.integration.channel.XMLMDBIntegrationMetadataExporter#getDestinationResourceEnvRef(nexj.core.meta.integration.Channel, int)
View Full Code Here

Examples of org.andromda.core.common.ComponentContainer.findComponent()

     * Stops the AndroMDA server instance.
     */
    public void stop(final Configuration configuration)
    {
        final ComponentContainer container = ComponentContainer.instance();
        final Client serverClient = (Client)container.findComponent(Client.class);
        if (serverClient != null)
        {
            try
            {
                serverClient.stop(configuration);
View Full Code Here

Examples of org.apache.cocoon.faces.samples.components.components.AreaComponent.findComponent()

        if ((context == null) || (component == null)) {
            throw new NullPointerException();
        }
        AreaComponent area = (AreaComponent) component;
        String targetImageId =
            area.findComponent(area.getTargetImage()).getClientId(context);
        ImageArea iarea = (ImageArea) area.getValue();
        ResponseWriter writer = context.getResponseWriter();
        StringBuffer sb = null;

        writer.startElement("area", area);
View Full Code Here

Examples of org.apache.myfaces.component.html.ext.HtmlCommandLink.findComponent()

            }
            scroller.getChildren().add(link);
        }
        else
        {
            UIOutput uiText = (UIOutput) link.findComponent(scroller.getId() + id + "_text");
            if (uiText != null)
            {
                //Update text value
                uiText.setValue(text);
            }
View Full Code Here

Examples of org.apache.myfaces.custom.radio.HtmlRadio.findComponent()

            if (index < 0)
            {
                throw new IllegalStateException("positive index must be given");
            }

            UIComponent uiSelectOne = radio.findComponent(forAttr);
            if (uiSelectOne == null)
            {
                throw new IllegalStateException("Could not find component '" + forAttr + "' (calling findComponent on component '" + radio.getClientId(facesContext) + "')");
            }
            if (!(uiSelectOne instanceof UISelectOne))
View Full Code Here

Examples of org.apache.myfaces.custom.tree.HtmlTreeCheckbox.findComponent()

        if (forAttr == null)
        {
            throw new IllegalStateException("Mandatory attribute 'for'");
        }

        UIComponent uiComponent = checkbox.findComponent(forAttr);
        if (uiComponent == null)
        {
            throw new IllegalStateException("Could not find component '" + forAttr
                                            + "' (calling findComponent on component '" + checkbox.getClientId(context) + "')");
        }
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UIPage.findComponent()

      // decode the action if actioncomponent not inside one of the ajaxcomponets
      // otherwise it is decoded there
      String actionId = page.getActionId();
      UIComponent actionComponent = null;
      if (actionId != null) {
        actionComponent = page.findComponent(actionId);
      }

      if (actionComponent != null) {
        boolean decodeNeeded = true;
        UIData sheet = null;
View Full Code Here

Examples of org.apache.myfaces.tobago.component.UIPopup.findComponent()

    } else {
     // LOG.warn("Converter for DateRenderer is not instance of DateTimeConverter. Using default Pattern "
      //    + converterPattern);
    }

    UICommand okButton = (UICommand) popup.findComponent("ok" + DatePickerController.CLOSE_POPUP);
    attributes = okButton.getAttributes();
    attributes.put(ATTR_ACTION_ONCLICK, "writeIntoField2(this); Tobago.closePickerPopup2(this)");
    okButton.setActionListener(datePickerController);

    UICommand cancelButton  = (UICommand) popup.findComponent(DatePickerController.CLOSE_POPUP);
View Full Code Here

Examples of org.apache.myfaces.trinidad.component.UIXPanel.findComponent()

    assertNull(h.findComponent("e"));
    assertNull(h.findComponent("f"));
    assertNull(h.findComponent("g"));
   
    // Positive relative searches from "i"
    assertTrue(a == i.findComponent("a"));
    assertTrue(b == i.findComponent("b"));
    assertTrue(c == i.findComponent("c"));
    assertTrue(d == i.findComponent("b:d"));
    assertTrue(e == i.findComponent("b:d:e"));
    assertTrue(f == i.findComponent("b:d:f"));
View Full Code Here

Examples of org.apache.myfaces.trinidad.component.core.nav.CoreCommandButton.findComponent()

    //pu: In case of the button that removes multiple facets, this is again
    //  delimited by "_"
    String removableFacetNames[] = facetNameFromButtonText.split("_");
   
    //pu: Get the CorePanelPage components that has all the removable facets
    UIComponent uic = eventSource.findComponent("pp1");
    Map<String, UIComponent> facets = uic.getFacets();
    if (facets.keySet().size() == 0)
      return;

    for (int i=0; i<removableFacetNames.length; i++)
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.