Changeset 2811
- Timestamp:
- Oct 26, 2006, 12:05:23 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 60 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/clients/web/net/sf/basedb/clients/web/Base.java
r2776 r2811 180 180 181 181 /** 182 Same as: <code>getAndSetCurrentContext(sc, itemType, "", pageContext, defaultContext )</code>.183 @see #getAndSetCurrentContext(SessionControl, Item, String, PageContext, ItemContext )182 Same as: <code>getAndSetCurrentContext(sc, itemType, "", pageContext, defaultContext, false)</code>. 183 @see #getAndSetCurrentContext(SessionControl, Item, String, PageContext, ItemContext, boolean) 184 184 */ 185 185 public static ItemContext getAndSetCurrentContext(SessionControl sc, Item itemType, PageContext pageContext, ItemContext defaultContext) 186 186 { 187 return getAndSetCurrentContext(sc, itemType, "", pageContext, defaultContext); 187 return getAndSetCurrentContext(sc, itemType, "", pageContext, defaultContext, false); 188 } 189 190 /** 191 Same as: <code>getAndSetCurrentContext(sc, itemType, "", pageContext, defaultContext, resetTemporary)</code>. 192 @see #getAndSetCurrentContext(SessionControl, Item, String, PageContext, ItemContext, boolean) 193 */ 194 public static ItemContext getAndSetCurrentContext(SessionControl sc, Item itemType, PageContext pageContext, ItemContext defaultContext, boolean resetTemporary) 195 { 196 return getAndSetCurrentContext(sc, itemType, "", pageContext, defaultContext, resetTemporary); 197 } 198 199 /** 200 Same as: <code>getAndSetCurrentContext(sc, itemType, subContext, pageContext, defaultContext, false)</code>. 201 @see #getAndSetCurrentContext(SessionControl, Item, String, PageContext, ItemContext, boolean) 202 */ 203 public static ItemContext getAndSetCurrentContext(SessionControl sc, Item itemType, String subContext, PageContext pageContext, ItemContext defaultContext) 204 { 205 return getAndSetCurrentContext(sc, itemType, subContext, pageContext, defaultContext, false); 188 206 } 189 207 … … 306 324 @param defaultContext A default context to copy information from if a current context 307 325 doesn't exist 326 @param resetTemporary If information of temporary nature should be reset or not, for 327 example the 'exclude' filter which is only used in popup windows 308 328 */ 309 329 @SuppressWarnings("unchecked") 310 public static ItemContext getAndSetCurrentContext(SessionControl sc, Item itemType, String subContext, PageContext pageContext, ItemContext defaultContext )330 public static ItemContext getAndSetCurrentContext(SessionControl sc, Item itemType, String subContext, PageContext pageContext, ItemContext defaultContext, boolean resetTemporary) 311 331 { 312 332 ItemContext cc = sc.getCurrentContext(itemType, subContext, defaultContext); … … 323 343 extraValueContext = sc.getCurrentContext(Item.EXTRAVALUE, subContext); 324 344 } 325 345 346 if (resetTemporary) 347 { 348 // Clear the 'exclude' option 349 cc.removeObject("exclude"); 350 } 351 326 352 // Detect if active project has changed and then set the include option 327 353 int projectId = sc.getActiveProjectId(); -
trunk/www/admin/annotationtypecategories/index.jsp
r2753 r2811 86 86 { 87 87 // Display the list page without updating the current context 88 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );88 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 89 89 redirect = listPage; 90 90 } -
trunk/www/admin/annotationtypes/index.jsp
r2753 r2811 86 86 { 87 87 // Display the list page without updatinging the current context 88 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );88 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 89 89 redirect = listPage; 90 90 } -
trunk/www/admin/clients/help/index.jsp
r2753 r2811 77 77 { 78 78 // Display the list page without updatinging the current context 79 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );79 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 80 80 redirect = listPage; 81 81 } -
trunk/www/admin/clients/index.jsp
r2753 r2811 80 80 { 81 81 // Display the list page without updatinging the current context 82 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );82 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 83 83 redirect = listPage; 84 84 } -
trunk/www/admin/extravaluetypes/index.jsp
r2753 r2811 81 81 { 82 82 // Display the list page without updatinging the current context 83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 84 84 redirect = listPage; 85 85 } -
trunk/www/admin/filetypes/index.jsp
r2753 r2811 79 79 { 80 80 // Display the list page without updatinging the current context 81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 82 82 redirect = listPage; 83 83 } -
trunk/www/admin/groups/index.jsp
r2753 r2811 81 81 { 82 82 // Display the list page without updatinging the current context 83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 84 84 redirect = listPage; 85 85 } -
trunk/www/admin/hardware/index.jsp
r2753 r2811 81 81 { 82 82 // Display the list page without updatinging the current context 83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 84 84 redirect = listPage; 85 85 } -
trunk/www/admin/hardwaretypes/index.jsp
r2753 r2811 79 79 { 80 80 // Display the list page without updatinging the current context 81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 82 82 redirect = listPage; 83 83 } -
trunk/www/admin/jobagents/index.jsp
r2753 r2811 83 83 { 84 84 // Display the list page without updatinging the current context 85 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );85 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 86 86 redirect = listPage; 87 87 } -
trunk/www/admin/mimetypes/index.jsp
r2753 r2811 80 80 { 81 81 // Display the list page without updatinging the current context 82 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );82 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 83 83 redirect = listPage; 84 84 } -
trunk/www/admin/news/index.jsp
r2753 r2811 83 83 { 84 84 // Display the list page without updatinging the current context 85 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );85 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 86 86 redirect = listPage; 87 87 } -
trunk/www/admin/pluginconfigurations/index.jsp
r2753 r2811 82 82 { 83 83 // Display the list page without updatinging the current context 84 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );84 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 85 85 redirect = listPage; 86 86 } -
trunk/www/admin/plugindefinitions/index.jsp
r2802 r2811 86 86 { 87 87 // Display the list page without updatinging the current context 88 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );88 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 89 89 redirect = listPage; 90 90 } -
trunk/www/admin/plugintypes/index.jsp
r2753 r2811 79 79 { 80 80 // Display the list page without updatinging the current context 81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 82 82 redirect = listPage; 83 83 } -
trunk/www/admin/protocols/index.jsp
r2753 r2811 82 82 { 83 83 // Display the list page without updatinging the current context 84 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );84 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 85 85 redirect = listPage; 86 86 } -
trunk/www/admin/protocoltypes/index.jsp
r2753 r2811 79 79 { 80 80 // Display the list page without updatinging the current context 81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 82 82 redirect = listPage; 83 83 } -
trunk/www/admin/quota/index.jsp
r2753 r2811 82 82 { 83 83 // Display the list page without updatinging the current context 84 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );84 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 85 85 redirect = listPage; 86 86 } -
trunk/www/admin/quotatypes/index.jsp
r2753 r2811 79 79 { 80 80 // Display the list page without updatinging the current context 81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 82 82 redirect = listPage; 83 83 } -
trunk/www/admin/reportertypes/index.jsp
r2753 r2811 79 79 { 80 80 // Display the list page without updatinging the current context 81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 82 82 redirect = listPage; 83 83 } -
trunk/www/admin/roles/index.jsp
r2753 r2811 83 83 { 84 84 // Display the list page without updatinging the current context 85 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );85 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 86 86 redirect = listPage; 87 87 } -
trunk/www/admin/software/index.jsp
r2753 r2811 81 81 { 82 82 // Display the list page without updatinging the current context 83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 84 84 redirect = listPage; 85 85 } -
trunk/www/admin/softwaretypes/index.jsp
r2753 r2811 79 79 { 80 80 // Display the list page without updatinging the current context 81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );81 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 82 82 redirect = listPage; 83 83 } -
trunk/www/admin/users/index.jsp
r2753 r2811 84 84 { 85 85 // Display the list page without updatinging the current context 86 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );86 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 87 87 redirect = listPage; 88 88 } -
trunk/www/biomaterials/biosources/index.jsp
r2753 r2811 81 81 { 82 82 // Display the list page without updatinging the current context 83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 84 84 redirect = listPage; 85 85 } -
trunk/www/biomaterials/events/index.jsp
r2753 r2811 80 80 { 81 81 // Display the list page without updatinging the current context 82 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );82 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 83 83 redirect = listPage; 84 84 } -
trunk/www/biomaterials/extracts/index.jsp
r2753 r2811 84 84 { 85 85 // Display the list page without updatinging the current context 86 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );86 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 87 87 redirect = listPage; 88 88 } -
trunk/www/biomaterials/labeledextracts/index.jsp
r2753 r2811 85 85 { 86 86 // Display the list page without updatinging the current context 87 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );87 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 88 88 redirect = listPage; 89 89 } -
trunk/www/biomaterials/labels/index.jsp
r2753 r2811 81 81 { 82 82 // Display the list page without updatinging the current context 83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 84 84 redirect = listPage; 85 85 } -
trunk/www/biomaterials/samples/index.jsp
r2753 r2811 84 84 { 85 85 // Display the list page without updatinging the current context 86 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );86 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 87 87 redirect = listPage; 88 88 } -
trunk/www/filemanager/directories/index.jsp
r2753 r2811 80 80 { 81 81 // Display the list page without updating the current context 82 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );82 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 83 83 redirect = listPage; 84 84 } -
trunk/www/filemanager/files/index.jsp
r2753 r2811 88 88 { 89 89 // Display the list page without updating the current context 90 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );90 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 91 91 redirect = listPage; 92 92 } -
trunk/www/filemanager/index.jsp
r2753 r2811 56 56 { 57 57 // Display the list page without updatinging the current context 58 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );58 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 59 59 forward = "manager.jsp"; 60 60 } -
trunk/www/lims/arraybatches/index.jsp
r2753 r2811 84 84 { 85 85 // Display the list page without updatinging the current context 86 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );86 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 87 87 redirect = listPage; 88 88 } -
trunk/www/lims/arraydesigns/features/index.jsp
r2753 r2811 67 67 { 68 68 // Display the list page without updatinging the current context 69 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );69 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 70 70 redirect = listPage; 71 71 } -
trunk/www/lims/arraydesigns/index.jsp
r2753 r2811 85 85 { 86 86 // Display the list page without updatinging the current context 87 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );87 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 88 88 redirect = listPage; 89 89 } -
trunk/www/lims/arrayslides/index.jsp
r2753 r2811 85 85 { 86 86 // Display the list page without updatinging the current context 87 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );87 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 88 88 redirect = listPage; 89 89 } -
trunk/www/lims/geometries/index.jsp
r2753 r2811 80 80 { 81 81 // Display the list page without updatinging the current context 82 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );82 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 83 83 redirect = listPage; 84 84 } -
trunk/www/lims/platemappings/index.jsp
r2753 r2811 82 82 { 83 83 // Display the list page without updatinging the current context 84 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );84 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 85 85 redirect = listPage; 86 86 } -
trunk/www/lims/plates/events/index.jsp
r2753 r2811 80 80 { 81 81 // Display the list page without updatinging the current context 82 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );82 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 83 83 redirect = listPage; 84 84 } -
trunk/www/lims/plates/index.jsp
r2753 r2811 84 84 { 85 85 // Display the list page without updatinging the current context 86 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );86 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 87 87 redirect = listPage; 88 88 } -
trunk/www/lims/plates/wells/index.jsp
r2753 r2811 77 77 { 78 78 // Display the list page without updatinging the current context 79 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );79 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 80 80 redirect = listPage; 81 81 } -
trunk/www/lims/platetypes/eventtypes/index.jsp
r2753 r2811 78 78 { 79 79 // Display the list page without updatinging the current context 80 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );80 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 81 81 redirect = listPage; 82 82 } -
trunk/www/lims/platetypes/index.jsp
r2753 r2811 82 82 { 83 83 // Display the list page without updatinging the current context 84 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );84 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 85 85 redirect = listPage; 86 86 } -
trunk/www/my_base/messages/index.jsp
r2753 r2811 82 82 { 83 83 // Display the list page without updatinging the current context 84 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );84 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 85 85 redirect = listPage; 86 86 } -
trunk/www/my_base/projects/index.jsp
r2753 r2811 83 83 { 84 84 // Display the list page without updatinging the current context 85 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );85 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 86 86 redirect = listPage; 87 87 } -
trunk/www/views/experiments/bioassays/index.jsp
r2753 r2811 92 92 { 93 93 // Display the list page without updatinging the current context 94 ItemContext cc = Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );94 ItemContext cc = Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 95 95 redirect = listPage; 96 96 } -
trunk/www/views/experiments/bioassaysets/index.jsp
r2753 r2811 115 115 { 116 116 // Display the list page without updatinging the current context 117 ItemContext cc = Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );117 ItemContext cc = Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 118 118 if (transformationId != null) 119 119 { -
trunk/www/views/experiments/index.jsp
r2753 r2811 87 87 { 88 88 // Display the list page without updatinging the current context 89 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );89 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 90 90 redirect = listPage; 91 91 } -
trunk/www/views/formulas/index.jsp
r2753 r2811 85 85 { 86 86 // Display the list page without updatinging the current context 87 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );87 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 88 88 redirect = listPage; 89 89 } -
trunk/www/views/hybridizations/index.jsp
r2753 r2811 86 86 { 87 87 // Display the list page without updatinging the current context 88 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );88 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 89 89 redirect = listPage; 90 90 } -
trunk/www/views/jobs/index.jsp
r2753 r2811 81 81 { 82 82 // Display the list page without updatinging the current context 83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );83 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 84 84 redirect = listPage; 85 85 } -
trunk/www/views/rawbioassays/index.jsp
r2753 r2811 100 100 { 101 101 // Display the list page without updatinging the current context 102 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );102 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 103 103 redirect = listPage; 104 104 } -
trunk/www/views/reporterlists/index.jsp
r2753 r2811 89 89 { 90 90 // Display the list page without updatinging the current context 91 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );91 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 92 92 redirect = listPage; 93 93 } -
trunk/www/views/reporterlists/reporters/index.jsp
r2753 r2811 85 85 { 86 86 // Display the list page without updatinging the current context 87 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );87 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 88 88 redirect = listPage; 89 89 } -
trunk/www/views/reporters/index.jsp
r2753 r2811 78 78 { 79 79 // Display the list page without updatinging the current context 80 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );80 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 81 81 redirect = listPage; 82 82 } -
trunk/www/views/scans/images/index.jsp
r2753 r2811 78 78 { 79 79 // Display the list page without updatinging the current context 80 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );80 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 81 81 redirect = listPage; 82 82 } -
trunk/www/views/scans/index.jsp
r2753 r2811 84 84 { 85 85 // Display the list page without updatinging the current context 86 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );86 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 87 87 redirect = listPage; 88 88 } -
trunk/www/views/sessions/index.jsp
r2753 r2811 87 87 { 88 88 // Display the list page without updatinging the current context 89 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext );89 Base.getAndSetCurrentContext(sc, itemType, null, defaultContext, true); 90 90 redirect = listPage; 91 91 }
Note: See TracChangeset
for help on using the changeset viewer.