Examples of addMessage()


Examples of org.eclipse.wst.wsdl.Definition.addMessage()

          portType.addOperation(operation);
          Message inputMessage = WSDLFactory.eINSTANCE.createMessage();
          inputMessage.setQName(new QName(operation.getEnclosingDefinition().getTargetNamespace(), operationName));
          inputMessage.setUndefined(false);
          input.setMessage(inputMessage);
          wsdlDef.addMessage(inputMessage);
         
          Message outputMessage = WSDLFactory.eINSTANCE.createMessage();
          outputMessage.setQName(new QName(operation.getEnclosingDefinition().getTargetNamespace(), operationName + "Response"));
          outputMessage.setUndefined(false);
          output.setMessage(outputMessage);
View Full Code Here

Examples of org.exolab.jms.tools.migration.proxy.Subscription.addMessage()

                                                                  name);
        Iterator iterator = handles.iterator();
        while (iterator.hasNext()) {
            MessageHandle handle = (MessageHandle) iterator.next();
            String id = handle.getMessageId();
            result.addMessage(id, handle.getDelivered());
        }
        return result;
    }

    private void add(Consumer consumer) throws JMSException,
View Full Code Here

Examples of org.exoplatform.portal.webui.workspace.UIPortalApplication.addMessage()

         UserPortalConfig userConfig = service.getUserPortalConfig(portalName, prContext.getRemoteUser());

         if (userConfig == null)
         {
            portalApp.addMessage(new ApplicationMessage("UISiteManagement.msg.portal-not-exist",
               new String[]{portalName}));
            return;
         }
         PortalConfig portalConfig = userConfig.getPortalConfig();
View Full Code Here

Examples of org.exoplatform.webui.core.UIApplication.addMessage()

         // navigation
         UserACL userACL = uicomp.getApplicationComponent(UserACL.class);

         if (!userACL.hasEditPermission(navigation))
         {
            uiApplication.addMessage(new ApplicationMessage("UIGroupNavigationManagement.msg.Invalid-editPermission", null));
            return;
         }

         // ensure this navigation is exist
         DataStorage service = uicomp.getApplicationComponent(DataStorage.class);
View Full Code Here

Examples of org.exoplatform.webui.core.UIConfirmation.addMessage()

   private void showUIConfirmation()
   {
      UIConfirmation uiConfirmation = getChild(UIConfirmation.class);
      uiConfirmation.setActions(makeActionConfirmList());
      uiConfirmation.setCaller(this);
      uiConfirmation.addMessage(MSG_CONFIRM);
      uiConfirmation.setShow(true);

      setRenderedChild(UIConfirmation.class);
   }
View Full Code Here

Examples of org.exoplatform.webui.core.UIPopupMessages.addMessage()

      {
         int popupType = Integer.parseInt(event.getRequestContext().getRequestParameter(OBJECTID));

         UIPopupMessages uiPopupMessages =
            ((PortletRequestContext)WebuiRequestContext.getCurrentInstance()).getUIApplication().getUIPopupMessages();
         uiPopupMessages.addMessage(new ApplicationMessage("Test Message", null, popupType));
         uiPopupMessages.setShow(true);
      }

   }
}
View Full Code Here

Examples of org.fenixedu.academic.util.InvocationResult.addMessage()

            return InvocationResult.createSuccess();

        }

        final InvocationResult result = InvocationResult.createInsuccess();
        result.addMessage(
                LabelFormatter.APPLICATION_RESOURCES,
                "error.accounting.events.AccountingEventsManager.registration.for.student.does.not.respect.requirements.to.create.standalone.gratuity.event");

        return result;
View Full Code Here

Examples of org.jboss.dashboard.ui.components.MessagesComponentHandler.addMessage()

                while (it.hasNext()) {
                    Message message = (Message) it.next();
                    switch (message.getMessageType()) {
                        case Message.ERROR: messagesHandler.addError(message.getMessage(locale)); break;
                        case Message.WARNING: messagesHandler.addWarning(message.getMessage(locale)); break;
                        case Message.INFO: messagesHandler.addMessage(message.getMessage(locale)); break;
                    }
                }
            } catch (Exception e) {
                log.error("Error importing KPIs from file (" + file + ")", e);
                messagesHandler.addError(new ExportHandlerMessage("import.kpis.importAbortedError", new Object[] {}).getMessage(LocaleManager.currentLocale()));
View Full Code Here

Examples of org.jboss.dashboard.ui.utils.forms.FormStatus.addMessage()

            if (element != null) {
                log.debug("Find " + graphicElement + " with id=" + element.getId() + " and workspace=" + workspaceId + " and section=" + sectionId + " and panel=" + panelId);
                GraphicElement existingElement = manager.getElement(element.getId(), workspaceId, sectionId, panelId);
                if (existingElement != null) {
                    log.warn("Refusing change " + graphicElement + " workspace, as it would match an existing one.");
                    status.addMessage("ui.admin.workarea." + graphicElement + "s.cannotChangeScope");
                } else {
                    element.clearDeploymentFiles();
                    element.setWorkspaceId(workspaceId);
                    element.setSectionId(sectionId);
                    element.setPanelId(panelId);
View Full Code Here

Examples of org.jboss.errai.bus.client.Payload.addMessage()

            Payload p = new Payload(m == null ? heartBeat : m);

            if (wait) {
                while (!queue.isEmpty() && payLoadSize < MAXIMUM_PAYLOAD_SIZE
                        && (currentTimeMillis() - startWindow) < transmissionWindow) {
                    p.addMessage(queue.poll());
                    payLoadSize++;
                }

                if ((lastTransmission = currentTimeMillis()) - lastEnqueue > transmissionWindow) {
                    transmissionWindow = (lastTransmission - lastEnqueue);
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.