Tagged Questions
0
votes
0answers
17 views
New forms - embedding a collection of forms - Symfony2
I'm doing the same as explained here http://symfony.com/doc/current/cookbook/form/form_collections.html
but in my case a want to add new "tags" not manually with clicking on a link, but ...
0
votes
0answers
18 views
Changing content of a form with jQuery and ajax - Symfony2
I'm using Symfony 2.2 and Twig. I have Items and an edition link next to each of them:
Item 1 | edit
Item 2 | edit
...
The form for the edition is one and it's hidden with css and when you click on ...
0
votes
1answer
47 views
jEditable returns the old values
When I edit the editable field gets a old value instead the new edit value.
For example in the first time, when I write something the $('#criTitulo').val() returns "undefined"; I have to refresh the ...
0
votes
2answers
63 views
Execute an action before redirecting to the template in the confirm dialog
The first field is the title of critic, the second field is the content of critic. When I write something in the title field automatically creates the object Critic in the db. In this situation I have ...
0
votes
0answers
20 views
authentification wsse symfony2 and javascipt (phonegap)
in the fact to use authentication wsse with symfony2 via rest,i adopt to develop my client with phonegap ,I already develop an algorithm that generates the token in the server part, but every time I ...
1
vote
1answer
18 views
Pulling records from database to javascript by Symfony2 controller
Im trying to fetch categories list from my database and put it in my javascript code so i can use it later. But I've encountered problems with this task - after returning this list to javascript - ...
0
votes
1answer
36 views
POST 500 (Internal Server Error) when I use the JEditable plugin
I'm trying to use JEditable plugin in my Symfony2 application. PYS entity is a a films and TV shows entity; then I've got Usuario and Critica entities. I want to manage the user's critics with the ...
0
votes
1answer
19 views
Symfony2 Creating a dynamc link with database parameters
i got data from the database via $.ajax. But how can i create a link ?
this is my ajax call and the result works:
var $resultDepartment = $( '#resultDepartment' );
$.ajax({
type: ...
0
votes
1answer
20 views
Lifo Typeahead on new dom elements
I am building a Symfony2 app, and have a form with repeated form elements, where I am using Lifo's Typeahead extension.
https://github.com/lifo101/typeahead-bundle
It works great on form elements ...
2
votes
0answers
52 views
XSS Basic Understanding
I'm using Symfony2 / Twig / Doctrine
I'm looking at security on my site and in particular preventing XSS attacks, but I can't see what more I can do.
(1) Persistent:
I use Doctrine and always ...
-2
votes
1answer
41 views
use javascript return value in twig
I have dropdownlist that user can select one of it's option and then click a button to change a filed of that option in database
so i need a javascript return value to pass in a controller
for ...
0
votes
1answer
28 views
Symfony2: jQuery plugins working in Firefox but not in Chrome
TL;DR - jQuery plugins are working in Firefox but not in Chrome. Same page, same files, same everything.
So I've got this twig page that extends another one. In the parent page jquery is being called ...
0
votes
1answer
22 views
Making Word Clouds in TWIG with Symfony2
I want to create a Word Cloud (Tag Cloud) in a Symfony2 project on my homepage.
I figured it should be done in the TWIG that is rendered for my homepage by passing through to it the array containing ...
0
votes
0answers
24 views
Javascript Graphical Relations Symfony2
I have two entities in my symfony2 system, which are related in a 1:1 relationship, with null posible. What I want is a kind of graphical editor to "drag-and-drop" or "draw" these connections ...
0
votes
1answer
23 views
How to update the web profiler toolbar to show data about an ajax request
I am currently building an app that fully supports ajax page load. After an initial page load, navigating through the website only loads the content and not the header or the menu.
The whole app is ...