Changeset 1744


Ignore:
Timestamp:
Jan 9, 2006, 4:07:17 PM (18 years ago)
Author:
Nicklas Nordborg
Message:

First prototype for manage contexts

Location:
trunk/www/common/context
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/common/context/index.jsp

    r1726 r1744  
    5454  message = "Preset saved";
    5555}
     56else if ("DeleteContext".equals(cmd))
     57{
     58  String name = Values.getStringOrNull(request.getParameter("name"));
     59  sc.deleteContext(itemType, name);
     60  redirect = "manage.jsp?ID=" + ID + "&item_type="+itemType.name();
     61}
     62else if ("LoadContext".equals(cmd))
     63{
     64  int contextId = Values.getInt(request.getParameter("context_id"));
     65  sc.loadContext(contextId);
     66  message = "Context loaded";
     67}
    5668
    5769if (forward != null)
Note: See TracChangeset for help on using the changeset viewer.