[TYPO3-dev] alwaysActivePIDlist

Dmitry Dulepov dmitry at typo3.org
Mon Oct 23 14:25:37 CEST 2006


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.

Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)

More information about the TYPO3-dev mailing list