Hi all,

This is an select_field generated by admin generator :

<div class="form-row">
  <?php echo label_for('adm_user_mo_xref[adm_company_id]',
__($labels['adm_user_mo_xref{adm_company_id}']), 'class="required" ') ?
>
  <div class="content<?php if ($sf_request-
>hasError('adm_user_mo_xref{adm_company_id}')): ?> form-error<?php
endif; ?>">
  <?php if ($sf_request-
>hasError('adm_user_mo_xref{adm_company_id}')): ?>
    <?php echo form_error('adm_user_mo_xref{adm_company_id}',
array('class' => 'form-error-msg')) ?>
  <?php endif; ?>

  <?php $value = object_select_tag($adm_user_mo_xref,
'getAdmCompanyId', 'peer_method=getNoLinkedAdmCompany' ,array (
  'related_class' => 'AdmCompany',
  'control_name' => 'adm_user_mo_xref[adm_company_id]',
)); echo $value ? $value : '&nbsp;' ?>
    </div>
</div>

I would like to pass attributes to my peer_method
"getNoLinkedAdmCompany" to filter my companies.

Is there an argument on object_seletec_tag to pass them ?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to symfony-devs@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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to