A partial is what it is, just a piece of code that appears where you called
it; you should have 1 .js file per action. Think about 4 partials for 1
action, it is better to have 1 js file to refer that action instead 4 js
pieces of code.
This is for sure an advice only ;)
2010/11/3 JoJo
Thank you Bernhard and Thank you Gareth!!! Those are great news!
2010/11/19 Gareth McCumskey gmccums...@gmail.com
Googling symfony shared hosting provided many pages with the answer.
On Fri, Nov 19, 2010 at 6:14 AM, oscar balladares liebegr...@gmail.comwrote:
Hi guys and girls
Hi boys and girls.
I want to change the labels of the Filter Form for a module in the Backend
generated by the admin generator plugin.
This is the background:
I'm from latam, so my navite language is spanish.
I have manually traslated the labels for the backend module User, I did it
overriding
Im not an expert, but I would suggest you to implement a getHashCode()
method for your objects.
What I recall, a hashcode is like a unique number result of a calculation
based on the attributes values and types of a class;
it is like a check sum.
So if you have an updated_at attribute, the old
Hi.
Yes, it is possible, but currently I only now the GET method.
Look for this snippet:
if ($this-form-isValid()){
$this-redirect('contact/thankyou?'.http_build_query($this-form-getValues()));}
On this Resource...
http://www.symfony-project.org/forms/1_4/en/02-Form-Validation
It is the
Hi.
For permission an the owner properties:
sudo chown -R yourUserName.yourUserGroup smyfony_project/
The -R option is to change the whole dir and subdirs and files from your
project directory.
sudo chmod -R 777 symony_project/
Again -R is for the same purpose.
2010/11/28 Nicolas Hurman
Yes, Jobeet Tutorial is not an option, it is mandatory [?]
2010/11/28 el-sid sydneyari...@gmail.com
or you can modify the title per module basis using the view.yml.
However, make sure that you have not written anything between title/
title tags in the global layout, then you can specify title
no at this moment. and I dont want to do it the DIY way (Symfony
advantages are good marketing advertising).
Thanks everybody!
2010/11/18 Szél Péter sze...@gmail.com
2010.11.19. 05:14:33 dátumon oscar balladares liebegr...@gmail.com írta:
Hi guys and girls!
Is there a way to publish a Symfony
That is the cascade configuration rule.
You can avoid loading some JS or CSS like this.
Lets say you have a app/frontend/config/view.yml file like this:
default:
stylesheets:[admin, default, global]
So, if you want not to laod a stylesheet for a module you should create a
config dir and
Thanks !
2010/12/10 Don_Busi dominik.busin...@gmail.com
Hi,
I found a solution. The following works fine.
$browser-
with('response')-begin()-
checkElement('input[id=sf_guard_user_last_name]
[value=expectedValue]', true)-
end();
This page is a good reference about CSS-Selectors:
When dev doesnt match prod, you should always clear the chache.
php symfony cc
If you already did it, please let us know ;)
2010/12/6 Javier Garcia tirengar...@gmail.com
Hi,
I have these models:
user:
name: { type: varchar(255) }
age: { type: integer }
article:
title:
Of course, feel free to create that directory web/uploads/jobs/ ;)
That should gonna make it.
2010/12/22 Wiynn wiynn...@gmail.com
in the data model chapter this is explaind but i donot get it The job
fixture file references two images. You can download them
Yes, you did something wrong for sure.
That happened to me but for a foreign related object column.
You should give more info to us, may be we can help you to debug it.
2010/12/22 Gandalf ganda...@gmail.com
This is probably a bug in your code somewhere. Works for me.
On 12/22/10, Scott
Hi everybody!
I have a month (almost 2) studying Symfony 1.4.
I would appreciate your comments about if I should improve my sf_1.4 skills
or move to sf_2.x (I would start from zero)
I have read the jobeet tutorial, Forms in action, Doctrine, a gentle
introduction to Symfony 1.4.
So I have put a
Hi Gabriel, thanks for answering!
And Thank you very much Jamie! I will follow your suggestions!!! I have
planned to develop some production apps, so I will stick with 1.4.
And learn v2.0 in my free time!!!
Thanks! Merry Christmas!
2010/12/24 Jamie Hall jstevenh...@gmail.com
Gabriel,
Did you ... php symfony plugin:publish-assets ?
Do it again if you are not sure.
2010/12/25 introvert aljaz.faj...@gmail.com
Hello,
I followed the Jobeet tutorial.
When I implemented the user login part it appears that when I
implement this functionality, Symfony won't include the
in the configuration?
Is there something else I'm missing?
Thanks for help
On 26 December 2010 20:05, oscar balladares liebegr...@gmail.com wrote:
Did you ... php symfony plugin:publish-assets ?
Do it again if you are not sure.
2010/12/25 introvert aljaz.faj...@gmail.com
Hello,
I
Last time I got that error (on my local server) was due to Doctrine.
It was a poor optimization queries. You should look for recursive queries.
134217728 bytes is good size. Probably apache reaches a high demand of
memory due to
Doctrine.
Try to optimize your code:
configuration to set?
Thanks in advance
On 26 December 2010 23:05, oscar balladares liebegr...@gmail.com wrote:
Hoho, Sorry, I didn't realized that it was specific to the login module.
Yes, you are right, they won't be included in the login module cause they
-- stylesheets -- belong
Thanks as well
2011/1/10 Tom Boutell t...@punkave.com
A further update: login and logout buttons are now implemented, and edit
buttons shown only when logged in, thanks to answers from symfony-devs.
--
If you want to report a vulnerability issue on symfony, please send it to
security
Hi everybody.
It may sound very weird to ask this question; but what I want to do is to
create a custom navigation menu.
So I want to get the current requested controller's or bundle's name not
from a template but from the layout.
I have to write the css class of a li element to highlight te
Holly SH**T! There is a lot different (more detailed) information in the
/master/guides!!!
Im feeling like in Super Mario World when you find a secret place!
Thanks for this info!!!
2011/2/23 Zap kuzela.al...@gmail.com
On 23 ún, 20:56, Christophe COEVOET s...@notk.org wrote:
Le 23/02/2011
Opps, I miss spelled
In other words, you should have a css dir and file like
sandbox/web/css/style.css
and some images in there... sandbox/css/images_for_my_css_file/
I meant sandbox/web/css/images_for_my_css_file/
2011/2/23 oscar balladares liebegr...@gmail.com
A few minutes ago, I found out
joel.da...@gmail.com
Awesome. Thanks for the usefull info.
Anybody known if is it possible to use Netbeans IDE with Symfony 2?
On 23 fev, 18:22, oscar balladares liebegr...@gmail.com wrote:
A few minutes ago, I found out that there is a branch docs for the
official PR6 of Symfony
Hi everybody. Have a nice day.
Im following the Form guide from
http://docs.symfony-reloaded.org/master/guides/forms/overview.html
I have an entity named ContctRequest like this:
namespace ...;
class ContactRequest {
.../*some attributes..
/**
* @validation:AssertType(boolean)
*/
Another thing to consider, is to put CSS and related stuff under
yourApp/web/ dir unless you want to build a selfish (plugin like) bundle;
in that case you can put your main Layout and css stuff in the Bundle's dir.
2011/2/24 taidehuone taidehu...@gmail.com
Generally you put the main layout in
It was actually easy. I also wanted to create custom labels from inside the
Form Class. Lol
Thanks for tha' tip.
2011/2/26 Jan Eichhorn j...@pixel-web.org
Hi,
thanks for your help.
Thats actually helps a lot.
Greets Jan
--
If you want to report a vulnerability issue on symfony, please
The current way is fine for me. I think Labels should go on the View, and be
references through the corresponding field's name. Setting the label inside
the Form component is what I hated about Symfony 1.x.
Lets say the layout desinger tell us that a label like a UserName (binded
to a field named
Hi everybody.
As everyone knows, PHP 5.3 is not supported by all web hosting providers.
I would be happy to hear about your experience and I would like you to
recommend to me a good web hosting provider.
There are lots cheaps WHP but I know that you get what you paid for.
any suggestion??
--
In that case, I totally agree! [?]
2011/2/28 Christophe COEVOET s...@notk.org
Le 28/02/2011 04:38, oscar balladares a écrit :
The current way is fine for me. I think Labels should go on the View, and
be references through the corresponding field's name. Setting the label
inside the Form
Hi everybody.
I realize that in PR6 there is no Symfony\Bundle\DoctrineBundle\Form\
package-namespace
So it is impossible to me to bind Forms to Entities and flush them into the
database.
According to Docs, you should use
EntityToIDTransformer, CollectionToChoiceTransformer, or so, to be able to
day. Im in a rush
learning Symfony, all days long untiil the official docs are being released.
2011/2/28 Christophe COEVOET s...@notk.org
Le 28/02/2011 22:16, oscar balladares a écrit :
Hi everybody.
I realize that in PR6 there is no Symfony\Bundle\DoctrineBundle\Form\
package-namespace
So
Thanks again!
2011/2/28 Christophe COEVOET s...@notk.org
Le 28/02/2011 22:32, oscar balladares a écrit :
Before anything, thanks a lot...
This is amazing, I was covering the guide and I saw the EntityChoiceField,
but for some reason I decided to try
the Transformers (not the movie Plop
Hi everybody.
I have an entity which is validated via validation.yml file.
Here is an extract of it:
Sensio\HelloBundle\Entity\Person:
properties:
phone:
AssertType: integer
But this is tricky, because when I submit the form, the AssertType throws me
a
a different approach, then you could
implement your own validator.
Having said that, maybe these type validators could validate the coming
string with a regex, and then, if it's valid, type cast to the according
type? What do you think?
Regards.
On Mon, Feb 28, 2011 at 9:13 PM, oscar balladares
Time will decide.
If you have a DeadLine, you should stay with 1.4
If not, (something like a year) you could go with 2.0
I have little time (I mean days not hours) getting involved with 2.0 (about
4 or 5 hours a day) and at the end of this week
I feel very confortable with it.
You should know
Also there is no Admin generator :(
( I didnt like it much anyway hoho)
In previous message, I meant: There are NOT good Examples or HowTo for
Plugins.
2011/3/1 oscar balladares liebegr...@gmail.com
Time will decide.
If you have a DeadLine, you should stay with 1.4
If not, (something like
Hehe, you fell into the Slides trick.
I had that same feeling, but if you follow the tutorial you will reach to
some point where you
will see the expected results.
If you look carefully, you will see the jobs indexes that also are links. If
you hit the link you will be
redirected to de edit
If you have have previous experience with Symfony 1.x you should have some
pre concepts and expect some behaviours; it will help a lot.
Doctrine is one of the hardest; you have to complement a lot with the
official Doctrine docs.
About Doctrine 2.0 I would recommed the getting started tutorial
Hi.
I'm on a Unix like machine (Fedora Linux) and I never ran into that problem.
I would say it is some sort of Doctrine bug. You should
post on a Doctrine mailing list; they should know more about it.
2011/3/2 Gustavo Adrian comfortablynum...@gmail.com
Did you tried to force the table name to
Hi.
This is my configuration, and might help:
app/config.yml
doctrine.dbal:
driver: pdo_mysql
dbname: Symfony2
user: root
password: secret
doctrine.orm:
auto_generate_proxy_classes: %kernel.debug%
mappings:
HelloBundle: ~
Then, I map my User entity,
Good tip. I will tag this.
2011/3/2 Gustavo Adrian comfortablynum...@gmail.com
Great! I didn't know it was a new interface for this. I'll give it a try
now.
Thanks a lot guys!
On Wed, Mar 2, 2011 at 3:08 PM, Christophe COEVOET s...@notk.org wrote:
Le 02/03/2011 19:06, Alex Pilon a écrit
Sensio\Entity I meant Sensio\HelloBundle\Entity. [?]
2011/3/2 oscar balladares liebegr...@gmail.com
Hi.
This is my configuration, and might help:
app/config.yml
doctrine.dbal:
driver: pdo_mysql
dbname: Symfony2
user: root
password: secret
doctrine.orm
Symfony handle it very well.
If you have third party code, you should put it in yourProjectName/lib
directory.
Thanks to the autoloader, Smyfony will scan for new classes inside that dir.
You only have to simple reference a class on any controller.
for expamle a class named Math;
in a
a project with the
necessary files?
Thanks
On 3 mar, 03:53, oscar balladares liebegr...@gmail.com wrote:
If you have have previous experience with Symfony 1.x you should have
some
pre concepts and expect some behaviours; it will help a lot.
Doctrine is one of the hardest; you have
Do you have studentdocuments records on DB?
Are you using Propel, right?
Doctrine's defaults behavior is to return an empty array intance if database
has no records; I don't know
if Propel does that.
If you tries to iterate (foreach) a non array instance variable you will get
that error for
That function is meant to avoid html/sql injection.
Symfony/Doctrine handles that by default.
Alex is right, try out Jobeet tutorial.
There are some guides that describes how to accept raw input data instead of
escaping it.
I can't remember the name of the guides, sorry.
2011/3/3 Alex Pilon
then that 3rd party call, as long as it's organized into
classes, should be easy to integrate... right?
Saludos!
Pablo
On Mar 3, 2:35 am, oscar balladares liebegr...@gmail.com wrote:
Symfony handle it very well.
If you have third party code, you should put it in yourProjectName/lib
Hi.
If you are using a YML file, remember to override the message property.
For example:
someColumName:
AssertType:
type: Integer
message: { This value must be an integer }
If you have read the validation documentation you should get the idea :D
Sorry, I
I totally agree with Gareth.
When configuring apache to work with SSL; it will automatically redirects
any request - under the SSL domain e.g jobeet.com - to https protocol.
2011/3/8 Gareth McCumskey gmccums...@gmail.com
Eliminate the likely candidates:
1. Problem happens on one machine and
Hi.
What about showing your code? [?]
2011/3/9 Neve12ende12 neve12end...@cablemo.net
I am having a problem with the catagories in the jobeet page. When I
have more than one job in a catagory, my IndexSuccess page decides to
display that catagory = to the number of jobs in that catagory.
It is a shame that Docs are not sync with the changes.
Thanks for the tip, I was about to start playing with PR7.
2011/3/11 Justin Fortier justfort...@gmail.com
Thanks for the quick response, I didn't realize there was short/long
syntax. I'm guessing this was done to standardize the
Oh! I didnt know, thanks for the tip. I'll look after that repo [?]
2011/3/11 Christophe COEVOET s...@notk.org
Le 11/03/2011 23:33, oscar balladares a écrit :
It is a shame that Docs are not sync with the changes.
Thanks for the tip, I was about to start playing with PR7.
The symfony
Hi.
You can look for installing symfony on shared hosting on Saint Google..
There is a chapter that describes how to solve that issue on this page
http://www.symfony-project.org/book/1_0/03-running-symfony
In resume, if you don't have access to httpd.conf at all, you have to create
a index.php
5 out 5
2011/3/24 coolmec33 ezziani.cha...@gmail.com
Hello,
thank you for this amazing work..
:)
On 24 mar, 17:04, Tristan Bessoussa tristan.bessou...@gmail.com
wrote:
Thank you,
i'll pass the message @vincent_elao tomorrow at my office ;)
Glad you'll use it.
Le 24/03/2011
Gedit out of the box is as good as notepad++. Gedit + plugins is way better
than notepad++.
Of course, they are like in the same weight. (like boxing). You also can try
Aptana (based on Eclipse, Im starting to love it more than Netbeans).
And if you are looking for the fastest/lighter IDE for
Hi everybody. [?]
I want to redirect a user to an especific route after login/authentication
according to his roles.
I'm aware that Symfony2 authenticates users through _securty_check route and
it does't
require you to write a securityCheckAction() controller; also, if you
request something like
Hi.
Im using 'IS_AUTHENTICATED_FULLY' instead of 'IS_AUTHENTICATED_REMEMBERED'
On PR8.
2011/3/27 Dennis Jacobfeuerborn djacobfeuerb...@gmail.com
Hi,
I'm trying to display a logout button in the header of the page but only if
the user is logged in. Looking at the docs and the UserBundle on
Welcome [?]
2011/3/25 Alfonso Martínez Arias fonsyma.poke...@gmail.com
Congrats, for a excelent work.
I would like to form a part of this group.
Thank you.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this
-tutorial-part-v-intro-to-security/
On Mar 26, 10:34 pm, oscar balladares liebegr...@gmail.com wrote:
Hi everybody. [?]
I want to redirect a user to an especific route after
login/authentication
according to his roles.
I'm aware that Symfony2 authenticates users through _securty_check
Maybe you haven't set your security.yml properly?
Here is mine, hope this help:
security:
encoders:
Comercio\PulperiaBundle\Entity\Cliente:
algorithm: sha512
encode-as-base64: true
iterations: 10
providers:
main:
entity: {
+1 Symfony2.
If you start studying hard, you could easily get the necessary knowledge in
1 month.
I suggest 3 hours a day at least.
To help you out deciding, I must remark some point:
S1 has some good features like generating forms, and CRUD files and
directories in one command
(you have to
+1 Thomas' answer
2011/3/28 Thomas Rabaix thomas.rab...@gmail.com
On 27 mars 2011, at 11:12, seven seven wrote:
Hello everyone,
I must say that this might be a stupid question, but I am stuck with
installing MediaBundle in Symfony2. I am using xampp on windows7 and
Cygwin
as
I have the same issue.
In the old days (S1) you had to extend the base entity class, so when
regenerating/updating your schema, your custom code remained intact.
Now, if you regenerate the entity, it will append the new code to the end of
the file.
I hate it, but it is ok for me now.
2011/3/28
About your issue, that is a unix behaviour, the ~user.php file is a backup
file.
I get those ~*.* files whenever I delete a file.
2011/3/28 oscar balladares liebegr...@gmail.com
I have the same issue.
In the old days (S1) you had to extend the base entity class, so when
regenerating
I didn't get you [?]
Do you need the schema for that database requirements? or do you need the
code
to do it so in the admin application?
2011/3/25 PM tommymo...@gmail.com
Hi,
I'm new at symfony and im trying to do an admin that, besides the
creation/edition/deletion of data for the main
Notice are not errror, nor Warnings
The severity level is very low, it is not even something that would break
your project.
Just check that you have uncoment the notice display commented in your
php.ini
If errors and warining and notices are not configured to be displayed in
your php.ini then
Is it maybe due to ACL heriarchy ?
I suggest you to try to inverse the ACL like:
access_control:
- { path: /.*, roles: ROLE_USER }
- { path: /login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
What I notice is that /*. match /login so they collide.
2011/3/28 Dennis Jacobfeuerborn
Hi everyone. [?]
I would like to implement something like the url_for() helper of S1 on S2.
I've been reading Twig docs, they have macros to declare some functions,
I could easily implement one to achieve a a/a tag with Javascript
embedded
to simulate a PUT/DELETE button.
But on S1, the
Hi, this is the best security tutorial for S2 I have read.
http://www.dobervich.com/2011/03/21/symfony2-blog-application-tutorial-part-v-intro-to-security/
2011/3/23 Vincent Lechemin vincent.leche...@gmail.com
Hi,
On Wed, Mar 23, 2011 at 4:34 PM, Sergi sergi.arger...@gmail.com wrote:
What about removing the login path??
access_control:
- { path: /login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
Symfony should grant anonymous access to the login path by default.
Im interested in this issue, I think this is a common escenario like making
the site's homepage,
the
:
/my/route/{some_param}
You'd do something like this: path('my_route, { 'some_param': xxx })
Roger
On Mar 28, 4:59 pm, oscar balladares liebegr...@gmail.com wrote:
Hi everyone. [?]
I would like to implement something like the url_for() helper of S1 on
S2.
I've been reading Twig
Good tip. I'll save it for further implementations.
Regards.
2011/3/28 Dennis Jacobfeuerborn djacobfeuerb...@gmail.com
The problem was the security: false for the login firewall.
This allows the user to visit the login page but because no security
context is established you cannot use
I need to be able to do that too.
I'm looking for an Javascript based button. Actually it is an a tag that
on its OnClick event triggered
it will send an embedded post Form with the value of the Id of an X object
to be handled in an Controller (for example
something llike the link_to button in
I recommend you to follow the Jobeet tutorial for S1.4 and Doctrine. It
would have answered
your question.
public function __toString()
{
return $this-name;
}
2011/3/29 Gábor Fási maerl...@gmail.com
Create the __toString() function in your City class.
On Tue, Mar 29, 2011 at 19:42, -Jab-
Hi everybody [?]
I need the functionallity of the link_to() helper.
It generates a link tag when clicked it triggers an Onclick event that
submit an embbeded form which is similar to:
a href='#' onclick=if (confirm('Are you sure?'))
{
var f = document.createElement('form');
f.style.display
.
Regards.!
2011/3/31 Fabien Potencier fabien.potenc...@symfony-project.com
On 4/1/11 3:09 AM, oscar balladares wrote:
Hi everybody, as I mentioned I think I found a bug in the Request
component.
Before submitting the issue I need you to confirm or advice me if this
is really a bug
Hi.
you might want to download the SE PR9 and import your bundle, anyway bundles
are meant to be able to hook up very easily.
I'm using PR9 and base.html.twig is in app/Resources/views and is working.
Saludos.
2011/4/1 Gustavo Adrian comfortablynum...@gmail.com
Yes, I cleared the cache and
Hi nerdess.
If you want to return a string from a controller instead returning a twig
template you should:
return new Response('HI, Im a string');
Also you have to:
use Symfony\Component\HttpFoundation\Response;
in the imports of the controller.
2011/4/1 nerdess sylvia.adam...@gmail.com
Hi everybody [?]
I'm working with Ajax.
I have a html list with, for example 2 rows, and they can be removed via
Ajax.
If 1 row is removed, the Controller will return the updated list.
And if the last row is removed, the Controller will return a
RedirectResponse() to the homepage instead.
The
Thank you both very much.!
2011/4/3 Jordi Boggiano j.boggi...@seld.be
On 03.04.2011 20:17, Christophe COEVOET wrote:
Le 03/04/2011 20:09, oscar balladares a écrit :
Hi everybody
I'm working with Ajax.
I have a html list with, for example 2 rows, and they can be removed
via Ajax
Hi.
Did you define the route for login_check?
#app/config/routing.yml
_security_login:
pattern: /login
defaults: { _controller: YourBundle:Security:login }
_security_check:
pattern: /login_check
_security_logout:
pattern: /logout
2011/4/4 Dennis Jacobfeuerborn
Hi.
I should add that Symfony2 is still in Preview Release state, not even Beta.
So
confusing is expected.
I've been following the S2 development since PR6 so for me (and for many
more)
It hasn't be that hard to keep up.
I'm pretty sure that S2 will come along with high quality docs when stable
Hi.
This is a great S2 security tutorial.
It should fill your needs.
http://www.dobervich.com/2011/03/21/symfony2-blog-application-tutorial-part-v-intro-to-security/
2011/4/2 bitgandtter yasman...@gmail.com
first i´m really new in symfony 2.0.
I am developing an application using symfony
?
On 5 Apr., 07:14, oscar balladares liebegr...@gmail.com wrote:
Hi.
Did you define the route for login_check?
#app/config/routing.yml
_security_login:
pattern: /login
defaults: { _controller: YourBundle:Security:login }
_security_check:
pattern: /login_check
Just what I said. There must be a route defined for _security_check
As Tim Nagel pointed.
2011/4/5 mamadou aliou diallo bobova...@yahoo.fr
hello, i receive too many email from this group ... how can i stop that?
regards.
Mamadou Aliou Bobo Diallo
--
*De :*
You must render the hiddens fields.
twig:
form
{{ form_hidden(form) }}
.
input type='submit' /
/form
2011/4/5 symfonyMan ezziani.cha...@gmail.com
Hello,
i got this error when i try to submit my form. The CSRF token is
invalid. Please try to resubmit the form
it worked good in
the hidden fields.
Hope this solve your issue.
Regards!
2011/4/5 oscar balladares liebegr...@gmail.com
You must render the hiddens fields.
twig:
form
{{ form_hidden(form) }}
.
input type='submit' /
/form
2011/4/5 symfonyMan ezziani.cha...@gmail.com
Hello,
i got this error when
Hi. May be they won't pay attention to the ticket as documentation
is always changing.
Posting it here is the best way.
Regards!
2011/4/5 Mike Angstadt mike.angst...@gmail.com
Hi all,
I found some errors in the Creating pages in Symfony 2 chapter of
the documentation
As far as I know there is no support for S2 in Netbeans.
The file you are liooking for is ~/app/console
Regards.
2011/4/7 JC julio.castillo.2...@gmail.com
where did data/bin/symfony file go?
It is required by NetBeans as part of the Symfony/Tools setup.
It was there and assumed to be there
With JQuery you can request Marc's controller's route. That should do the
trick.
2011/4/14 Marc MacLeod marbe...@gmail.com
In your controller:
public function fooAction()
{
// Is this an ajax request?
if ($this-container-get('request')-isXmlHttpRequest())
{
The controller should return a template response, a common template (without
inheritance of course)
2011/4/14 oscar balladares liebegr...@gmail.com
With JQuery you can request Marc's controller's route. That should do the
trick.
2011/4/14 Marc MacLeod marbe...@gmail.com
In your controller
Hi. What about if you show us your code?
Magic would be if we could help you out without one line of your code. [?]
2011/4/11 Yasmany Cubela Medina yasman...@gmail.com
hi, i read every day all mesages in this mail list search for a solution to
this error, many have the same problem and find
symfonyMan ezziani.cha...@gmail.com
Hello,
thanks for all this responses.
the controller must return a template ?
Me, I need ajax just for validate email, and print ok next to the
email field...
sorry i have a bad english :)
thnaks
On 15 avr, 00:12, oscar balladares liebegr...@gmail.com
Hi. You must use the 'length' filter:
{{ entry|length }}
That must do the trick.
2011/4/13 David Buchmann david.buchm...@liip.ch
hi,
for a symfony2 project, i use twig. i have a template that outputs a
tree (nested php array)
what i try to do is: check if there is a 'children' field on
I want to do the same. Any help???
2011/4/16 Holger holger.k...@100days.de
Hi all,
what I'm trying to achieve is to create fully dynamic forms out of a
yaml config. The generation of the form-object itself should not be a
problem utilizing Form::add(FieldType) according to the yaml config.
:'( Anybody knows when 'A week of Symfony' is going to be updated??
I really enjoy reading it!!!
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony
Hi, I've just downloaded the PR11.
When running the demo (when clicking the 'run the demo' button link) an
error is trhown: The controller must return a response ([array]() given)
Looking at the controller I found:
/**
* @extra:Route(/, name=_demo)
* @extra:Template()
*/
(), .get()...) but il my ajaxAction,
this test is skipped : (not an XMLHttpRequest())
if ($this-container-get('request')-isXmlHttpRequest())
{
//some code here
}
i want to validate the email input (onblur)
thanks ;)
On 16 avr, 19:20, oscar balladares liebegr
Hi everybody.
I've been searching how to test methods related to database functionality.
I've found nothing on Doctrine 2 docs,
nor PHPUnit docs, just some PDO basics.
Can someone please point me the right direction???
I appreciate any kind of help!
Regards!
--
If you want to report a
1 - 100 of 164 matches
Mail list logo