Changeset 4208 for vlo/branches/to-wicket-1.6/vlo_web_app/src/main/java/eu/clarin/cmdi/vlo/VloPageParameters.java
- Timestamp:
- 12/20/13 10:03:18 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/branches/to-wicket-1.6/vlo_web_app/src/main/java/eu/clarin/cmdi/vlo/VloPageParameters.java
r4201 r4208 21 21 // needs to be here because of the other constructor 22 22 super (); 23 // add the theme parameter 24 // ... 23 25 } 24 26 … … 33 35 // needs to be implemented 34 36 37 // present the page parameters in the old style 38 35 39 param = null; 36 40 … … 39 43 40 44 /** 45 * Take in old style parameters. 46 * 47 * 48 * not being used at the moment; use code in the previous method 41 49 * 42 50 * @param param … … 61 69 62 70 /** 63 * Add this, VLO page parameters, to the parameters that are already64 * associated with the session65 71 * 72 * @param PersistentParameters parameters concerning theme and other 73 * non query related parameters. These parameters are to kept in the URL 74 * during the session. 66 75 */ 67 public void addToSession() {76 public void merge(PageParameters parameters) { 68 77 69 78 // get a themed session from the current thread … … 71 80 themedSession = (VloSession)Session.get(); 72 81 73 // store the parameters in the session object 74 themedSession.addVloSessionPageParameters (this); 82 // get the parameters associated with the session 83 PageParameters persistentParameters; 84 persistentParameters = themedSession.getVloSessionPageParameters(); 85 86 // merge the parameters with the persistent ones and return the result 87 88 // ... 89 75 90 } 76 91 }
Note: See TracChangeset
for help on using the changeset viewer.