Ignore:
Timestamp:
03/06/14 09:37:16 (10 years ago)
Author:
Twan Goosen
Message:

added title and landing page link to record page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.0/vlo-web-app/src/main/java/eu/clarin/cmdi/vlo/wicket/components/SearchResultItemPanel.java

    r4622 r4625  
    2222import eu.clarin.cmdi.vlo.pojo.ResourceTypeCount;
    2323import eu.clarin.cmdi.vlo.service.ResourceTypeCountingService;
    24 import eu.clarin.cmdi.vlo.wicket.model.NullFallbackModel;
    2524import eu.clarin.cmdi.vlo.wicket.model.SolrFieldModel;
    26 import eu.clarin.cmdi.vlo.wicket.model.SolrFieldStringModel;
    2725import java.util.Locale;
    2826import org.apache.solr.common.SolrDocument;
     
    7674        // not passed to super
    7775        selectionModel.detach();
    78     }
    79 
    80     /**
    81      * Label that shows the content of a Solr field by its string value (using
    82      * {@link SolrFieldStringModel})
    83      */
    84     private static class SolrFieldLabel extends Label {
    85 
    86         public SolrFieldLabel(String id, IModel<SolrDocument> documentModel, String fieldName) {
    87             super(id, new SolrFieldStringModel(documentModel, fieldName));
    88         }
    89 
    90         public SolrFieldLabel(String id, IModel<SolrDocument> documentModel, String fieldName, String nullFallback) {
    91             super(id,
    92                     new NullFallbackModel(
    93                             new SolrFieldStringModel(documentModel, fieldName), nullFallback));
    94         }
    95 
    9676    }
    9777
Note: See TracChangeset for help on using the changeset viewer.