[TYPO3-project-formidable] majixReplaceData on renderlet:DATE
Jerome Schneider
typo3dev at ameos.com
Wed Oct 22 11:09:29 CEST 2008
Hi Martin,
You're right, it's buggy
I just fixed this in SVN, rev 259
Thanks
Jerome
"Martin Claus" <mc.laus at gmx.de> a écrit dans le message de news:
mailman.46503.1224144435.4573.typo3-project-formidable at lists.netfielders.de...
> Hello List,
>
> I am using formidable 2.0.248 and coming across a problem with
> renderlet:DATE. First of all this renderlet does not response to a
> defaultvalue. You have to use value instead. The second and more serious
> problem is that this renderlet does not act correctly if
> majixReplaceData() is called on it. So this example does not work:
>
> <renderlet:DATE name="mydate">
> <data>
> <datetime format="The date is %m-%d-%Y %H:%M:%S" displaytime="true"/>
> </data>
> </renderlet:DATE>
> <renderlet:BUTTON name="changeDate">
> <onclick runat="ajax" cache="false">
> <userobj>
> <php><![CDATA[
> return $this->aORenderlets['mydate']->majixReplaceData(time());
> ]]></php>
> </userobj>
> </onclick>
> </renderlet:BUTTON>
>
> It also doesn't work if you use date() and/or majixSetValue() instead. So
> IMHO there is no way of setting the date of a renderlet date by majix.
>
> With kind regards,
>
> Martin
More information about the TYPO3-project-formidable
mailing list