#711 closed (fixed)
Let the user show/hide fieldsets in a form
Reported by: | Gregory Vincic | Owned by: | Gregory Vincic |
---|---|---|---|
Milestone: | Proteios SE 2.14.0 | Keywords: | |
Cc: |
Description
This would be a way for developers to hide advanced fields by default.
Change History (7)
comment:1 Changed 12 years ago by
Status: | new → assigned |
---|
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 12 years ago by
comment:5 Changed 12 years ago by
comment:6 Changed 12 years ago by
Design update:
- The rule that the toggling feature is ignored for forms with only one field set makes sense in most cases, except when other GUI elements like
TitledWindow
also exist. In order to allow the show/hide toggle feature for a single field set when appropriate, classFieldset
will be updated with a new private instance variableBoolean singleFieldsetToggleAllowed
with public accessor methods. The default value ofsingleFieldsetToggleAllowed
will befalse
, and will therefore not change the appearance of forms if not specifically called for.
comment:7 Changed 12 years ago by
(In [4090]) Refs #711. Refs #668. Field set show/hide toggle updated to allow the feature for single field sets, if specifically called for:
- Class/file gui/form/Fieldset.java in client/servlet/ updated with new private instance variable
Boolean singleFieldsetToggleAllowed
with public accessor methods. The default value ofsingleFieldsetToggleAllowed
isfalse
, and will therefore not change the appearance of forms if not specifically called for.
- Class/file gui/web/GUIConverter.java in client/servlet/ updated in public method
Tag convert(org.proteios.gui.form.Form w)
to allow the show/hide toggle feature for a single field set, if value ofsingleFieldsetToggleAllowed
istrue
.
Note: See
TracTickets for help on using
tickets.
(In [3894]) Fixes #711. Use method fieldset.setOpen(false) to hide the fieldset.