Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001246Jspresso CE[All Projects] Viewpublic2015-02-05 14:482015-02-05 14:48
Assigned Tovvandens 
PlatformOSOS Version
Product Version4.0 
Target VersionFixed in Version 
Summary0001246: Better AddEnhancedAddBeanAsSubModuleAction
DescriptionThe getBeanComponentDescriptor method should check that a projectedViewDescriptor is available in context, so it can use the view's model. This would allow Modules and subModules to have different model types

  protected IComponentDescriptor<?> getBeanComponentDescriptor(Module parentModule, Map<String, Object> context) {
    IViewDescriptor projectedViewDescriptor = context.get(AddBeanAsSubModuleAction.PROJECTED_VIEW_DESCRIPTOR);
    if(projectedViewDescriptor != null) {
      return projectedViewDescriptor.getModelDescriptor()
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-02-05 14:48 user140 New Issue
2015-02-05 14:48 user140 Status new => assigned
2015-02-05 14:48 user140 Assigned To => vvandens

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker