Examples of Action


Examples of org.apache.struts2.jquery.components.Action

  @Override
    protected void populateParams() {
       
    super.populateParams();

    Action action = (Action) component;
    action.setOnClickTopics(onClickTopics);
    action.setTargets(targets);
    action.setHref(href);
    action.setFormIds(formIds);
    action.setValidate(validate);
    action.setIndicatorId(indicatorId);
    action.setLoadingText(loadingText);
    action.setOnCompleteTopics(onCompleteTopics);
    action.setOnSuccessTopics(onSuccessTopics);
    action.setOnErrorTopics(onErrorTopics);
    action.setElementIds(elementIds);
    action.setErrorText(errorText);
    action.setErrorElementId(errorElementId);
    }
View Full Code Here

Examples of org.apache.tomcat.util.compat.Action

  different functionality - do not use super.execute(), but call
  directly the methods you need.
     */
    public void execute() throws Exception {
  final EmbededTomcat et=this;
  jdk11Compat.doPrivileged( new Action() {
    public Object run() throws Exception {
        et.execute1();
        return null;
    }
      }, jdk11Compat.getAccessControlContext());
View Full Code Here

Examples of org.apache.wicket.authorization.Action

   * @throws Exception
   */
  public void testAdd1() throws Exception
  {
    ActionPermissions permissions = new ActionPermissions();
    Action mambo = new Action("mambo");
    permissions.authorize(mambo, new Roles("jonathan"));
    permissions.authorize(mambo, new Roles("johan"));
    permissions.authorize(mambo, new Roles("maurice"));
    permissions.authorize(mambo, new Roles("eelco"));
    assertEquals(4, permissions.rolesFor(mambo).size());
View Full Code Here

Examples of org.apache.ws.security.action.Action

                // Handle any "custom" actions, similarly,
                // but to preserve behavior from previous
                // versions, consume (but log) action lookup failures.
                //
            default:
                Action doit = null;
            try {
                doit = wssConfig.getAction(actionToDo);
            } catch (final WSSecurityException e) {
                log.warn(
                        "Error trying to locate a custom action (" + actionToDo + ")",
                        e
                );
            }
            if (doit != null) {
                doit.execute(this, actionToDo, doc, reqData);
            }
            }
        }
       
        /*
 
View Full Code Here

Examples of org.apache.wss4j.dom.action.Action

                // Handle any "custom" actions, similarly,
                // but to preserve behavior from previous
                // versions, consume (but LOG. action lookup failures.
                //
            default:
                Action doit = null;
            try {
                doit = wssConfig.getAction(actionToDo.getAction());
            } catch (final WSSecurityException e) {
                LOG.warn(
                        "Error trying to locate a custom action (" + actionToDo + ")",
                        e
                );
            }
            if (doit != null) {
                doit.execute(this, actionToDo.getActionToken(), doc, reqData);
            }
            }
        }
       
        /*
 
View Full Code Here

Examples of org.as.jtrello.actions.Action

public class ActionServiceTest extends GenericServiceTest {

  @Test
  public void testGet() {
    try {
      Action action = client.getActions().get(props.getProperty("TRELLO_ACTION1"));
      System.out.println("DEBUG action=" + action.toString());
    } catch (Exception e) {
      e.printStackTrace();
      fail();
    }
  }
View Full Code Here

Examples of org.atmosphere.cpr.Action

        }
       
        framework.setAsyncSupport(new NettyCometSupport(framework.getAtmosphereConfig()) {
            @Override
            public Action suspended(AtmosphereRequest request, AtmosphereResponse response) throws IOException, ServletException {
                Action a = super.suspended(request, response);
                if (framework.getAtmosphereConfig().isSupportSession()) {
                    AtmosphereResource r = request.resource();
                    HttpSession s = request.getSession(true);
                    if (s != null) {
                        sessions.put(r.uuid(), request.getSession(true));
View Full Code Here

Examples of org.atmosphere.cpr.AtmosphereServlet.Action

        String upgrade = req.getHeader("Connection");
        if (upgrade != null && upgrade.equalsIgnoreCase("Upgrade") && !supportWebSocket()) {
            res.setStatus(501);
            res.addHeader("X-Atmosphere-error","Websocket protocol not supported");
            res.flushBuffer();
            return new Action();
        }

        if (config.handlers().isEmpty()) {
            logger.error("No AtmosphereHandler found. Make sure you define it inside META-INF/atmosphere.xml");
            throw new ServletException("No AtmosphereHandler found. Make sure you define it inside META-INF/atmosphere.xml");
View Full Code Here

Examples of org.auraframework.instance.Action

     * @return the next id to use, the ordering must match exactly what is generated client side
     */
    private static String getNextGlobalId() {
        AuraContext context = Aura.getContextService().getCurrentContext();
        String num = Aura.getContextService().getCurrentContext().getNum();
        Action action = context.getCurrentAction();
        int id;
        String suffix;
        if (action != null) {
            id = action.getInstanceStack().getNextId();
            suffix = action.getId();
        } else {
            id = context.getNextId();
            suffix = num;
        }

View Full Code Here

Examples of org.beangle.struts2.convention.route.Action

        updated.add(newCategory);
      }
    }
    if (duplicatedNames.size() > 0) {
      addFlashErrorNow("dictionary.error.duplicateCategoryName", StrUtils.join(duplicatedNames,","));
      return forward(new Action(this, "categories"));
    } else {
      entityDao.save(updated);
      return redirect("categories", "info.save.success");
    }
  }
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.