Julien,

please use: sf-users list to this kind  of questions
http://groups.google.com/group/symfony-users?lnk=gschg

About method, see:
http://trac.symfony-project.com/browser/trunk/lib/helper/ObjectHelper.php?rev=1815#L108
and
http://trac.symfony-project.com/changeset/1815 ( criteria still clean)

Lucas

On 10/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> 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 ?
>
>
> >
>


-- 
Lucas Stephanou

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
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