All talks > Talks tagged with view

 
General Symfony 2 discussion • Embedded Collection Forms - expected scalar, got class inst

Dear Symfony Friends,I am receiving this error:The form's view data is expected to be of type scala[...]

General Symfony 2 discussion • Embedded Collection Forms - expected scalar, got class inst

Dear Symfony Friends,I am receiving this error:The form's view data is expected to be of type scala[...]

General Symfony 2 discussion • Is it possible to render a view in a new tab?

Is it possible to render a view in a new tab? I mean, I would like to show a view with the function[...]

apache tiles 3 useAttribute

Since Apache Tiles version 3.x, the useAttribute tag is not available within tiles prefix in the UI. If you try to use it this tag as you could do in older version, you'll surely encounter following exception: No tag "useAttribute" defined in tag library imported with prefix "tiles" According [...]

dynamic attribute values with apache tiles

Many people ask the question: how to pass dynamic value to a child view (in other words, how to override a base value). Often this is used in html/head/title tag, since different pages should have different titles. What is sad, it's really difficult to find a good answer. The problem lies in t[...]

Integrating PHPUnit tests inside NetBeans IDE

You can use the NetBeans IDE to help you automate your tests. All should be done within the project properties. First, you need to have a NetBeans IDE including PHP support. You can find it here. Now, let's create a PHP project. Let's download a sample library from github: git clone https://[...]

symfony 1.3 and 1.4 • Executing another action+view from inside an action...

Hi,I am trying to get the inline content from another action and it's view from inside an action. T[...]

Unusual Php syntax in symfony2

I saw an interesting syntax in symfony 2.x and i am not sure how to call it and what type of variable it is. In the view, There is a helper variable called $view and it can be used in for many things and here is what i don't understand Sometimes it is used like an array: $view[[...]

structure application in symfony 2

I am building a online store with symfony 2.1. Basically I have frontend section from where users of my site can view, add items and backend section for admin users to manage the entire site. Frontend and backend section will have different template but the database models (Doctrin[...]

Symfony 2 Doctrime 2 and form validate ( unique field )

Hello I have small problem. I've never done form validator in sf2 so I don't know where I should start. I have one field 'username' and it is unique in database so how can I try it? My Code : -> ENTITY /** * @var string $nick_allegro * * @ORM\Column(name="nick_allegro", type[...]

 
 
 
 
Want to support this service?