[TYPO3-project-formidable] How work the calls from userobj property?
Manuel Rego Casasnovas
mrego at igalia.com
Fri May 11 12:26:14 CEST 2007
Oh yes, I forgot this tag.
But the result is the same with this tag.
Thanks Jérémy,
Rego
--
http://www.igalia.com
El vie, 11-05-2007 a las 12:13 +0200, Jérémy Lecour escribió:
> In your second example, didn't you forget to wrap your param in a <param> tag ?
>
> You have this :
> <params>
> <name>var</name>
> <value>my_value</value>
> </params>
>
> You should have this :
> <params>
> <param>
> <name>var</name>
> <value>my_value</value>
> </param>
> </params>
>
> 2007/5/11, Manuel Rego Casasnovas <mrego at igalia.com>:
> > Hello everybody.
> >
> > I've been test differents places where I use userobj to call a function.
> >
> > First I use userobj inside renderlet data property, the next way:
> > <renderlet:LISTBOX name="list">
> > <data>
> > <userobj>
> > <extension>this</extension>
> > <method>_getList</method>
> > <params>
> > <param>
> > <name>var</name>
> > <value>my_value</value>
> > </param>
> > </params>
> > </userobj>
> > </data>
> > </renderlet:LISTBOX>
> >
> > In my function (_getList) I receive three params:
> > 1. An array with some information (I don't know what this information
> > means)
> > 2. An array with the params
> > 3. A tx_ameosformidable object
> >
> >
> > However when I call a personal function inside renderlet search/override
> > property:
> > <renderlet:TEXT name="text">
> > <search>
> > <overridesql>
> > <userobj>
> > <extension>this</extension>
> > <method>_getSQL</method>
> > <params>
> > <name>var</name>
> > <value>my_value</value>
> > </params>
> > </userobj>
> > </overridesql>
> > </search>
> > </renderlet:TEXT>
> >
> > In my function (_getSQL) I only receive two params:
> > 1. An array with some information
> > 2. A tx_ameosformidable object
> >
> > I don't receive the params.
> >
> >
> > What means the first param that I receive?
> > Somebody knows because exists that difference?
> >
> >
> > Best regards and thanks for your time ;-)
> > Rego
> >
> > ---
> > http://www.igalia.com
> >
> > _______________________________________________
> > TYPO3-project-formidable mailing list
> > TYPO3-project-formidable at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
> >
>
>
More information about the TYPO3-project-formidable
mailing list