org.broadleafcommerce.openadmin.web.controller.entity
Class AdminBasicOperationsController
java.lang.Object
org.broadleafcommerce.common.web.controller.BroadleafAbstractController
org.broadleafcommerce.openadmin.web.controller.AdminAbstractController
org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicOperationsController
@Controller(value="blAdminBasicOperationsController")
public class AdminBasicOperationsController
- extends AdminAbstractController
The operations in this controller are actions that do not necessarily depend on a section key being present.
- Author:
- Andre Azzolini (apazzolini)
|
Method Summary |
String |
showSelectCollectionItem(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
Map<String,String> pathVars,
String owningClass,
String collectionField,
org.springframework.util.MultiValueMap<String,String> requestParams)
Shows the modal dialog that is used to select a "to-one" collection item. |
| Methods inherited from class org.broadleafcommerce.openadmin.web.controller.AdminAbstractController |
attachSectionSpecificInfo, extractDynamicFormFields, getAddEntityTypes, getBlankDynamicFieldTemplateForm, getBlankDynamicFieldTemplateForm, getClassNameForSection, getCollectionListGrid, getCollectionListGrid, getCriteria, getDefaultEntityType, getDynamicFieldTemplateForm, getDynamicForm, getMaxIndex, getSectionCrumbs, getSectionCustomCriteria, getSectionKey, getSectionPersistencePackageRequest, getSectionPersistencePackageRequest, getSortDirections, getSortPropertyNames, getStartIndex, setModelAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminBasicOperationsController
public AdminBasicOperationsController()
showSelectCollectionItem
@RequestMapping(value="/{owningClass:.*}/{collectionField:.*}/select",
method=GET)
public String showSelectCollectionItem(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@PathVariable
Map<String,String> pathVars,
@PathVariable(value="owningClass")
String owningClass,
@PathVariable(value="collectionField")
String collectionField,
@RequestParam
org.springframework.util.MultiValueMap<String,String> requestParams)
throws Exception
- Shows the modal dialog that is used to select a "to-one" collection item. For example, this could be used to show
a list of categories for the ManyToOne field "defaultCategory" in Product.
- Parameters:
request - response - model - pathVars - owningClass - collectionField -
- Returns:
- the return view path
- Throws:
Exception
Copyright © 2013. All Rights Reserved.