Revision 2.0.272

Changelog

Revision: 272
Author: jschneiderameos
Date: 21:26:49, mardi 18 novembre 2008
Message:
api/class.mainrenderlet.php:
  -> corrected bug in getRawPostValue() when formid was given (ex: when using remote searchform)
----
Modified : /trunk/api/class.mainrenderlet.php
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_typoscript_setup.txt

Revision: 271
Author: jschneiderameos
Date: 18:32:54, mardi 18 novembre 2008
Message:
api/base/rdt_link/res/js/link.js:
  -> corrected getLabel(); a link has no label, returning always false
----
Modified : /trunk/api/base/rdt_link/res/js/link.js
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_typoscript_setup.txt

Revision: 270
Author: jschneiderameos
Date: 09:54:25, lundi 17 novembre 2008
Message:
All:
  -> corrected bugs on javascript submission with databridges
----
Modified : /trunk/api/class.mainrenderlet.php
Modified : /trunk/api/class.tx_ameosformidable.php
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_typoscript_setup.txt
Modified : /trunk/res/jsfwk/framework.js
Modified : /trunk/res/jsfwk/minified/formidable.minified.js
Modified : /trunk/res/jsfwk/minified/formidable.minified.js.gz

Revision: 269
Author: jschneiderameos
Date: 22:52:40, vendredi 14 novembre 2008
Message:
rdt_lister/api/class.tx_rdtlister.php:
api/class.maindataset.php:
api/class.tx_ameosformidable.php:
  -> corrected session cleaning problem that led to oversized session data

----
Modified : /trunk/api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /trunk/api/class.maindataset.php
Modified : /trunk/api/class.maindatasource.php
Modified : /trunk/api/class.mainrenderlet.php
Modified : /trunk/api/class.tx_ameosformidable.php
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_typoscript_setup.txt

Revision: 268
Author: jschneiderameos
Date: 11:07:47, vendredi 14 novembre 2008
Message:
All:
  -> implemented a dataset collection on datasource instead of a single dataset, to handle multiple datasets in listers

api/class.tx_ameosformidable.php:
  -> added member $_aValidationErrorsByHtmlId = array(); used to hash the declared errors by rdt htmlid (because it includes the current rowuid in a lister)
  -> _validateGlobalValidators() and _validateGlobalValidatorsDraft(): methods were empty and are deleted now
  -> _validateElements(): renderlets that have an iterable ancestor will not be validated in the standard loop anymore
  -> _declareValidationError(): inserts the error message also in the _aValidationErrorsByHtmlId array

api/class.mainvalidator.php:
  -> error messages on required may now use relative userobjs

api/class.mainrenderlet.php:
  -> added member $aDataSetSignatures = array(); stores dataset signatures on rdt-absname
  -> added doBeforeIterationRender() and doAfterIterationRender(), called from the render() method when before and after rendering a lister row
  -> added _getElementHtmlIdWithoutFormId() method; returns the htmlid for the current renderlet, without prefixing by the formid
  -> added &getIterableAncestor() methods; returns the first iterable renderlet (typically LISTER) in the ancestors, if any, and FALSE if none
  -> added error checks on childs templating in renderChildsCompiled(); now Formidable triggers a mayday when a template is declared on a renderlet:BOX, but given path or subpart is invalid
  -> added isIterable() and isIterating() methods

api/class.maindatasource.php:
  -> replaced the single $oDataSet object by the $aODataSets collection, hashing datasets upon dataset signature, to allow multiple datasets handling per datasource (used by listers, for instance)
  -> now all the dataset procedures require a dataset signature to be given to work properly

api/class.maindataset.php:
  -> moved the getSignature() method from datasource to dataset

api/class.maindatahandler.php:
  -> method _isValid(): checks validity by htmlid, to work with lister iterations
  -> method _getListData(): error checks have been added
  -> method getRdtValue_submit_edition(): modified to navigate submitted data by htmlid to introduce rowuids in the path

rdt_lister/api/class.tx_rdtlister.php:
  -> added getCurRow() method

