Changeset 3782
- Timestamp:
- Aug 23, 2010, 9:46:34 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/servlet/src/org/proteios/action/feature/ViewFeatureHits.java
r3781 r3782 47 47 48 48 /** 49 * The class will list hits that are associated with a feature 49 50 * 50 51 * @author fredrik, gregory … … 57 58 throws ActionException, InvalidParameterValue 58 59 { 59 60 Integer featureId; 60 61 Table tbl; 61 62 RowLayout layout; 62 63 Title title; 63 64 65 66 64 DbControl dc; 65 ItemFactory factory; 66 Feature feature; 67 List<Hit> hits; 67 68 68 69 featureId = getValidInteger(FormFactory.VID); … … 72 73 { 73 74 // Use ConfigureTableFactory2 to configure TableFactory2 74 setAttribute(ConfigureTableFactory2.VWRAPPERCLASS, Hit.class.getName()); 75 setAttribute(ConfigureTableFactory2.VDATACLASS, HitData.class.getName()); 76 setAttribute(ConfigureTableFactory2.VFORWARDTO, ViewFeatureHits.class.getName()); 75 setAttribute(ConfigureTableFactory2.VWRAPPERCLASS, Hit.class 76 .getName()); 77 setAttribute(ConfigureTableFactory2.VDATACLASS, HitData.class 78 .getName()); 79 setAttribute(ConfigureTableFactory2.VFORWARDTO, 80 ViewFeatureHits.class.getName()); 77 81 setAttribute(ConfigureTableFactory2.VONLYINPROJECT, true); 78 82 setAttribute(ConfigureTableFactory2.VUSEDEFAULT, false); 79 83 setForwardTo(ConfigureTableFactory2.class); 80 84 return; // Stop here 81 85 } 82 86 … … 87 91 hits.addAll(feature.getHits()); 88 92 89 93 // Use the preconfigured TableFactory2 to build a new table for us 90 94 getTableFactory2().setIterator(hits.iterator()); 91 95 tbl = getTableFactory2().build();
Note: See TracChangeset
for help on using the changeset viewer.