Task #274

Show feedback dialogs and validation errors from JSON responses

Added by Davide Principi about 10 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:06/24/2011
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:Phi

Description


Related issues

Related to Nethgui - Enhancement #314: Avoid NotificationArea overlaying CLOSED 07/13/2011

Associated revisions

Revision 8aedd040
Added by Davide Principi about 10 years ago

Refs #274. Added some CSS classes in server responses...

Revision 8b1bf9a1
Added by Davide Principi about 10 years ago

Refs #274. Sending full URL to client framework for notification dialog action-forms.

Revision 5ea79fef
Added by Davide Principi about 10 years ago

Refs #274 #12. Changed Validator API.

  • replaced getMessage() with getFailureInfo()
  • added string translation for regex validator
  • Xhtml renderer: changed access of getFullId() to "private"

Revision 5d7c3a6d
Added by Davide Principi about 10 years ago

Refs #274. New notification messages interface.

  • Pass an implementor of NethGui_Core_EventObserverInterface to signalEventFinally() instead of a callback routine.
  • Implemented that interface in Standard module, with an overridable procedure that returns the action list of the notification dialog
  • Defined a dialog "transient" when none of its action has any data (so it's rendered as a link instead of a FORM with buttons)

Revision ef4115c0
Added by Davide Principi about 10 years ago

Refs #274. Added ViewInterface::getControlName() method.

Revision 80dde081
Added by Davide Principi about 10 years ago

Refs #274: Prepared form data for actions in notification dialog boxes.

  • Added "Please wait..." message on server side (to translate it).
  • Redefined type flags in DialogBox class.

History

#1 Updated by Davide Principi about 10 years ago

  • Subject changed from Show feedback dialogs from JSON responses to Show feedback dialogs and validation errors from JSON responses

#2 Updated by Davide Principi about 10 years ago

  • Status changed from ON_DEV to CLOSED
  • % Done changed from 0 to 100

TODO: define an interaction pattern that avoids overlaying of the notification dialog boxes on the CurrentModule area.

Also available in: Atom PDF