Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052357
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] CoreminorN/A2023-05-04 19:112023-06-07 17:54
Reportergorka_gilView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052357: BaseFormKeypad: allow to call user actions from buttons

DescriptionRigth now it is possible to add new action buttons in the BaseFormKeypad, but it is not possible to call user-actions from them
Steps To ReproduceBaseFormKeypad acept actions but not actionsHandler, so it is not possible to specify actions there
Proposed SolutionCreate infraestructure in its base componente: BaseKeypad

that do a bit of interpretation of the actions, something like this:


const handleActionWithUserAction = (handleAction, processKey) => (
  action,
  payload
) => {
  if (typeof action === 'function') {
    action(payload);
  } else if (Registry.getRegisteredUserActionNames().includes(action)) {
    Registry.getUserAction(action).launch({ processKey });
  } else {
    handleAction(action, payload);
  }
};
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0150830)
hgbot (developer)
2023-06-06 16:46

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1129 [^]
(0150908)
hgbot (developer)
2023-06-07 17:54

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1879 [^]

- Issue History
Date Modified Username Field Change
2023-05-04 19:11 gorka_gil New Issue
2023-05-04 19:11 gorka_gil Assigned To => Triage Platform Base
2023-05-04 19:11 gorka_gil Triggers an Emergency Pack => No
2023-06-06 16:46 hgbot Note Added: 0150830
2023-06-07 17:54 hgbot Note Added: 0150908


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker