Coder Social home page Coder Social logo

svybase's Introduction

svyBase

THIS MODULE IS IN ALPHA AND IS EXPERIMENTAL. USE AT YOU OWN RISK.

The module is designed to provide easy-to-use Servoy base forms and related functionality for implementing data entry (create/update/delete - CRUD) forms for business applications.

svybase's People

Contributors

rossent avatar paronne avatar pruhsert avatar seanthomasdevlin avatar rvveen avatar

Watchers

James Cloos avatar Johan Compagner avatar  avatar Paul Bakker avatar  avatar mina avatar  avatar Tuan Nguyen avatar Danny Camargo avatar  avatar  avatar

svybase's Issues

onRecordSelectionHandler does not fire on child forms when no records available

There is an issue in the following circumstance:

  • master/detail-form-scenario
  • you're on a master-record that has some detail-records
  • then jump on a master-record that has no detail-records
    => onRecordSelectionHandler and updateUI doesn't fire on the child-form! But these events should also fire here!

This happens in "svyBaseCRUD" on line 1321 and following. In this case the variable "fireHandler" stays null and because of that "applySuper('onRecordSelectionHandler'...)" will not be executed.

I18n

Strings / Messages should be i18n, please.

Save-Issue in parent-child-situation when deleting a record on child form

Hi

We have the following issue:

Our settings:

policy.setBatchScopePolicy(scopes.svyCRUDManager.BATCH_SCOPE_POLICY.ALL);
policy.setRecordLockingPolicy(scopes.svyCRUDManager.RECORD_LOCKING_POLICY.NONE)
policy.setValidationPolicy(scopes.svyCRUDManager.VALIDATION_POLICY.CONTINUOUS);
policy.setFormHidePolicy(scopes.svyCRUDManager.FORM_HIDE_POLICY.ALLOW_WHEN_EDITING);

As an addition for parent forms: policy.setRecordSelectionPolicy(scopes.svyCRUDManager.RECORD_SELECTION_POLICY.PREVENT_WHEN_EDITING);

and for child forms:
policy.setRecordSelectionPolicy(scopes.svyCRUDManager.RECORD_SELECTION_POLICY.ALLOW_WHEN_EDITING);

Situation: we have a parent form and a child form. Save of all records (parent and child forms) always happens on the parent form.

We do the following steps:

  • Add a new record on the parent form (don't save)
  • Add a new record on the child form (don't save)
  • Delete the record on the child form

This leads to the situation that the record on the parent form is saved (not in create-mode anymore)! The record is not stored in the database but it looks to the user as the record is stored, even if validation failed. So the user must reload the parent form data or delete the record in parent form.

Expectation: if the user deletes a record in the child form, the parent form must remain in its state!

Thanks in advance!

Best
Roland

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.