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

Examples of fr.openwide.core.wicket.markup.html.basic.CoreLabel


    add(new ListView<ProjectLicense>("licenses", licensesModel) {
      private static final long serialVersionUID = 1L;

      @Override
      protected void populateItem(ListItem<ProjectLicense> item) {
        item.add(new CoreLabel("licenseShortLabel", BindingModel.of(item.getModel(), Binding.projectLicense().shortLabel()))
            .hideIfEmpty());
       
        item.add(new Label("licenseLabel", BindingModel.of(item.getModel(), Binding.projectLicense().label())));

        item.add(new HideableExternalLink("licenseLink", BindingModel.of(item.getModel(), Binding.projectLicense().licenseUrl())));
View Full Code Here


  public ArtifactPomSearchResultsPanel(String id, final IModel<PomBean> pomBeanModel) {
    super(id);

    artifactsModel.setObject(Lists.<ArtifactBean>newArrayList());
   
    CoreLabel pomGroupId = new CoreLabel("pomGroupId", BindingModel.of(pomBeanModel, Binding.pomBean().groupId())).hideIfEmpty();
    CoreLabel pomArtifactId = new CoreLabel("pomArtifactId", BindingModel.of(pomBeanModel, Binding.pomBean().artifactId())).hideIfEmpty();
    EnclosureContainer pomIdEnclosure = new EnclosureContainer("pomIdEnclosure").components(pomGroupId, pomArtifactId);
    pomIdEnclosure.add(pomGroupId, pomArtifactId);
    add(pomIdEnclosure);
   
    addAlertContainer(pomBeanModel);
View Full Code Here

TOP

Related Classes of fr.openwide.core.wicket.markup.html.basic.CoreLabel

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.