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

created a Label extension that reads field names from a resource bundle and shows these instead of the internal field names

File:
1 edited

Legend:

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

    r4632 r4635  
    4141            protected void populateItem(Item<DocumentField> item) {
    4242                final IModel<DocumentField> fieldModel = item.getModel();
    43                 item.add(new Label("fieldName", new PropertyModel(fieldModel, "fieldName")));
     43                item.add(new SolrFieldNameLabel("fieldName", new PropertyModel(fieldModel, "fieldName")));
    4444                item.add(new ListView("values", new PropertyModel(fieldModel, "values")) {
    4545
Note: See TracChangeset for help on using the changeset viewer.