Hi,

Please ask these kind of question on the symfony-users mailing list
(http://groups.google.com/group/symfony-users).

This list is for the development of the symfony framework itself
rather than general questions about using symfony.

Regards,
[MA]Pascal

On Nov 10, 9:23 pm, Don_Busi <[email protected]> wrote:
> Hi,
>
> I have an entity that (among other properties) has a "startDate" and
> an "endDate" property. Now I created a form widget that graphically
> shows the date range specified by these two dates.
>
> In my Form class I added my new custom form widget.
>
>   public function configure()
>   {
>    ...
>     $this->setWidget('dateRange', new stgSeasonWidgetFormInput());
>    ...
>   }
>
> and in my Template (showSuccess.php) I display the widget.
>
> ...
> <?php echo $form['dateRange']; ?>
> ...
>
> How can I pass the two values (myObject->startDate & myObject-
>
> >endDate) into my custom widgets "render(...)"-function?
>
> Thanx a lot for you help in advance.
> Don_Busi
--~--~---------~--~----~------------~-------~--~----~
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