[TYPO3-project-formidable] Lisbox in edition mode : how to make selected

Sanosuke303 sanosuke303 at yahoo.fr
Fri Jul 11 14:50:31 CEST 2008


> > then in edition mode, the one selected IS the on that
> is
> > stored.

The problem was here... the one selected is the first item,
not the stored item in the db... I don't want to
selected another item.

I test this simple example :
 <renderlet:LISTBOX name="myList"
 multiple="false">
 <activelistable>true</activelistable>
 	<data>
 		<items>
 			<item caption="H" value="h"/>
 			<item caption="I" value="i"/>
 			<item caption="J" value="j"/>
 			<item caption="K" value="k"/>
 		</items>
  		<defaultvalue>
 			<userobj>
 				<php><![CDATA[/*<?php*/
 			
 					return "k";
 			
 				/*?>*/]]></php>
 			</userobj>
 		</defaultvalue>
  	</data>
 </renderlet:LISTBOX>

The "K" item must me selected. This work perfectly in normal mode, but not in edition mode.

I hope that the problem is better explain.

Thank you for your help
 
Regards.


      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr


More information about the TYPO3-project-formidable mailing list