Content - News Menu - Ressources Menu - Sitemap - Share your code - Code library - Reference
Formidable is part of the TYPO3 Project and is supported by Ameos
Revision: 345
Author: jschneiderameos
Date: 15:58:09, lundi 30 mars 2009
Message:
new rdt_autocomplete+debug ticker
----
Added : /trunk/api/base/rdt_autocomplete
Added : /trunk/api/base/rdt_autocomplete/api
Added : /trunk/api/base/rdt_autocomplete/api/class.tx_rdtautocomplete.php
Added : /trunk/api/base/rdt_autocomplete/ext_emconf.php
Added : /trunk/api/base/rdt_autocomplete/ext_icon.gif
Added : /trunk/api/base/rdt_autocomplete/res
Added : /trunk/api/base/rdt_autocomplete/res/js
Added : /trunk/api/base/rdt_autocomplete/res/js/autocomplete.js
Revision: 344
Author: jschneiderameos
Date: 15:55:38, lundi 30 mars 2009
Message:
----
Deleted : /trunk/api/base/rdt_autocomplete
Revision: 343
Author: lzeca
Date: 15:06:36, lundi 30 mars 2009
Message:
rdt_ticker/api/class.tx_rdtticker.php:
-> solve the problem of /label property: in fact, it wasn't implemented
-> solve the following problem: if the /datasource is empty, then no error message will be displayed and an empty renderlet:ticker will be created.
rdt_ticker/res/js/ticker.js:
-> solve the styles bug: When you have a compound property like "list-style-type", then in JS, it is required to be converted in something like "listStyleType" to be understood.
rdt_autocomplete/api/class.tx_rdtautocomplete.php:
-> new: control used to list some choices, according to a specified configuration, to the user who's typing something into an input text control.
This control will generate an HTML compound by an input text and a div containing all the choices proposed to the one who's typing.
It will be required to specify a /datasource where the choices will be searched into and to render this control with the aid of /template and /childs options.
Properties:
-> /timeobserver: int: default 0.75: Time passed before the next execution of Ajax Request.
-> /searchtype: string: default inside: Type of search. Available choices are: begin, inside or end.
-> /searchonfields: string: List of field names, comma separated, where the search will be executed. These fields must match to the ones from /datasource.
-> /itemstyle: string: List of styles to be applied to each item from proposition list.
-> /itemclass: string: default ameosformidable-rdtautocomplete-item: Name of class applied to each item from proposition list.
-> /selecteditemclass: string: default selected: Name of class applied to the item when the mouse is over on.
-> /datasource: as usual
-> /datasource/limit: int : default 5 : Specify the max number of items to show.
-> /datasource/orderby: string : default tstamp : Specify the field used to sort the items.
-> /datasource/orderdir: string : default DESC : Specify the way how the items will be sorted: ASC or DESC.
-> /template: as usual, when we have a /datasource
-> /childs: as usual, like for any renderlet:BOX. It is used when we have a /datasource.
rdt_autocomplete/res/js/autocomplete.js:
-> new: JS used to:
- execute the AJAX request in order to obtain the list of choices
- position the list of choices near the input text
- show or hide this list of choices
----
Added : /trunk/api/base/rdt_autocomplete
Added : /trunk/api/base/rdt_autocomplete/api
Added : /trunk/api/base/rdt_autocomplete/api/class.tx_rdtautocomplete.php
Added : /trunk/api/base/rdt_autocomplete/ext_emconf.php
Added : /trunk/api/base/rdt_autocomplete/ext_icon.gif
Added : /trunk/api/base/rdt_autocomplete/res
Added : /trunk/api/base/rdt_autocomplete/res/js
Added : /trunk/api/base/rdt_autocomplete/res/js/autocomplete.js
Modified : /trunk/api/base/rdt_ticker/api/class.tx_rdtticker.php
Modified : /trunk/api/base/rdt_ticker/res/js/ticker.js
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_localconf.php
Modified : /trunk/ext_typoscript_setup.txt
Revision: 342
Author: jschneiderameos
Date: 14:45:39, lundi 30 mars 2009
Message:
api/class.maindatasource.php:
-> corrected bug in data mapping over databridges
----
Modified : /trunk/api/class.maindatasource.php
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_typoscript_setup.txt
Revision: 341
Author: jschneiderameos
Date: 11:51:13, lundi 30 mars 2009
Message:
ds_php/api/class.tx_dsphp.php:
-> setSyncData(): dataset data is now built by new method tx_maindataset->getDataSet()
api/class.maindataset.php:
-> new method getDataSet(), returning an array of data
api/class.maindatasource.php:
-> method dset_mapPathFloating() calls dset_mapPathAnchored()
-> method dset_mapPathAnchored(): if structure is not flexible, the mapping behaviour now checks if the dataset has a strong structure or not
api/class.mainrenderer.php:
-> method processHtmlBag(): if renderlet is readonly, a new template channel /readonly=TRUE is added to the HTML bag
api/class.mainrenderlet.php:
-> method dbridge_getCurrentDset() has become dbridge_getCurrentDsetObject()
-> new method dbridged_getCurrentDsetObject()
-> new method dbridge_getCurrentDset(); returns the data of the dataset
----
Modified : /trunk/api/base/ds_php/api/class.tx_dsphp.php
Modified : /trunk/api/class.maindatahandler.php
Modified : /trunk/api/class.maindataset.php
Modified : /trunk/api/class.maindatasource.php
Modified : /trunk/api/class.mainrenderer.php
Modified : /trunk/api/class.mainrenderlet.php
Revision: 340
Author: jschneiderameos
Date: 20:12:02, dimanche 29 mars 2009
Message:
All:
-> corrected bugs in the progressbar
----
Modified : /
Modified : /trunk/api/base/rdt_progressbar/api/class.tx_rdtprogressbar.php
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_typoscript_setup.txt
Revision: 339
Author: jschneiderameos
Date: 19:47:40, dimanche 29 mars 2009
Message:
rdt_accordion/api/class.rdt_accordion.php:
rdt_accordion/api/class.rdt_tabpanel.php:
-> specialized new method shouldAutoWrap(), default FALSE
rdt_progressbar/api/class.rdt_progressbar.php:
-> method initSteps(): class property has been renamed to className on each step, for javascript isses
-> specialized new method _getStyleArray() to add the width property
api/class.mainrenderlet.php:
-> new methods _getStyleArray() and buildStyleProp() to handle styles in a more flexible way
-> new method shouldAutoWrap(), default TRUE
----
Modified : /trunk/api/base/rdt_accordion/api/class.tx_rdtaccordion.php
Modified : /trunk/api/base/rdt_progressbar/api/class.tx_rdtprogressbar.php
Modified : /trunk/api/base/rdt_progressbar/res/js/progressbar.js
Modified : /trunk/api/base/rdt_tabpanel/api/class.tx_rdttabpanel.php
Modified : /trunk/api/class.mainrenderlet.php
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_typoscript_setup.txt
Revision: 338
Author: jschneiderameos
Date: 22:58:45, samedi 28 mars 2009
Message:
api/base/rdt_progressbar/api/class.tx_rdtprogressbar.php:
-> better, accessible progressbar
-> one may define steps using /steps/step
-> new properties /step/label, /step/class, /step/value
api/class.mainrenderlet.php:
-> new method _getClassesArray(); called by _getClasses(); returns an array of css classes
-> javascript side, renderlets now contain in config.error the encountered error if any, false if not
-> new majix method majixSetErrorStatus(); sets an error on the current renderlet
-> new majix method majixRemoveErrorStatus(); removes an error status, if any
res/jsfwk/framework.js:
-> new methods visibleLabel(), hiddenLabel(), setErrorStatus() and removeErrorStatus()
----
Modified : /trunk/api/base/rdt_progressbar/api/class.tx_rdtprogressbar.php
Modified : /trunk/api/base/rdt_progressbar/res/js/progressbar.js
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
Revision: 337
Author: jschneiderameos
Date: 23:57:59, vendredi 27 mars 2009
Message:
api/class.mainrenderer.php:
-> added an error channel to every renderlet that has thrown an error
api/class.mainrenderlet.php:
-> getClass() method is now called getClasses()
-> Formidable now adds two css classes on every label and renderlet that has thrown an error: hasError and hasError{Errorname}
-> hasError() becomes hasDeepError()
-> new method hasError(), that only evaluates if the current renderlet has thrown an error (and not it's dependancies)
-> new method getError() that returns an array containing information about the errors if any, FALSE otherwise
----
Modified : /trunk/api/base/act_stepper/api/class.tx_actstepper.php
Modified : /trunk/api/base/dh_lister/api/class.tx_dhlister.php
Modified : /trunk/api/base/dh_lister/ext_localconf.php
Modified : /trunk/api/base/rdr_be/api/class.tx_rdrbe.php
Modified : /trunk/api/base/rdt_i18n/api/class.tx_rdti18n.php
Modified : /trunk/api/base/rdt_listbox/api/class.tx_rdtlistbox.php
Modified : /trunk/api/base/rdt_modalbox/api/class.tx_rdtmodalbox.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
Revision: 336
Author: jschneiderameos
Date: 16:33:06, vendredi 27 mars 2009
Message:
ds_db/api/class.tx_dsdb.php:
-> when writable, if key is not given, assuming "uid" by default
-> new /addSysFields property, default TRUE
rdt_template/api/class.rdt_template.php:
-> /template/subpart is now optional, using the whole template file if none given
-> /template/errortag is now optional, using errors if not set
api/class.mainrenderlet.php:
-> when rdt is a databridge and /datasource/key not provided, assuming "new" by default
-> new method getLabel(); now if a /meta/defaultLLL is set and no label is set on the renderlet, Formidable will look inside the locallang for the '{absname}.label' key inside the LL file
-> /childs/autoWrap is now TRUE by default
api/class.mainvalidator.php:
-> validator:STANDARD now supports the 'unique' constraint; works also with databridges
api/class.tx_ameosformidable.php:
-> added the includeCss() template method
-> corrected a bug in _navConf(); now one can ask for the root "/" of the configuration array
-> LL automap for error messages on '{absname}.error.{errorname}' inside the defaultLLL file
-> actionlets may now also be defined in /control directly
-> validators may now be defined in the root of the renderlet directly
----
Modified : /trunk/api/base/ds_db/api/class.tx_dsdb.php
Modified : /trunk/api/base/rdr_template/api/class.tx_rdrtemplate.php
Modified : /trunk/api/base/rdt_button/api/class.tx_rdtbutton.php
Modified : /trunk/api/base/rdt_captcha/api/class.tx_rdtcaptcha.php
Modified : /trunk/api/base/rdt_checkbox/api/class.tx_rdtcheckbox.php
Modified : /trunk/api/base/rdt_checksingle/api/class.tx_rdtchecksingle.php
Modified : /trunk/api/base/rdt_chooser/api/class.tx_rdtchooser.php
Modified : /trunk/api/base/rdt_date/api/class.tx_rdtdate.php
Modified : /trunk/api/base/rdt_dewplayer/api/class.tx_rdtdewplayer.php
Modified : /trunk/api/base/rdt_file/api/class.tx_rdtfile.php
Modified : /trunk/api/base/rdt_img/api/class.tx_rdtimg.php
Modified : /trunk/api/base/rdt_link/api/class.tx_rdtlink.php
Modified : /trunk/api/base/rdt_listbox/api/class.tx_rdtlistbox.php
Modified : /trunk/api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /trunk/api/base/rdt_pwd/api/class.tx_rdtpwd.php
Modified : /trunk/api/base/rdt_radio/api/class.tx_rdtradio.php
Modified : /trunk/api/base/rdt_submit/api/class.tx_rdtsubmit.php
Modified : /trunk/api/base/rdt_swfupload/api/class.tx_rdtswfupload.php
Modified : /trunk/api/base/rdt_tab/api/class.tx_rdttab.php
Modified : /trunk/api/base/rdt_tabpanel/api/class.tx_rdttabpanel.php
Modified : /trunk/api/base/rdt_text/api/class.tx_rdttext.php
Modified : /trunk/api/base/rdt_tinymce/api/class.tx_rdttinymce.php
Modified : /trunk/api/base/rdt_txtarea/api/class.tx_rdttxtarea.php
Modified : /trunk/api/base/rdt_upload/api/class.tx_rdtupload.php
Modified : /trunk/api/base/rdt_url/api/class.tx_rdturl.php
Modified : /trunk/api/base/va_db/api/class.tx_vadb.php
Modified : /trunk/api/class.mainrenderer.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: 335
Author: jschneiderameos
Date: 14:41:57, jeudi 26 mars 2009
Message:
ds_db/api/class.tx_dsdb.php:
ds_php/api/class.tx_dsphp.php:
api/class.maindatasource.php:
-> initFlowSync() is renamed to initDataSet()
-> refactored a bit the datasource concept;
-> the "flow" property has been discarded; now for a datasource to act as syncflowed, it just has to be used in a non iterating renderlet (like renderlet:BOX)
api/class.tx_ameosformidable.php:
-> datasources may now be declared directly in /control (no need to wrap it in a <datasources> tag anymore)
-> the Basic FML file has been updated
ds_contentrepository/
-> added a new datasource having the ability to get and set objects inside the Persistence Object Storage that comes with ext_base
-> use it like this:
<datasource:CONTENTREPOSITORY name="ds-be_users-edit" writable="true">
<repository<br /> classFile="EXT:myext/mvc/class.be_usersRepository.php"
className="be_usersRepository"
/>
<aggregate<br /> classFile="EXT:myext/mvc/class.be_users.php"
className="be_users"
/>
</datasource:CONTENTREPOSITORY>
And the php files:
class be_users extends TX_EXTBASE_DomainObject_AbstractDomainObject {
var $uid = null;
var $username = null;
var $email = null;
var $realname = null;
var $dbMountpoints = null;
var $usergroup = null;
}
class be_usersRepository extends TX_EXTBASE_Persistence_Repository {
}
----
Added : /trunk/api/base/ds_contentrepository
Added : /trunk/api/base/ds_contentrepository/api
Added : /trunk/api/base/ds_contentrepository/api/class.tx_dscontentrepository.php
Added : /trunk/api/base/ds_contentrepository/ext_emconf.php
Added : /trunk/api/base/ds_contentrepository/ext_icon.gif
Modified : /trunk/api/base/ds_db/api/class.tx_dsdb.php
Modified : /trunk/api/base/ds_php/api/class.tx_dsphp.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_localconf.php
Modified : /trunk/ext_typoscript_setup.txt
Revision: 334
Author: jschneiderameos
Date: 23:53:33, mercredi 18 mars 2009
Message:
ds_db/api/class.tx_dsdb.php:
-> specialized dset_hasFlexibleStructure(); returns always FALSE as for a DB-table, the dataset structure may not expand / is not flexible (unlike a flexform)
ds_php/api/class.tx_dsphp.php:
-> modified method setSyncData(), now returning also the "mode" of the dataset (create / update)
-> dset_hasStrongStructure() is replaced by dset_hasFlexibleStructure(), and moved to the maindatasource class
api/class.maindatahandler.php:
-> getRdtValue_noSubmit_edit(): now uses tx_mainrenderlet->dbridged_mapPath() for better field mapping
api/class.maindatahandler.php:
-> modified method dset_mapPathAnchored() to make it's algorithm a bit clearer
-> added method dset_hasFlexibleStructure(); returns boolean, default FALSE; maps the /flexibleStructure property on the datasource
api/class.mainrenderlet.php:
-> dbridge_getSignature() has been renamed to dbridge_getPostedSignature(), as it only returns the posted signature for the current databridge, if posted
-> new method dbridged_getNameRelativeToDbridge(); returns the name of the current databridged renderlet, relatively to it's databridge
-> improved unsetRdt(); now also removes the reference of the renderlet in it's databridge's $aDataBridged collection
-> new method dbridge_mapPath(); the algorithm applied is this one: first, see if the renderlet explicitely sets a data-mapping in the dataset using the /map property; then, see if a mapping has been set in the databridge-level /mapping property; and finally, trying the automapping feature (handled by datasource->dset_mapPath())
-> new method dbridged_mapPath(); calls the dbridge_mapPath() method on the current databridge
-> new method dbridge_getMapping(); corresponds to the /datasource/mapping property set on the databridge; expects an array formatted like this: array(array("rdt" => "rdtname", "data" => "fieldindataset"), ...)
-> new method dbridge_edition(); returns TRUE if the databridge in bound to dataset that is in edition mode
-> new method dbridged_edition(); returns TRUE if the databridge attached to the current renderlet is bound to a dataset that is in edition mode; wrapper for $this->oDataBridge->dbridge_edition()
-> new methods dbridge_getCurrentDsetSignature(), dbridged_getCurrentDsetSignature(), dbridge_getCurrentDset() and dbridged_getCurrentDset()
----
Modified : /trunk/api/base/ds_db/api/class.tx_dsdb.php
Modified : /trunk/api/base/ds_php/api/class.tx_dsphp.php
Modified : /trunk/api/base/rdt_box/api/class.tx_rdtbox.php
Modified : /trunk/api/class.maindatahandler.php
Modified : /trunk/api/class.maindatasource.php
Modified : /trunk/api/class.mainrenderlet.php
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_typoscript_setup.txt
Revision: 333
Author: jschneiderameos
Date: 22:38:54, mardi 17 mars 2009
Message:
dh_raw/api/class.tx_dhraw.php:
-> modernized a bit; may now execute codeBehinds as well
rdt_checksingle/api/class.tx_rdtchecksingle.php:
-> specialized method _emptyFormValue() to allow checksingle to be evaluated correctly by the validator:STANDARD required
api/class.mainrenderlet.php:
-> new method hasErrors(); returns TRUE if renderlet (or one of it's childs) holds an error, FALSE if not
api/class.mainvalidator.php:
-> added mayday check on /sameas if given renderlet does not exists withing the application
api/class.tx_ameosformidable.php:
-> added new member var aCB holding references to instanciated php-codebehind objects
-> new template method hasErrors()
----
Modified : /trunk/api/base/dh_raw/api/class.tx_dhraw.php
Modified : /trunk/api/base/rdt_checksingle/api/class.tx_rdtchecksingle.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: 332
Author: lzeca
Date: 16:19:34, vendredi 13 mars 2009
Message:
Forgot to increment the version of ameos_formidable.
----
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_typoscript_setup.txt
Revision: 331
Author: lzeca
Date: 16:13:20, vendredi 13 mars 2009
Message:
rdt_ticker/api/class.tx_rdtticker.php:
-> new property /scrolling/overflow: string : default hidden : Allows you to debug the ticker when you are design it. The available values are: hidden and visible.
rdt_ticker/res/js/ticker.js:
-> implement the property /scrolling/overflow
-> solve the following bug: When you are setting up a padding bottom for the ticker, we didn't see it.
----
Modified : /trunk/api/base/rdt_ticker/api/class.tx_rdtticker.php
Modified : /trunk/api/base/rdt_ticker/res/js/ticker.js
Revision: 330
Author: jschneiderameos
Date: 23:24:08, jeudi 12 mars 2009
Message:
rdt_lister/api/class.tx_rdtlister.php:
-> _renderList_displaySortHeaders(): may now substitute LLL labels in the SORT headers subparts
----
Modified : /trunk/api/base/rdt_lister/api/class.tx_rdtlister.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: 329
Author: jschneiderameos
Date: 22:57:58, jeudi 12 mars 2009
Message:
api/class.tx_ameosformidable.php:
-> new property /meta/inlinescripts=boolean, default false; if true, all generated scripts will be inserted directly in the HTML page
api/class.mainrenderlet.php:
-> new property /labelClass on every renderlet; sets a class on the label tag generated for renderlets
----
Modified : /trunk/api/class.jslayer.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
Revision: 328
Author: jschneiderameos
Date: 16:32:33, mercredi 11 mars 2009
Message:
api/class.tx_ameosformidable.php:
-> added new mechanism for handling headers added in ajax
-> new member $aHeadersAjax holding the ajax added headers for the current event execution, this array is filled during the event execution, passed to the browser via json, and then flushed
-> modified additionalHeaderData() to automatically populate $aHeadersAjax when executing an ajax event
remote/formidableajax.php:
-> method handleRequest() has been modified to handle the new tx_ameosformidable member var $aHeadersAjax
res/jsfwk/framework.js:
-> added executeAjaxAttachHeaders() method that dynamically loads the javascript files when needed by ajax events; this method is synchronous, so no problem of javascript being loaded to late can occur
----
Modified : /trunk/api/base/rdt_box/res/js/box.js
Modified : /trunk/api/base/rdt_captcha/res/js/captcha.js
Modified : /trunk/api/base/rdt_checkbox/res/js/checkbox.js
Modified : /trunk/api/base/rdt_date/res/lib/js_calendar/calendar.js
Modified : /trunk/api/base/rdt_listbox/res/js/listbox.js
Modified : /trunk/api/base/rdt_modalbox/res/js/modalbox.js
Modified : /trunk/api/base/rdt_radio/res/js/radio.js
Modified : /trunk/api/base/rdt_swfupload/res/js/swfupload.queue.js
Modified : /trunk/api/class.tx_ameosformidable.php
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_typoscript_setup.txt
Modified : /trunk/remote/formidableajax.php
Modified : /trunk/res/jsfwk/framework.js
Modified : /trunk/res/jsfwk/minified/formidable.minified.js
Modified : /trunk/res/jsfwk/minified/formidable.minified.js.gz