Announcement Announcement Module
No announcement yet.
Table framework - sorting, context aware validation Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Table framework - sorting, context aware validation

    It is first cut for table sorting

    screenshoot :

    sort is 'type of order' asc (1^), then date desc (2 ) and then order ID asc (3^)

    It is possible for every column and every combination of columns

    Sorting do database and it is very quick - I try table sorting from RCP, but it is
    very slow for my table (>3000 rows) and work with only one column

    I try resolve problem with validation in search/filter mode and it is my idea :

    - add boolean (for instance doValidation) in ValidationFormModel with setter and getter (getter is optional)
    - add getter for formModel in SwingFormModel
    - ValidationModel#constraintViolated/constraintSatisfied work only if doValidation is true

    - from bussines model (form) I set doValidation when I want validation - I try this and it work

    screen without validation error in filter mode :
    - sort by type asc, name asc,date desc and order id asc,
    - filter with type with first character 0; order id,emp id,company id and type id are required, but no validation in filter mode;

    new row/update row do normal validation
    screen :

    It work with last RCP cvs and infonode 1.2.0

    Comments ?