Revision 154

Revision: 154
Author: jschneiderameos
Date: 18:25:04, vendredi 23 novembre 2007

Message:
dh_db/api/class.tx_dhdb.php:
  -> new methods tableName() and keyName() to access /tablename and /keyname xml config

ds_db/api/class.tx_dsdb.php:
  -> /sql can now return FALSE if datasource has to return no data

rdr_template/api/class.tx_rdrtemplate.php:
  -> implements specialized cleanBeforeSession() to empty $this->sTemplateHtml local cache

rdt_box/api/class.tx_rdtbox.php:
  -> implements specialized _searchable(); default TRUE if box has data, default FALSE if not

rdt_date/api/class.tx_rdtdate.php:
  -> new html channels in render(): value.timestamp & value.readable

rdt_i18n/api/class.tx_rdti18n.php:
  -> implements specialized cleanBeforeSession() to empty $this->oBindedForm local reference

rdt_img/api/class.tx_rdtimg.php:
  -> new /useMap property
  -> implements specialized _getAddInputParamsArray() to handle /useMap property

rdt_link/api/class.tx_rdtlink.php:
  -> implements specialized _getAddInputParamsArray() to handle /target property on links

rdt_lister/api/class.tx_rdtlister.php:
  -> /ifempty can now be a simple html string

rdt_searchform/api/class.tx_rdtsearchform.php:
  -> now obtains search criteria on all descendants of itself, even if they're in childs of childs of ...
  -> implements specialized _renderOnly(); default TRUE

rdt_submit/api/class.tx_rdtsubmit.php:
  -> implements specialized _searchable(); default FALSE

rdt_upload/api/class.tx_rdtupload.php:
  -> new html channel value.preview
  -> corrected bug in file handling
  -> new property /data/targetFile (path string, +userobj); if /data/targetFile is defined, file will be uploaded to this file path, no matter name of original file; forces to overwrite target file if existing

api/class.maindatahandler.php:
  -> new aliases form many methods formerly prefixed with _ (underscore)

api/class.mainobject.php:
  -> defines new method cleanBeforeSession(); called by formidable on objects when serializing form for session, to reuse it in ajax context

api/class.mainrenderlet.php:
  -> new property $oRdtParent; reference to parent renderlet if current renderlet is a child
  -> new method isChildOf($sRdtName); returns TRUE if renderlet is direct child of the renderlet whose name is given, FALSE if not
  -> new method isDescendantOf($sRdtName); returns TRUE if renderlet is descendant (directly or indirectly) of the renderlet whose name is given, FALSE if not
  -> new method majixReplaceLabel($sLabel); replaces label in frontend; works if <label>-tag is used (.label.tag html channel)
  -> new method majixFocus(); sets focus to renderlet
  -> implements serialized method cleanBeforeSession() to empty local reference to parent renderlet $this->oRdtParent

api/class.tx_ameosformidable.php:
  -> unsetRenderlet(): now also unsets ajax onload events on renderlet if any
  -> new XPATH improvement; path can now include criterias between braces; ex: XPATH:elements/renderlet[name=box-input]/childs/renderlet[name=coords-tab]/childs/renderlet[name=logo-thumb]/imageconf/userobj
  -> XPATH can now also be used on includeXml directives to insert only the matching part of the XML in the current document; ex: <includeXml xPath="renderlet[type=CHOOSER, name=search_chooser]">EXT:my_ext/forms/my_big_config.xml</includeXml>
  -> new method getUserObjParams(); to be used in userobj's when parameters are needed; replaces old method using func_get_args()
  -> new method getListData() wrapping $this->oDataHandler->_getListData()
  -> new method cleanBeforeSession(); called by _storeFormInSession() to reduce un-needed references to objects before serializing the form object; now ajax execution is blazing fast !!
  -> unHibernate(): added reconstruction of references to oForm when un-hibernating formidable from session

remote/formidableajax.php:
  -> added reconstruction of references to formidable in datasource objects
  -> ajax response charset can now be defined per-event with <onXYZ runat="ajax" charset="latin1">[...]</onXYZ>; default charset is UTF-8
  -> ajax response charset can now be defined globally for xml with /meta/ajaxCharset; default is UTF-8

----
Modified : /api/base/dh_db/api/class.tx_dhdb.php
Modified : /api/base/ds_db/api/class.tx_dsdb.php
Modified : /api/base/rdr_std/api/class.tx_rdrstd.php
Modified : /api/base/rdr_template/api/class.tx_rdrtemplate.php
Modified : /api/base/rdt_box/api/class.tx_rdtbox.php
Modified : /api/base/rdt_date/api/class.tx_rdtdate.php
Modified : /api/base/rdt_i18n/api/class.tx_rdti18n.php
Modified : /api/base/rdt_img/api/class.tx_rdtimg.php
Modified : /api/base/rdt_link/api/class.tx_rdtlink.php
Modified : /api/base/rdt_listbox/api/class.tx_rdtlistbox.php
Modified : /api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /api/base/rdt_searchform/api/class.tx_rdtsearchform.php
Modified : /api/base/rdt_submit/api/class.tx_rdtsubmit.php
Modified : /api/base/rdt_upload/api/class.tx_rdtupload.php
Modified : /api/class.maindatahandler.php
Modified : /api/class.mainobject.php
Modified : /api/class.mainrenderer.php
Modified : /api/class.mainrenderlet.php
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt
Modified : /remote/formidableajax.php
Modified : /res/jsfwk/framework.js