Package fr.openwide.core.wicket.more.markup.html.basic

Examples of fr.openwide.core.wicket.more.markup.html.basic.DateLabel


      @Override
      protected void populateItem(ListItem<Date> item) {
        Date day = item.getModelObject();
        Set<ArtifactVersionNotification> notifSet = DashboardNotificationListViewPanel.this.getModelObject().get(day);
       
        Label dayLabel = new DateLabel("day", Model.of(day), DatePattern.SHORT_DATE);
        if (notifSet == null) {
          dayLabel = new Label("day");
          notifSet = Sets.newHashSet();
        }
       
View Full Code Here


      private static final long serialVersionUID = 1L;

      @Override
      protected void populateItem(final ListItem<ProjectVersion> item) {
        item.add(new ArtifactVersionTagPanel("version", BindingModel.of(item.getModel(), Binding.projectVersion().version())));
        item.add(new DateLabel("lastUpdateDate", BindingModel.of(item.getModel(), Binding.projectVersion().lastUpdateDate()),
            DatePattern.SHORT_DATE));
       
        // Changelog link
        item.add(new HideableExternalLink("changelogLink",
            BindingModel.of(item.getModel(), Binding.projectVersion().additionalInformation().changelogUrl().url())));
View Full Code Here

    // Jumbotron
    //   >  Baseline
    add(new Label("baselineMainLabel", new StringResourceModel("home.baseline.main", new FollowingStatsModel()))
        .setEscapeModelStrings(false));
   
    add(new DateLabel("lastSyncDateLabel", Model.of(parameterService.getLastSynchronizationDate()), DatePattern.SHORT_DATE));
   
    // Statistics
    add(new StatisticsPanel("statistics"));
   
    // Trademarks
View Full Code Here

    add(new Label("fullName", BindingModel.of(userModel, Binding.user().fullName())));
   
    add(new BooleanIcon("active", BindingModel.of(userModel, Binding.user().active())));
   
    // Dates
    add(new DateLabel("creationDate", BindingModel.of(userModel, Binding.user().creationDate()),
        DatePattern.SHORT_DATETIME));
    add(new DateLabel("lastLoginDate", BindingModel.of(userModel, Binding.user().lastLoginDate()),
        DatePattern.SHORT_DATETIME));
    add(new DateLabel("lastUpdateDate", BindingModel.of(userModel, Binding.user().lastUpdateDate()),
        DatePattern.SHORT_DATETIME));
    add(new Label("locale", new AbstractReadOnlyModel<String>() {
      private static final long serialVersionUID = 1L;

      @Override
View Full Code Here

      private static final long serialVersionUID = 1L;

      @Override
      protected void populateItem(final ListItem<ArtifactVersion> item) {
        item.add(new ArtifactVersionTagPanel("version", BindingModel.of(item.getModel(), Binding.artifactVersion().version())));
        item.add(new DateLabel("lastUpdateDate", BindingModel.of(item.getModel(), Binding.artifactVersion().lastUpdateDate()),
            DatePattern.SHORT_DATE));
       
        // Version links
        item.add(new ArtifactVersionLinksPanel("links", item.getModel()));
       
View Full Code Here

TOP

Related Classes of fr.openwide.core.wicket.more.markup.html.basic.DateLabel

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.