In such a case I'd go for manually creating the neccesary style or
script tag in your _form template.
A bit better version may be to call include_javascripts_for_form() and
include_stylesheets_for_form().

On Wed, Jan 27, 2010 at 22:36, Vincent UNG <[email protected]> wrote:
> Hi !!
>
> In my project, I have many _from that I have to view withou layout (I
> already set the $this->setLayout method at false), and I woul like to
> include a specific CSS and a specific JS file.
>
> I tried use_javascript('form') and use_stylesheet('form'), maybe I
> passed the wrong parameter...
> How can I do to include just one CSS file and one JS file (and not all
> the CSS file as include_stylesheets do)?
>
> Thanks for help ;)
> Bye !
>
> --
> You received this message because you are subscribed to the Google Groups 
> "symfony users" 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-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en.

Reply via email to