Hi, Maybe this is a simple question, but here it goes. I'm trying to view the primary key in the edit mode and I'm doing (in generator.yml):
display: [num, titular_id, poblacio] but when I try to create a new entry, the num field (primary key) isn't there. I read the chapter 14 of the book (generators), but I found no other solution. I've to say that in list view this works ok. I've also take a look at the theme code, and found this: <?php foreach ($this->getPrimaryKey() as $pk): ?> [?php echo object_input_hidden_tag($<?php echo $this->getSingularName() ?>, 'get<?php echo $pk->getPhpName() ?>') ?] <?php endforeach; ?> So, the primary keys is always under a object_input_hidden_tag, and never displayed in the edit view? -- "Beware of bugs in the above code; I have only proved it correct, not tried it." Donald Knuth --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---