-
Type:
New Feature
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.5
-
Component/s: Layouts & Widgets
-
Backlog priority:400
add a configurable boolean property that makes it possible to switch the layout mode between edit and view modes + handle enclosing form
Needed properties:
- initialLayoutName + toggledLayoutName (toggled layout name defaults initial layout name if not filled)
- styleClass (div around the layout)
- toggle mode button label (defaults to 'Edit', translated when widget is translated)
- cancel toggle mode button label (defaults to 'Cancel', translated when widget is translated)
- hideDefaultActions: boolean to hide the default edit button
- additional actions category: to add custom actions on the toggled layout view
- buttons display, as in custom actions widget type (If set to 'buttons', actions will be displayed as command buttons. If set to 'links', actions will be displayed as command links. If set to 'icons', actions will be displayed as icons. Else (default behaviour), actions will be displayed as command links and display their icons when defined.)
- useAjaxForm (defaults to false)
- toggleEnabled: EL expression resolving to a boolean, defaults to "check permission WRITE on document"
+ boolean control on versioning and comment fields (see if this would be better to add them as widgets in the layout itself, note that commet field retrieval for audit logs may not be handled by automation chains => to check)
additional properties that should not be exposed right now:
- foldable (handled by the layout template directly)
- foldable bar class (same)
- initial mode (defaults to view) => do not expose in Studio right now
- toggled mode (defaults to edit) => same
- depends on
-
NXP-8898 Fix nxu:valueHolder state saving
-
- Resolved
-
-
NXP-7574 Add a JSF component that can keep and expose a value
-
- Resolved
-
-
NXP-7970 Improve the layout widget type mode setting
-
- Resolved
-
-
NXP-8913 Improve nxu:actionListenerMethod tag to handle actions
-
- Resolved
-
-
NXP-8917 Refresh the main feedback message zone on ajax actions
-
- Resolved
-
-
NXP-8965 Provide widget type for versioning on edit form
-
- Resolved
-
-
NXP-8966 Provide widget for comment on edit form
-
- Resolved
-
- is required by
-
NXS-774 Have a Layout widget that can be added in summary, and any tabs
-
- Resolved
-
-
NXS-817 Tab Designer
-
- Resolved
-
-
NXP-9664 Allow toggleable layout widget to display its own title (and edit button next to it)
-
- Resolved
-
-
NXP-9678 Show edit button in header when toggleable layout is in a foldable box
-
- Resolved
-