Revision 2.0.325

Changelog

Revision: 325
Author: jschneiderameos
Date: 18:06:07, jeudi 5 mars 2009

Message:
rdr_template/api/class.tx_rdrtemplate.php:
  -> new properties /errorTagWrap, /errorTagCompiledNoWrap and /errorTagCompiledNoBr; /errorTagWrap=string,wrap sets the tag-wrap that will be used by errors (in compiled string, and in errors.fieldname.tag; /errorTagCompiledNoWrap=boolean, default false, determines if Formidable has to wrap the errors or not; /errorTagCompiledNoBr=boolean, default true, determines if Formidable has to separate all the errors with <br/> tags; Thanks to Hauke Hain for implementation; see lists.netfielders.de/pipermail/typo3-project-formidable/2009-February/001480.html for more informations

rdt_lister/res/locallang/locallang.xml:
  -> german translation for the lister provided by Hauke Hain

api/class.mainrenderlet.php:
  -> method majixRepaint(): labels where disappearing when a renderlet was repaint; thanks to Dietmar Staab for reporting

api/class.tx_ameosformidable.php:
  -> method refineTS(): corrected the TS to Formidable conversion regarding codebehind and sandbox; thanks to Nikitin Sergey for reporting; see lists.netfielders.de/pipermail/typo3-project-formidable/2009-February/001498.html for more informations
----
Modified : /trunk/api/base/rdr_template/api/class.tx_rdrtemplate.php
Modified : /trunk/api/base/rdt_lister/res/locallang/locallang.xml
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: 324
Author: jschneiderameos
Date: 16:06:46, mercredi 4 mars 2009

Message:
All:
  -> method mayPost() is now called maySubmit()

rdt_searchform/api/class.tx_rdtsearchform.php:
  -> shouldUpdateCriteriasClassical() has been modified to allow the submission of searchform by other renderlets than just SUBMIT (with a submit event, for instance)

rdt_submit/api/class.tx_rdtsubmit.php:
  -> is now as a natural submitter in isNaturalSubmitter()
  -> tx_mainrenderlet::getSubmitMode() has moved to renderlet:SUBMIT, as it's the only one to deal with it

api/class.maindatahandler.php:
  -> _getSubmittedValue(): the returned value is not intval'd anymore, as the submit constants have been converted to text-string now
  -> added method getSubmitter(); returns the htmlid without formid returned by the javascript framework when the submit has been triggered by a javascript event; useful to determine which renderlet has submitted

api/class.mainobject.php:
  -> created alias methods unprefixed by "_" (underscore): isTrue(), isFalse(), isTrueVal(), isFalseVal(), defaultTrue(), defaultFalse(), defaultTrueMixed() and defaultFalseMixed()

api/class.mainrenderer.php:
  -> added new hidden field AMEOSFORMIDABLE_SUBMITTER in _wrapIntoForm(); holds the htmlid without formid of the renderlet that triggered the submit

api/class.mainrenderlet.php:
  -> method fetchServerEvents(): added new mayday error-check concerning server-events and checkpoints
  -> method hasSubmitted() has been completely rewritten; now every submit on every renderlet is handled by Formidable (while remaining accessible when the renderlet is a renderlet:SUBMIT)
  -> method getSubmitMode() has moved to renderlet:SUBMIT, as it was not needed anymore on other renderlets

api/class.tx_ameosformidable.php:
  -> AMEOSFORMIDABLE_EVENT_SUBMIT constants have been changed from integer values to string values
  -> call to fetchServerEvents() has been moved a bit earlier in the execution process to allow alteration of the datahandler using server events; now the earliest checkpoint reachable by a server event is after-init-renderlets

res/jsfwk/framework.js:
  -> submit constants have been changed from integer values to string values
  -> cleanSysFields() method handles the the new hidden sysfield AMEOSFORMIDABLE_SUBMITTER
  -> doSubmit() method has been modified to implement the new submission mecanism
  -> added new method Formidable.Classes.RdtBaseClass.isNaturalSubmitter() that informs the framework wheter a renderlet is a natural submitter or not

----
Modified : /trunk/api/base/rdt_chooser/api/class.tx_rdtchooser.php
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
Modified : /trunk/api/class.mainobject.php
Modified : /trunk/api/class.mainrenderer.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
Modified : /trunk/res/jsfwk/framework.js
Modified : /trunk/res/jsfwk/minified/formidable.minified.js
Modified : /trunk/res/jsfwk/minified/formidable.minified.js.gz