[TYPO3-mvc] Fluid And array resulting with a blank page

Yann PETIT web at agencefmc.com
Wed Nov 10 17:51:01 CET 2010


Hello world,

I "try" to work with Extbase/Fluid/ExtjsMVC in front end.
I define my form items like this
_____________________________________________________________________
<test:fe.form.userform
    ....
    items="{
      nom : {
          xtype : 'textfield',
          field : 'nom',
      config : {
          fieldLabel : 'Nom',
          anchor : '70%'
       },
       configRaw : {
           allowBlank:'false'
       }
      },
      prenom : {
       xtype : 'textfield',
       field : 'prenom',
       config : {
        fieldLabel : 'Pr&eacute;nom',
        anchor : '70%'
   },
       configRaw : {
        allowBlank : 'false'
       }
  },
  adresse : {
       xtype : 'textarea',
       field : 'adresse',
      config : {
        fieldLabel : 'Adresse',
        anchor : '70%'
       }
      }
 }"
/>
__________________________________________________
This results in a blank page (no error etc)
If I delete spaces and tabulations to get something like this :
____________________________________________________________
items="{nom:{xtype:'textfield',field:'nom',config:{fieldLabel:'Nom',anchor:'70%'},configRaw:{allowBlank:'false'}},
 prenom:{xtype:'textfield',field:'prenom',config:{fieldLabel:'Pr&eacute;nom',anchor:'70%'},configRaw:{allowBlank:'false'}}, adresse:{xtype:'textarea',field:'adresse',config:{fieldLabel:'Adresse',anchor:'70%'}}}"_________________________________________________________________It works but quite less readable.If I delete the "adresse" field, keeping spaces and tabulations, it workstoo.Thanks in advance for your HelpExcuse my EnglishYann



More information about the TYPO3-project-typo3v4mvc mailing list