Examples of reset()


Examples of org.exoplatform.webui.form.UIFormStringInput.reset()

    }

    @Override
    public void reset() {
        UIFormStringInput passwordForm = getUIStringInput(PASSWORD);
        passwordForm.reset();
        UIFormStringInput newPasswordForm = getUIStringInput(NEW_PASSWORD);
        newPasswordForm.reset();
        UIFormStringInput confirmPasswordForm = getUIStringInput(CONFIRM_NEW_PASSWORD);
        confirmPasswordForm.reset();
    }
View Full Code Here

Examples of org.exoplatform.webui.organization.UIUserProfileInputSet.reset()

            UIAccountEditInputSet accountInput = uiUserInfo.getChild(UIAccountEditInputSet.class);
            UIUserProfileInputSet userProfile = uiUserInfo.getChild(UIUserProfileInputSet.class);
            uiUserInfo.setRenderSibling(UIListUsers.class);
            accountInput.reset();
            userProfile.reset();
            event.getRequestContext().setProcessRender(true);
        }
    }

    public static class BackActionListener extends EventListener<UIUserInfo> {
View Full Code Here

Examples of org.exoplatform.ws.frameworks.json.impl.JsonDefaultHandler.reset()

      assertEquals("William Shakespeare", book.getAuthor());
      assertTrue(book.isSendByPost());

      // ResourceBook2#m2()
      writer.reset();
      handler.reset();
      response = launcher.service("POST", "/", "", h, null, writer, null);
      assertEquals(200, response.getStatus());
      assertEquals("application/json", response.getContentType().toString());
      parser.parse(new ByteArrayInputStream(writer.getBody()), handler);
      book = ObjectBuilder.createObject(Book.class, handler.getJsonObject());
View Full Code Here

Examples of org.fudgemsg.mapping.FudgeSerializer.reset()

  public SecurityInfo(final ComparisonContext context, final Security security) {
    super(security);
    s_logger.debug("Extracting core information from {}", security);
    final FudgeSerializer serializer = context.getFudgeSerializer();
    serializer.reset();
    final FudgeMsg rawMsg = serializer.objectToFudgeMsg(security);
    s_logger.debug("Raw message = {}", rawMsg);
    final Iterator<FudgeField> itr = rawMsg.iterator();
    while (itr.hasNext()) {
      final FudgeField field = itr.next();
View Full Code Here

Examples of org.fusesource.hawtbuf.DataByteArrayOutputStream.reset()

            DataByteArrayOutputStream buffer = new DataByteArrayOutputStream(size);
            boolean forceToDisk = false;
            WriteCommand latest = null;

            // Write an empty batch control record.
            buffer.reset();
            buffer.writeInt(BATCH_CONTROL_RECORD_SIZE);
            buffer.writeByte(Location.BATCH_CONTROL_RECORD_TYPE);
            buffer.writeInt(0);
            buffer.write(BATCH_CONTROL_RECORD_MAGIC);
            buffer.writeLong(0);
View Full Code Here

Examples of org.fusesource.jansi.Ansi.reset()

                        && ad.getType() == org.locationtech.geogig.api.plumbing.diff.AttributeDiff.TYPE.MODIFIED
                        && !noGeom) {
                    GeometryAttributeDiff gd = (GeometryAttributeDiff) ad;
                    ansi.fg(YELLOW);
                    ansi.a(pd.getName()).a(": ");
                    ansi.reset();
                    String text = gd.getDiff().getDiffCoordsString();
                    for (int i = 0; i < text.length(); i++) {
                        if (text.charAt(i) == '(') {
                            ansi.fg(GREEN);
                            ansi.a(text.charAt(i));
View Full Code Here

Examples of org.g4studio.core.orm.xibatis.sqlmap.engine.scope.ErrorContext.reset()

      errorContext.setMoreInfo("Check the output parameters.");
      if (parameterObject != null) {
        postProcessParameterObject(statementScope, parameterObject, parameters);
      }

      errorContext.reset();
      sql.cleanup(statementScope);
      notifyListeners();
      return rows;
    } catch (SQLException e) {
      errorContext.setCause(e);
View Full Code Here

Examples of org.gatein.common.text.CharBuffer.reset()

                  {
                     log.debug("Could not decode parameter name " + tmp, e);
                  }

                  //
                  buffer.reset();
                  state = LOOKUP;
               }
               else if (c == '=')
               {
                  encodedName = buffer.asString();
View Full Code Here

Examples of org.gbcpainter.game.model.grid.Pipe.reset()

    pipe.setColored( new Point( 0, 1 ), false );
    assertFalse( pipe.isColoredAt( new Point( 0, 1 ) ) );
    assertTrue( pipe.isColoredAt( new Point( 0, 2 ) ) );

    pipe.reset();
    assertFalse( pipe.isColoredAt( new Point( 0, 2 ) ) );


    for (int i = 1; i < 10; i++) {
      pipe.setColored( new Point( 0, i ), true );
View Full Code Here

Examples of org.gbcpainter.game.model.grid.PipeImpl.reset()

    pipe.setColored( new Point( 0, 1 ), false );
    assertFalse( pipe.isColoredAt( new Point( 0, 1 ) ) );
    assertTrue( pipe.isColoredAt( new Point( 0, 2 ) ) );

    pipe.reset();
    assertFalse( pipe.isColoredAt( new Point( 0, 2 ) ) );


    for (int i = 1; i < 10; i++) {
      pipe.setColored( new Point( 0, i ), true );
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.