[TYPO3-dev] alwaysActivePIDlist
Steffen Kamper
steffen at dislabs.de
Mon Oct 23 16:07:42 CEST 2006
"Martin Kutschker" <martin.kutschker-n0spam at no5pam-blackbox.net> schrieb im
Newsbeitrag
news:mailman.1.1161610860.20934.typo3-dev at lists.netfielders.de...
> Dmitry Dulepov schrieb:
>> Hi!
>>
>> Steffen Kamper wrote:
>>> i know that it is list of integer but i didn't know that copiing from a
>>> textobject with Integerlist as value fail.
>>> I hoped that this was only cause my mistake.
>>
>> This is a common mistake :) You do not compy TEXT object, you copy its
>> definition! I.e. if you do:
>>
>> tmp.ipds = TEXT
>> tmp.pids.value = 1,2,3
>> hmenu.alwaysActivePIDlist < tmp.pids
>>
>> what you get is:
>>
>> hmenu.alwaysActivePIDlist = TEXT
>> hmenu.alwaysActivePIDlist.value = 1,2,3
>>
>> which is obviously wrong.
exactly !
>
> Maybe we could add a "value-copy" into TS. Or we could create a function
> for it:
>
> obj1.prop := objVal(obj2)
>
> Masi
good Idea - then it would be possible with each TS Var !
vg Steffen
More information about the TYPO3-dev
mailing list