rdr_std/api/class.tx_rdrstd.php:
  -> uses tx_ameosformidable->_aValidationErrorsByHtmlId to display errors

ds_db/api/class.tx_dsdb.php:
  -> modified to use the new dataset collection of datasources
----
Modified : /trunk/api/base/ds_db/api/class.tx_dsdb.php
Modified : /trunk/api/base/rdr_std/api/class.tx_rdrstd.php
Modified : /trunk/api/base/rdt_box/api/class.tx_rdtbox.php
Modified : /trunk/api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /trunk/api/class.maindatahandler.php
Modified : /trunk/api/class.maindataset.php
Modified : /trunk/api/class.maindatasource.php
Modified : /trunk/api/class.mainrenderlet.php
Modified : /trunk/api/class.mainvalidator.php
Modified : /trunk/api/class.tx_ameosformidable.php
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_typoscript_setup.txt

Revision: 267
Author: jschneiderameos
Date: 10:17:36, vendredi 7 novembre 2008
Message:
DO NOT USE THIS REVISION; EXPERIMENTAL work in progress

dh_db/api/class.tx_dhdb.php
  -> _processBeforeInsertion(), _processAfterInsertion(), _processBeforeCreation(), _processAfterCreation(), _processBeforeEdition(), _processAfterEdition() now may be local userobjs

api/class.tx_ameosformidable.php:
  -> parseTemplateMethodArgs(): now supports numeric arguments
  -> template method fixed_lgd_word() is now functioning
  -> template method fixed_lgd() is now charset aware, using t3lib_div::fixed_lgd_cs()

Added new progressbar renderlet; still experimental, do not use

Added the ability to bind a box to a datasource for reading/writing from/to it

    <datasource:DB name="my-page-ds-1" flow="sync" writable="true">
        <table>pages</table>
        <key>uid</key>
    </datasource:DB>

    <renderlet:BOX name="my-box-databound">
        <datasource use="ds-pages" key="196" globalSubmit="false" />
        <!-- ... -->
    </renderlet:BOX>

    <renderlet:BOX name="my-box-databound">
        <datasource use="ds-pages-2" key="new" globalSubmit="false" />
        <!-- ... -->
    </renderlet:BOX>
----
Modified : /trunk/api/base/dh_db/api/class.tx_dhdb.php
Modified : /trunk/api/base/dh_lister/api/class.tx_dhlister.php
Modified : /trunk/api/base/ds_db/api/class.tx_dsdb.php
Modified : /trunk/api/base/rdt_box/api/class.tx_rdtbox.php
Modified : /trunk/api/base/rdt_checkbox/res/js/checkbox.js
Modified : /trunk/api/base/rdt_chooser/api/class.tx_rdtchooser.php
Modified : /trunk/api/base/rdt_lister/api/class.tx_rdtlister.php
Added : /trunk/api/base/rdt_progressbar
Added : /trunk/api/base/rdt_progressbar/api
Added : /trunk/api/base/rdt_progressbar/api/class.tx_rdtprogressbar.php
Added : /trunk/api/base/rdt_progressbar/ext_emconf.php
Added : /trunk/api/base/rdt_progressbar/ext_icon.gif
Added : /trunk/api/base/rdt_progressbar/res
Added : /trunk/api/base/rdt_progressbar/res/js
Added : /trunk/api/base/rdt_progressbar/res/js/progressbar.js
Modified : /trunk/api/base/rdt_searchform/api/class.tx_rdtsearchform.php
Modified : /trunk/api/base/rdt_submit/api/class.tx_rdtsubmit.php
Modified : /trunk/api/class.maindatahandler.php
Added : /trunk/api/class.maindataset.php
Modified : /trunk/api/class.maindatasource.php
Modified : /trunk/api/class.mainobject.php
Modified : /trunk/api/class.mainrenderlet.php
Modified : /trunk/api/class.tx_ameosformidable.php
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_localconf.php
Modified : /trunk/ext_typoscript_setup.txt
Modified : /trunk/remote/formidableajax.php