1. 01 Apr, 2016 2 commits
  2. 24 Mar, 2016 1 commit
    • Carsten  Rose's avatar
      Dynamic Update implemented · b31fb9eb
      Carsten Rose authored
      load.php: implemented
      FillStoreForm.php: implemented
      Store.php: phpunit test complains about 'store already filled'. Option set to explicitly allow rewrite.
      AbstractBuildForm.php: Added new mode 'FORM_UPDATE'. Elements additionaly create json code. 'data-load' attribute will be added to form elements, if 'dynamicUpdate=yes'
        elements(): added call by reference parameter $json, to return the generated json code.
      BodyTextParse.php: added 'r =' as a new 'start new line' indicator. This was necessary at least for phpunit tests to run.
      BuildFormBootstrap.php: buildPill() passes json data structure.
      BuildFormPlain, BuildFormTable.php: doSubrecords()  passes json data structure.
      Constants.php: New FORM_UPDATE, SQL_FORM_ELEMENT_SIMPLE_ALL_CONTAINER, ERROR_FORM_NOT_FOUND, API_FORM_UPDATE
      Evaluate.php: Exception text enhanced.
      QuickFormQuery.php: FillStoreForm.php included. Automatic detection of FORM_LOAD and FORM_SAVE removed. Instead the mode are given explicitly. mode=FORM_UPDATE implemented.
      Save.php: added TODOs in code.
      formEditor.sql: reformat code. Add 'FormElement.dynamicUpdate'. 'FormElemente.checkType': 'number' replaced by 'digit'. Added 'alnumx', 'digit'. Form 'form', 'formElement': output of 'title' replaced by 'name' - outputting 'title' confuses the user (tries to show records which do fit to the formEditor) and might produce recursion in evaluation (did not understand why, but happens). FormEditor: implemented 'dynamicUpdate', escpecially the 'type' select list will be adjusted dynamically.
      b31fb9eb
  3. 21 Mar, 2016 1 commit
  4. 25 Feb, 2016 2 commits
    • Carsten  Rose's avatar
      delete.php: Implemented simple delete by giving table and record ID (by SIP). · 88093a16
      Carsten Rose authored
      save.php: moved constants to Constants.php to reuse them in delete.php. Fixed bug by building error messages.
      Sip: extended queryStringToSip() by optional Parameter $scriptName.
      AbstractBuilForm: renamed formEditLink() to createFormEditUrl(). Changed createFormEditUrl() to only return the final URL, without HTML tags. Implemented createDeleteUrl().
      BuildFormBootstrap, BuildFormTable: rewrote code for using createFormEditLink(). Use of createDeleteUrl().
      Constants: defined SIP_TABLE, API_*
      QuickFormQuery: reformat Code
      88093a16
    • Carsten  Rose's avatar
      AbstractBuildForm: Fixed broken href in formEditLink().Added some phpdoc. · 070368ce
      Carsten Rose authored
      BuildFormTable: Added formEditLink
      Constants: changed: pageId > id, pageType > type, pageLanguage > L
      070368ce
  5. 24 Feb, 2016 1 commit
    • Carsten  Rose's avatar
      OnArray: Add htmlEntititesOnArray() · 8d94dd02
      Carsten Rose authored
      Support: moved wrapTag() from to Support. Add appendTooltip()
      AbstractBuildForm, BuildFormBootstrap BuildFormPlain, BuildFormTable: implemented showDebugInfo. Moved wrapTag() to Support. Fixed Typo in word buildNewSip.
      8d94dd02
  6. 22 Feb, 2016 1 commit
  7. 09 Feb, 2016 1 commit
  8. 02 Feb, 2016 1 commit
    • Carsten  Rose's avatar
      AbstractBuildForm: parentRecords can now overwritten. Rewrite getActionUrl().... · 27bfba62
      Carsten Rose authored
      AbstractBuildForm: parentRecords can now overwritten. Rewrite getActionUrl(). Used new HelperFormElement::buildFormElementId(). Fixed error that textarea elements didn't displayed any value. Removed hidden element for checkboxes. Renamed buildHidden() to buildNativeHidden(). New buildHidden() which stores Hidden value in SIP (instead of transferring via form).
      BuiltForm*: moved SIP to POST element (builtNewSep() ).
      27bfba62
  9. 30 Jan, 2016 1 commit
  10. 27 Jan, 2016 1 commit
  11. 26 Jan, 2016 1 commit
  12. 25 Jan, 2016 2 commits