Log message #137471

# At Username Text
# Aug 19th 2008, 06:50 kazhar 'SecondModel' => array('Champ' => 'valeur'),
# Aug 19th 2008, 06:50 kazhar 'Model' => array('Champ' => 'valeur'),
# Aug 19th 2008, 06:50 kazhar et tu aura $this->data = array(
# Aug 19th 2008, 06:50 kazhar et $this->hidden('SecondModel.Champ');
# Aug 19th 2008, 06:49 kazhar gerne $this->text('Modele.Champ');
# Aug 19th 2008, 06:49 kazhar bah tu le nomme avec un autre modèle
# Aug 19th 2008, 06:49 foxmask (dans la methode de mon controller)
# Aug 19th 2008, 06:49 kazhar oh
# Aug 19th 2008, 06:49 foxmask qui apparait pas dans le array this->data
# Aug 19th 2008, 06:49 foxmask c un champ hidden moi
# Aug 19th 2008, 06:49 kazhar en xhtml, tout paramètre doit avoir une valeur. Donc c'est readonly="readonly"
# Aug 19th 2008, 06:49 foxmask c pas ce que je veux ;)
# Aug 19th 2008, 06:48 kazhar en html, on mets readonly
# Aug 19th 2008, 06:48 kazhar http://www.htmlcodetutorial.com/forms/_INPUT_DISABLED.html
# Aug 19th 2008, 06:48 kazhar valide dans les input et textarea oui
# Aug 19th 2008, 06:48 foxmask mais readonly c un parm html ?
# Aug 19th 2008, 06:48 kazhar )
# Aug 19th 2008, 06:48 kazhar hello DrewProd
# Aug 19th 2008, 06:47 DrewProd bonjour kazhar :)
# Aug 19th 2008, 06:47 kazhar donc c'est $form->input('name', array('value' => 'valeur', 'readonly' => 'readonly'));
# Aug 19th 2008, 06:47 kazhar le second paramètre doit être un tableau qui prends les paramètres html
# Aug 19th 2008, 06:47 DrewProd ACTION doutait comme quoi
# Aug 19th 2008, 06:47 kazhar c'est pas type pour readonly
# Aug 19th 2008, 06:46 DrewProd c'est mon test.ctp pour hier :)
# Aug 19th 2008, 06:46 DrewProd echo $form->input('member_birth',array('label'=>'test','dateFormat'=>'DMY','type'=>'date'));
# Aug 19th 2008, 06:46 DrewProd regarde
# Aug 19th 2008, 06:46 DrewProd vi
# Aug 19th 2008, 06:46 foxmask vais voir si ca existe 'type'
# Aug 19th 2008, 06:46 foxmask j'ai fait echo $form->hidden('old_role_id',array('value'=>$membre['role_id']))
# Aug 19th 2008, 06:45 DrewProd ou un truc dans le genre ?
# Aug 19th 2008, 06:45 DrewProd $form->input('old_role_id',array('value'=>'xxx','typ'e=>'read-only'))
# Aug 19th 2008, 06:45 DrewProd et si tu spécifier le type ?
# Aug 19th 2008, 06:45 DrewProd hum
# Aug 19th 2008, 06:45 foxmask donc encore un truc bien gonflant entre le $form->create('MonModel') et un champ ajouter via $form->input qui n'est pas dans le model
# Aug 19th 2008, 06:44 foxmask 2) recreation avec les 3 champs (donc le nouveau role)
# Aug 19th 2008, 06:43 foxmask 1) delete du ole-old-id
# Aug 19th 2008, 06:43 foxmask donc j'attends de recup ce "old_role_id" pour faire :
# Aug 19th 2008, 06:43 foxmask mais moi je lui est fait un echo $form->input('old_role_id',array('value'=>'xxx'))
# Aug 19th 2008, 06:42 foxmask les 3 champ correspondant à mon model
# Aug 19th 2008, 06:42 foxmask j'ai els 3 champs ; pas polus
# Aug 19th 2008, 06:42 foxmask ne le montre pas