Re: [symfony-users] PDF version of book

2011-06-02 Thread Donald Tyler
If you're talking about 1.4, there are PDF versions of all books available here: http://www.symfony-project.org/doc/1_4/ If you're talking about 2.0, then I'm sure it'll be available one Symfony is actually relealsed. On Thu, May 26, 2011 at 2:43 PM, Symfonier hrs...@gmail.com wrote: A PDF

Re: [symfony-users] Migrating Propel schema to Doctrine

2011-05-23 Thread Donald Tyler
You *can* use the yaml files in Symfony 2, but they'll need to be updated for Doctrine 2, which is now used. This page has information on using ORM in Symfony 2: http://symfony.com/doc/current/book/doctrine/orm.html One key thing that's different is that in Symfony 1, you would generate PHP

Re: [symfony-users] Re: Need Help to Install Symfony

2011-05-23 Thread Donald Tyler
You need to setup aliases in the apache configuration file for your site. The images used by Symfony are not stored in the public web folder, so you need aliases to instruct apache where to find them. See this http://www.symfony-project.org/jobeet/1_4/Doctrine/en/01 page for more info. The

Re: [symfony-users] Aw: SF2 Forms - form_rest() renders fields already rendered with form_widget

2011-05-23 Thread Donald Tyler
I would suggest creating this as an issue on github. On Mon, May 23, 2011 at 3:25 PM, pzwosta peter.zwo...@gmx.de wrote: Hi, I have the same problem since BETA 2: public function buildForm(FormBuilder $builder, array $options) { $builder-add('firstname', 'text');

Re: [symfony-users] [FOS/RestBundle] default _format for routes

2011-05-17 Thread Donald Tyler
I added the following to my action, and it made no difference. I still get the same error message. @extra:Route(defaults={_format=html}) Any ideas why this might not work? On Thu, May 12, 2011 at 2:56 PM, Christophe COEVOET s...@notk.org wrote: Le 12/05/2011 21:43, Donald Tyler a écrit

Re: [symfony-users] [FOS/RestBundle] default _format for routes

2011-05-17 Thread Donald Tyler
That worked, Thanks! On Tue, May 17, 2011 at 11:36 AM, Christophe COEVOET s...@notk.org wrote: Le 17/05/2011 18:32, Donald Tyler a écrit : I added the following to my action, and it made no difference. I still get the same error message. @extra:Route(defaults={_format=html}) Any ideas

Re: [symfony-users] Any chance of creating a new Google group for Symfony2 only?

2011-05-17 Thread Donald Tyler
+1 I would be happy with either different mailing lists, or shutting these down in favor of the forums. But it's definitely not working the way it is now. I do agree that forums will see less traffic though. I think splitting the community can also be seen as organizing the community or helping

[symfony-users] [Symfony 2] REST Batch

2011-05-17 Thread Donald Tyler
Does anyone know if it's possible to do REST batch actions via HTTP pipelining http://en.wikipedia.org/wiki/HTTP_pipelining when using Symfony 2? -- 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

[symfony-users] [FOS/RestBundle] parent other non standard routing keys

2011-05-17 Thread Donald Tyler
I'm trying to define a parent for a Rest controller, but I'm getting the following error: [InvalidArgumentException] Yaml routing loader does not support given key: parent. Expected one of the (type, resource, prefix, pattern, options, defaults, requirements). I've defined the route as

[symfony-users] [FOS/RestBundle] default _format for routes

2011-05-12 Thread Donald Tyler
Is it currently possible to set a default _format for routes that are automatically created by importing a controller? In my current setup, given the following routing.yml: phone: resource: Chekote\MyBundle\Controller\PhoneController type: rest And the following controller: class

Re: [symfony-users] Re: How disable validation inherit parent?

2011-05-11 Thread Donald Tyler
-flush(); } . } Anything else?? Tanks. On 9 maio, 21:58, Donald Tyler chekot...@gmail.com wrote: The only thing I can think is happening is that the Cidade is becoming detached from the Entity Manager somehow, and when you persist the new

Re: [symfony-users] [Symfony2] Documentation - Community Contributed Suggestions

2011-05-11 Thread Donald Tyler
I agree with stof also. That would also open the opportunity for individuals to provide patches along with their suggestions. On Wed, May 11, 2011 at 11:07 AM, Luis Cordova cordo...@gmail.com wrote: fully agreeing with Stof On Wed, May 11, 2011 at 11:06 AM, Christophe COEVOET s...@notk.org

Re: [symfony-users] [Symfony2] Documentation - Community Contributed Suggestions

2011-05-11 Thread Donald Tyler
Yup, I am aware of that. I was speaking more to the differences between a mailing list vs github. On Wed, May 11, 2011 at 11:20 AM, Christophe COEVOET s...@notk.org wrote: Le 11/05/2011 18:13, Donald Tyler a écrit : I agree with stof also. That would also open the opportunity

Re: [symfony-users] Re: How disable validation inherit parent?

2011-05-09 Thread Donald Tyler
://www.michelsalib.com/2011/04/create-your-own-constraint-validator-in-symfony2-a-doctrine-unique-validator/ . I need disable validation inherit parent!!. Tanks On May 8, 10:05 am, Donald Tyler chekot...@gmail.com wrote: It sounds like you're approaching the problem in the wrong way. If you're trying

Re: [symfony-users] Symfony2 JS i18n: How to translate Javascript strings?

2011-05-09 Thread Donald Tyler
@Gediminas Im curious: Why not use JS with twig? If you need dynamic JS, it seems like a logical solution. On Mon, May 9, 2011 at 3:34 AM, Gediminas Morkevicius gediminas.morkevic...@gmail.com wrote: old fashioned way as for javascript, I recommend including different js file. thats my

Re: [symfony-users] deploy site symfony

2011-05-09 Thread Donald Tyler
Also, are you accessing your pages with the frontend_dev.php prefix in the url? If you don't use the development front controller, you won't get detailed error output. On Mon, May 9, 2011 at 7:45 AM, Donald Tyler chekot...@gmail.com wrote: If you're only getting a 500 error in the browser

Re: [symfony-users] Re: How disable validation inherit parent?

2011-05-09 Thread Donald Tyler
/constraint /property /class class name=MCP\AdminBundle\Entity\Parceiro /class /constraint-mapping On May 9, 9:32 am, Donald Tyler chekot...@gmail.com wrote: I don't see any info on your class annotations for what properties are required to be unique

Re: [symfony-users] deploy site symfony

2011-05-09 Thread Donald Tyler
to this file 2011/5/9 Donald Tyler chekot...@gmail.com Also, are you accessing your pages with the frontend_dev.php prefix in the url? If you don't use the development front controller, you won't get detailed error output. On Mon, May 9, 2011 at 7:45 AM, Donald Tyler chekot...@gmail.com wrote

Re: [symfony-users] deploy site symfony

2011-05-09 Thread Donald Tyler
2011/5/9 Donald Tyler chekot...@gmail.com It sounds like you're developing the site on a different computer than the server is running on. This isn't a production server is it? On Mon, May 9, 2011 at 8:12 AM, Hamza Tlili tlili@gmail.com wrote: when i put frontend_dev.php in the url

Re: [symfony-users] deploy site symfony

2011-05-09 Thread Donald Tyler
Not a problem, no need to apologize. On Mon, May 9, 2011 at 8:26 AM, Hamza Tlili tlili@gmail.com wrote: ok thanks for your reply donald i will view the webserver logs and sorry for my bad english 2011/5/9 Donald Tyler chekot...@gmail.com Then your only option for detailed info

Re: [symfony-users] Re: How disable validation inherit parent?

2011-05-09 Thread Donald Tyler
violation? On Mon, May 9, 2011 at 9:19 AM, elcabong elcabong@gmail.com wrote: Yes What can I try to do for this not to happen?? Tanks On May 9, 9:51 am, Donald Tyler chekot...@gmail.com wrote: You said that you weren't creating a new Cidade, so that means that the Parceiro was using

Re: [symfony-users] How disable validation inherit parent?

2011-05-08 Thread Donald Tyler
It sounds like you're approaching the problem in the wrong way. If you're trying to disable some part of the validation, that says to be that there's either a problem with how you're building the Entity behind the form, or some problem with your object model. Maybe if you could give more info on

Re: [symfony-users] Symphony not working

2011-05-08 Thread Donald Tyler
Check your logs. It sounds like you're getting a PHP error, but have your server configured to not output them to the browser. On May 8, 2011, at 1:39 PM, ken6171 ken6...@gmail.com wrote: Hi all, I am beginner and just start symphony. after i setup the virtualhost in the apache httpd.conf,

Re: [symfony-users] default collaction

2011-05-08 Thread Donald Tyler
I would suggest searching the Doctrine site and mailing lists, since this is more of a Doctrine question. On Sun, May 8, 2011 at 7:47 AM, Inori soul.in.twili...@gmail.com wrote: Hi, I'm trying to change default collation, charset and engine when creating database with doctrine:database:create.

Re: [symfony-users] Re: IDE code completion + service container ? (eclipse, netbeans)

2011-05-07 Thread Donald Tyler
I don't have this problem so much anymore, but I've been using Symfony 2 for quite some time now. I do however completely agree with you. Not only is the code completion this a problem, but having the argument to Controller-get be a string gives absolutely no guidance to what the possible values

Re: [symfony-users] Need to explicitly tell Doctrine which column to use in leftJoin when I have two joins from one table to another

2011-05-07 Thread Donald Tyler
Your relation names need to be unique: peer_request: columns: person_id: { type: integer, notnull: true } peer_id: { type: integer, notnull: true } relations: person:{ local: person_id, foreign: id } *peer*: { local: peer_id, foreign:

Re: [symfony-users] Symfony2 Beta1 + MongoDB + Forms

2011-05-07 Thread Donald Tyler
You shouldn't be persisting the Form itself, you should persist an Entity. You need to bind the Form to the request, and pass it the Entity that you want the Form values to be applied to. Read here for step by step instructions: http://symfony.com/doc/current/book/forms.html On Fri, May 6, 2011

Re: [symfony-users] about form, and name tag

2011-05-07 Thread Donald Tyler
wrote: Hi Donald, Thank you very much for the help with the name at least.. i have searched all that i could on google, and in the form source for anonymous form, but i dont see it anywhere.. i think that i have tried everything that i can even think of.. i have seen that also the userbundle

Re: [symfony-users] Somebody knows any example that using repeated type form???

2011-05-07 Thread Donald Tyler
This recent conversation seems to be addressing the same issue: http://groups.google.com/group/symfony-users/browse_thread/thread/90552daa1cda2e30 On Fri, May 6, 2011 at 9:21 AM, elcabong elcabong@gmail.com wrote: Somebody knows any example that using repeated type form (Symfony2

Re: [symfony-users] Re: Advice for different windows setups

2011-05-07 Thread Donald Tyler
I've tried it before. It can be clunky, depending on your workflow. If your developing on Windows, and then running it on the Linux VM, it's going to be clunky if you're constantly having to deploy your changes to the VM before you test. Now if you're actually developing in the Linux VM too, then

Re: Re : [symfony-users] Re: [Beta1] POST rendering with two forms inside the same view

2011-05-06 Thread Donald Tyler
This made me LOL. Here you go: http://groups.google.com/support/bin/answer.py?answer=46608 On Thu, May 5, 2011 at 8:51 AM, mamadou aliou diallo bobova...@yahoo.frwrote: hello, how can i remove my email from this group. please, i receive all your email it's boring. regards. Mamadou Aliou

Re: [symfony-users] [sf2] get current environment in controller

2011-05-06 Thread Donald Tyler
$this-container-get('kernel')-getEnvironment() On Fri, May 6, 2011 at 9:17 AM, Conrad conrad.barthel...@googlemail.comwrote: Hi all, is it possible to get the current environment from inside the controller? I'd like to separate some ajax json return messages for developers with the

Re: [symfony-users] deploy site symfony

2011-05-06 Thread Donald Tyler
Sounds like you're receiving a PHP error and your server has output errors to off. You should check the logs. On Fri, May 6, 2011 at 8:43 AM, Hamza Tlili tlili@gmail.com wrote: Hello I try to deploy my site symfony, I changed the file .htaccess but when I go to index.php there is nothing

Re: [symfony-users] Advice for different windows setups

2011-05-06 Thread Donald Tyler
It does make a difference, but as long as you're aware of those differences, you'll be fine. What's more important is which platform you are more productive with. Ideally you would have some kind of CI server that will run your tests against your target platform so it doesn't matter what you

Re: [symfony-users] deploy site symfony

2011-05-06 Thread Donald Tyler
the problem was I have not cleared the cache i deleted the directory in the cache directory and now it work 2011/5/6 Donald Tyler chekot...@gmail.com Sounds like you're receiving a PHP error and your server has output errors to off. You should check the logs. On Fri, May 6, 2011 at 8:43 AM

[symfony-users] Re: Symfony2 forms : can I show/hide fields

2011-05-05 Thread Donald
As far as I know, it's not possible to have multiple values for data_class. You would need a different FormType for each of the subclasses. I would suggest having the user pick which type of thing they want to create first, then displaying the correct form based on that choice. Trying to have a

[symfony-users] Re: Symfony2 forms : can I show/hide fields

2011-05-05 Thread Donald
You'll want to read the Doctrine documentation for info on inheritance: http://www.doctrine-project.org/docs/orm/2.0/en/reference/inheritance-mapping.html On May 5, 2:41 am, Manu emmanuel.parf...@gmail.com wrote: How does Symfony2 handle inheritance ? On May 4, 5:35 pm, Donald chekot

Re: [symfony-users][sf2-beta1] Having multiple forms on the same view when post rendering

2011-05-05 Thread Donald Tyler
I'm not sure I understand. But from what I read it sounds like you don't need to bind. If you're just rendering a view, there should be nothing to bind at that point. You only want to bind once data is submitted by the client. On Thu, May 5, 2011 at 7:56 AM, maboiteaspam

Re: [symfony-users] about form, and name tag

2011-05-05 Thread Donald Tyler
Why is this complicated? As long as the FormType has a getName() method that returns register, the Form will properly bind to the data when you call bindRequest(). On Thu, May 5, 2011 at 9:03 AM, Michael Holm ho...@hollo.dk wrote: Hi, Im building a REST API for my application, and what i

Re: [symfony-users] [SYMFONY2 Beta1] No render for an action and redirect performing an HTTP POST request

2011-05-05 Thread Donald Tyler
A redirect by it's very nature cannot send any POST data. It's not a limitation of Symfony, but the HTTP protocol itself. You have two ways to accomplish this: 1. Server side: Have the controller make the POST request, get the response, and then relay that to the client. 2. Client side: Have a

Re: [symfony-users] [SYMFONY2 Beta1] No render for an action and redirect performing an HTTP POST request

2011-05-05 Thread Donald Tyler
You might also want to look into HTTP Response Code 307, but depending on your implementation, and the Browser's you intend to support, it may not work consistently. On Thu, May 5, 2011 at 9:13 AM, Donald Tyler chekot...@gmail.com wrote: A redirect by it's very nature cannot send any POST data

Re: [symfony-users] about form, and name tag

2011-05-05 Thread Donald Tyler
or the other.. Best regards, Michael Holm On Thu, May 5, 2011 at 4:08 PM, Donald Tyler chekot...@gmail.com wrote: Why is this complicated? As long as the FormType has a getName() method that returns register, the Form will properly bind to the data when you call bindRequest

[symfony-users] [Symfony2] PUT data Forms in Beta1

2011-05-05 Thread Donald Tyler
I noticed that after the Forms refactor in Beta1, that the code in Form::bindRequest() gives the impression that it should now support PUT data. But it still doesn't function correctly. Doing a PUT with Symfony's test framework works correctly (which is even did before the refactor), but doing a

[symfony-users] Re: [Symfony2] PUT data Forms in Beta1

2011-05-05 Thread Donald Tyler
Opened a pull requests with a fix for this: https://github.com/symfony/symfony/pull/793 On Thu, May 5, 2011 at 10:02 AM, Donald Tyler chekot...@gmail.com wrote: I noticed that after the Forms refactor in Beta1, that the code in Form::bindRequest() gives the impression that it should now

[symfony-users] Re: PR11 to Beta1 - Tests using PDO_sqlite now fail

2011-05-04 Thread Donald
-getContainer();             $newContainer-set('doctrine.dbal.default_connection', $conn);         }         else         {             $this-hasRequest = true;         }         $response = $this-kernel-handle($request);         return $response;     } On May 4, 1:43 am, Donald chekot

[symfony-users] Re: PR11 to Beta1 - Tests using PDO_sqlite now fail

2011-05-04 Thread Donald
I tried setting up a custom Client as you explained, but I'm getting an error complaining that test.client.class: com\frazerbilt\quartz \Component\Test\Client I put the new config line in my config_test.yml. Any ideas what I'm doing wrong? On May 4, 7:35 am, Donald chekot...@gmail.com wrote

[symfony-users] Re: PR11 to Beta1 - Tests using PDO_sqlite now fail

2011-05-04 Thread Donald
Screwed up that copy paste! The correct error is: There is no extension able to load the configuration for test.client.class On May 4, 9:30 am, Donald chekot...@gmail.com wrote: I tried setting up a custom Client as you explained, but I'm getting an error complaining that test.client.class

[symfony-users] [Symfony2] How to configure custom test client

2011-05-04 Thread Donald
Hi, I'm trying to configure a custom test client. I have the class setup, but I'm getting an error when configuring it in my config file. I have the following added to the end of my config_test.yml file: test.client.class: MyProject\MyClient But I'm getting the following error: There is no

[symfony-users] Re: Symfony2 forms : can I show/hide fields

2011-05-04 Thread Donald
Yes you can. The actual hiding would be carried out on the client side with Javascript, by setting the display css attribute of the field to none. You would also need to implement proper validation in the Entity backing the form so that it ignores the additional fields that are not required for

[symfony-users] Re: PR11 to Beta1 - Tests using PDO_sqlite now fail

2011-05-04 Thread Donald
Never mind, got an answer here: http://groups.google.com/group/symfony-users/browse_thread/thread/4c5a298e55653c9b Thanks again for your help. On May 4, 9:38 am, Donald chekot...@gmail.com wrote: Screwed up that copy paste! The correct error is: There is no extension able to load

[symfony-users] Re: [Symfony2] How to configure custom test client

2011-05-04 Thread Donald
Thanks! On May 4, 11:03 am, Christophe COEVOET s...@notk.org wrote: Le 04/05/2011 17:32, Donald a crit : Hi, I'm trying to configure a custom test client. I have the class setup, but I'm getting an error when configuring it in my config file. I have the following added

[symfony-users] Re: PR11 to Beta1 - Tests using PDO_sqlite now fail

2011-05-03 Thread Donald
/ reboot process... On May 2, 6:28 pm, danielholmes dan...@creatio.com.au wrote: Hi Donald, I'm glad I wasn't the only one having this problem. Thanks for mentioning the spl_object_hash; I hadn't seen it before. Using that, I found they are actually referring to different containers. I

[symfony-users] Re: PR11 to Beta1 - Tests using PDO_sqlite now fail

2011-05-03 Thread Donald
Looks like other people are experiencing this problem, and unfortunately Fabien doesn't seem to think it's a real issue... https://github.com/symfony/symfony/pull/742#issuecomment-1094468 On May 3, 10:40 am, Donald chekot...@gmail.com wrote: Hi Daniel, Thanks for the info. Although commenting

[symfony-users] [Symfony2] PR11 to Beta1 - Tests using PDO_sqlite now fail

2011-05-02 Thread Donald
the same EntityManager and/or Connection. Thanks, Donald -- 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 users group. To post to this group, send

[symfony-users] Re: PR11 to Beta1 - Tests using PDO_sqlite now fail

2011-05-02 Thread Donald
. Thanks. On May 2, 3:40 pm, Donald chekot...@gmail.com wrote: I'm in the middle of upgrading my project to use Symfony 2 Beta 1, from it's current version of PR11, and I've run into a problem with the tests that I can't work out. I use pdo_sqlite for my tests, and create the schema

[symfony-users] Re: [Symfony2] [Form] Data object property is still updated, even after associated Field is removed.

2011-04-07 Thread Donald
I'd be glad to check it out. Is there any documentation on how to migrate my code to function with this experimental branch? For example: I'm getting errors about form.context service not existing. On Apr 7, 7:39 am, Bernhard Schussek bschus...@gmail.com wrote: Hi Donald, Can you verify

[symfony-users] [Symfony2] Validation changes from PR9 to PR10

2011-04-05 Thread Donald
Hi, I have run into a problem that I can't figure out how to fix. I was using the validation framework to test that certain values were being correctly flagged as invalid, and it was working fine in PR9, but after updating to PR10, I'm getting errors. Here's a small test that can recreate my

[symfony-users] Re: [Symfony2] Validation changes from PR9 to PR10

2011-04-05 Thread Donald
Thanks a lot. I'll be sure to read that with each update from now on. On Apr 5, 12:42 pm, Christophe COEVOET s...@notk.org wrote: Le 05/04/2011 19:35, Donald a crit : Hi, I have run into a problem that I can't figure out how to fix. I was using the validation framework to test

[symfony-users] [Symfony2] Custom Doctrine DQL Function

2011-03-31 Thread Donald
Hi, I'm trying to use a custom DQL function with Symfony 2, but I'm unsure how to register the function with the Doctrine configuration when using Symfony 2. I've setup my DQL function as explained here: http://www.doctrine-project.org/blog/doctrine2-custom-dql-udfs And I've discovered a

[symfony-users] Re: [Symfony2] Custom Doctrine DQL Function

2011-03-31 Thread Donald
Thanks so much for the quick response! On Mar 31, 11:39 am, Christophe COEVOET s...@notk.org wrote: Le 31/03/2011 18:30, Donald a crit : Can anyone tell me how to use my custom function with Doctrine 2 in Symfony 2? Thanks, Register the function throught the configuration: doctrine

[symfony-users] Re: User Authentication

2011-03-09 Thread Donald
mar, 08:03, Florian Semm florian.s...@gmx.de wrote: Am 08.03.2011 15:56, schrieb Donald: OK, I modified the security.yml file as follows: # app/config/security.yml security:    access_denied_url: /error403    providers:      entity:        entity: { class

[symfony-users] Re: User Authentication

2011-03-08 Thread Donald
s...@notk.org wrote: Le 07/03/2011 21:24, Donald a crit : Christophe, Thanks for the response. I'm aware that there are certain features missing from my example above. But I'm trying to keep this test case very limited so I can concentrate on the problem at hand; being that the check

[symfony-users] Re: User Authentication

2011-03-07 Thread Donald
specify one /login/check is the default I think. What UserProvider are you using?  I'm set up using Doctrine Entity and can help you further with that for sure. Some more insight into your configuration would help me help you better. Cheers. Roger On Mar 4, 7:51 am, Donald chekot...@gmail.com

[symfony-users] Re: User Authentication

2011-03-07 Thread Donald
s...@notk.org wrote: Le 07/03/2011 16:18, Donald a crit : Hi Roger, Thanks for the response. I do have the _username and _password fields in my form, and the action of the form is pointing to the _security_check route. I'm using the Doctrine UserProvider. I have tried

[symfony-users] Re: User Authentication

2011-03-04 Thread Donald
? On Mar 3, 4:29 pm, Donald chekot...@gmail.com wrote: Unfortunately the authentication docs there aren't updated at all. So I'm still looking for advice... On Mar 3, 3:18 pm, Donald chekot...@gmail.com wrote: I wasn't aware that was on github. I'll go check it out immediately. Thanks

[symfony-users] [Symfony 2] User Authentication

2011-03-03 Thread Donald
Hi, I'm working with the master branch of the Symfony 2 sandbox, and I'm trying to get user authentication to work. Obviously things have changed a great deal since the last preview release, so I'm hoping to get some pointers. I've managed to get everything setup to the point where I'm being

[symfony-users] Re: User Authentication

2011-03-03 Thread Donald
, Oli On Mar 3, 8:38 pm, Donald chekot...@gmail.com wrote: Hi, I'm working with the master branch of the Symfony 2 sandbox, and I'm trying to get user authentication to work. Obviously things have changed a great deal since the last preview release, so I'm hoping to get some

[symfony-users] Re: User Authentication

2011-03-03 Thread Donald
Unfortunately the authentication docs there aren't updated at all. So I'm still looking for advice... On Mar 3, 3:18 pm, Donald chekot...@gmail.com wrote: I wasn't aware that was on github. I'll go check it out immediately. Thanks! On Mar 3, 3:07 pm, olimination oliminat...@gmail.com wrote

[symfony-users] Symfony 2 : Validate Doctrine ArrayCollection

2011-01-25 Thread Donald
I am trying to validate a collection using the @validation:Valid() annotation, but it does not work with Doctrine 2's ArrayCollection class. I first attempted to extend it and create a ValidArrayCollection class, but I was told that ArrayCollection shouldn't be extended, and that I should put my

[symfony-users] Re: Symfony 2 : Validate Doctrine ArrayCollection

2011-01-25 Thread Donald
/vendor/ symfony/src/Symfony/Bundle/FrameworkBundle/Validator/ ConstraintValidatorFactory.php on line 67 On Jan 25, 8:40 am, Donald chekot...@gmail.com wrote: I am trying to validate a collection using the @validation:Valid() annotation, but it does not work with Doctrine 2's ArrayCollection class

[symfony-users] Re: Symfony 2 : Validate Doctrine ArrayCollection

2011-01-25 Thread Donald
Thanks Bernhard. I have a habit of hitting those apparently . On Jan 25, 8:48 am, Bernhard Schussek bschus...@gmail.com wrote: 2011/1/25 Donald chekot...@gmail.com: I am trying to validate a collection using the @validation:Valid() annotation, but it does not work with Doctrine 2's

[symfony-users] Symfony2 Sandbox git

2011-01-10 Thread Donald
of these is the most appropriate way to setup a new project. They all seem to have their benefits and problems. Can anyone with experience in this provide me with some sage advice? Thanks, Donald -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

[symfony-users] Re: Symfony2 Sandbox git

2011-01-10 Thread Donald
, Pensez à Votre Responsabilitée Environnementale! On Mon, Jan 10, 2011 at 3:26 PM, Donald chekot...@gmail.com wrote: Hi, I've been experimenting with the zip version of the symfony 2 sandbox for a while, and I'd like to start using github for my project. I've read up a little on git

[symfony-users] Re: Symfony2 Sandbox git

2011-01-10 Thread Donald
to use submodules in the right way yet :P) Again, these are my personal reasons. I'm not an expert with git so maybe submodules are the best bet for other developers. Hope this helps :) On Mon, Jan 10, 2011 at 11:26 AM, Donald chekot...@gmail.com wrote: Hi, I've been experimenting

[symfony-users] Re: Symfony2 Sandbox git

2011-01-10 Thread Donald
the repo: git://github.com/symfony/symfony-sandbox.githttps://github.com/symfony/symfony-sandbox On Mon, Jan 10, 2011 at 11:39 AM, Donald chekot...@gmail.com wrote: Thanks. How did you begin working with the sandbox? Did you download the zip, or fork the repo, or clone

[symfony-users] Re: Symfony2 Sandbox git

2011-01-10 Thread Donald
, Donald chekot...@gmail.com wrote: But I'm wondering *how* you got it from the repo? As far as I know, you can download it, or fork it, or clone it, each of which has various repercussions on how a project will behave in regards to updates to the sandbox. On Jan 10, 8:41 am, Gustavo

Re: [symfony-users] Symfony 2 - Pulling the pieces together

2010-09-19 Thread Donald Tyler
://symfony2bundles.org/ and look at some of the projects. On 09/17/2010 05:31 AM, Donald Tyler wrote: One thing I've noticed with the documentation (unless I'm just missing it), is that there seems to be documentation on the various parts of the framework (Validation, Forms, ORM etc), but no documentation

Re: [symfony-users] Re: Symfony 2 - Stability rate of change

2010-09-17 Thread Donald Tyler
security is implemented as a first-class Symfony2 citizen. On Sep 16, 9:01 am, Donald Tyler chekot...@gmail.com wrote: Hi everyone, I've been following the development of Symfony 2 since it was announced, and I would like to try it out with a real project I'm working on. It seems

[symfony-users] Symfony 2 - Pulling the pieces together

2010-09-17 Thread Donald Tyler
a link to those too. I know it's a little early in Symfony 2's development for extensive documentation, but I'd like to start experimenting with at least a little guidance. - Donald -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

[symfony-users] Symfony 2 - Stability rate of change

2010-09-16 Thread Donald Tyler
to constantly rewrite large portions due to API changes? What kind of challenges should I expect to face if I were to build a project using Symfony 2 at this time? Thanks in advance for the advice. - Donald -- If you want to report a vulnerability issue on symfony, please send it to security

[symfony-users] Symfony 2 - Stability rate of change

2010-09-16 Thread Donald
to constantly rewrite large portions due to API changes? What kind of challenges should I expect to face if I were to build a project using Symfony 2 at this time? Thanks in advance for the advice. - Donald -- If you want to report a vulnerability issue on symfony, please send it to security

Re: [symfony-users] Re: Are the design of Symfony2 and Doctrine2 in right direction?

2010-09-13 Thread Donald Tyler
I'm interested in trying Doctrine 2, but the setters / getters thing that the OP mentions concerns me a little. In my own ORM, I use the __set and __get methods to have a consistent access method for properties on my entities. e.g. class Entity { public function __set ($property, $value) {

Re: [symfony-users] Setting a widget's id_format option has no effect

2010-07-25 Thread Donald Tyler
This problem was introduced a whole ago. I have a ticket open for it but it's still not been addressed. It appears that the widget id format is ignored and the forms id format is used instead. This actually makes more sense to me, since you'd typically want to change the id format of the whole

Re: [symfony-users] Screen-cast

2010-07-04 Thread Donald Tyler
Jobeet is probably the simplest thing you should start with. Anything simpler and you'll miss some important key concepts. On Sunday, July 4, 2010, Armansyah Tjogong armansyah.symf...@live.com wrote:  I have learned another PHP framework and currently moving into Symfony. I have read some

Re: [symfony-users] Re: Determine sfGuardPermission required for action, from within an action or filter

2010-07-02 Thread Donald Tyler
On 02.07.2010, at 02:24, Donald Tyler wrote: Excellent, thanks for the pointer. Now, it would be perfect if I could do the same from within a filter. Is there a similar method I can use, or is there a way to access the action object from within a filter? On Thu, Jul 1, 2010 at 1:59 AM, Tom Ptacnik

Re: [symfony-users] Re: Determine sfGuardPermission required for action, from within an action or filter

2010-07-01 Thread Donald Tyler
://www.symfony-project.org/api/1_4/sfAction#method_getcredential On 30 čvn, 14:49, Donald chekot...@gmail.com wrote: I'm trying to determine what sfGuardPermission was required for an action, from within the action. Is this possible? myModule/config/security.yml: show: credentials

[symfony-users] Determine sfGuardPermission required for action, from within an action or filter

2010-06-30 Thread Donald
I'm trying to determine what sfGuardPermission was required for an action, from within the action. Is this possible? myModule/config/security.yml: show: credentials: view something myModule/actions/actions.class.php: class myModuleActions extends sfActions { public function

[symfony-users] Determine sfGuardPermission required for action, from within an action or filter

2010-06-29 Thread Donald Tyler
I'm trying to determine what sfGuardPermission was required for an action, from within the action. Is this possible? *myModule/config/security.yml:* show: credentials: view something *myModule/actions/actions.class.php:* class myModuleActions extends sfActions { public function

Re: [symfony-users] render multiple partials ajax

2010-06-03 Thread Donald Tyler
I'm not completey understanding what you're trying to accomplish. When you say Ajax call from a controller, what exactly do you mean? It doesn't sound like you're talking about a typical ajax request from a browser. On Thursday, June 3, 2010, fRAnKEnSTEin shirkav...@gmail.com wrote: Hi, is

Re: [symfony-users] how to deal with pagination?

2010-06-02 Thread Donald Tyler
You should definitely real the Practical Symfony guide. It'll answer a lot of questions that you might not even know need to be asked. Starting off on the right foot is going to make your life a lot easier in the long run. Good luck! On Wednesday, June 2, 2010, mel_06 06melc...@gmail.com wrote:

Re: [symfony-users] generare_csv

2010-06-02 Thread Donald Tyler
There are a few pieces to this puzzle, and the quickest way to cover them is to read Day 14 of the Jobeet tutorial: http://www.symfony-project.org/jobeet/1_4/Doctrine/en/14 It will demonstrated how to create an atom feed, but the concept is the same, you'll just be outputting CSV instead of

Re: [symfony-users] Cache problem? I don't know

2010-06-02 Thread Donald Tyler
He means he has to refresh the page, which means it's a caching issue. I'm not that familiar with caching, but it sounds like it's probably the client side caching that's the issue, because if it was the symfony caching system, refreshing on the client side wouldn't fix it. On Wednesday, June 2,

Re: [symfony-users] Re: shopping cart?

2010-05-31 Thread Donald Tyler
Bretth, Eno is right, *almost* everything that you mention is not really part of a shopping cart solution. The features that you mention are obviously all very useful for various aspects of sales, but I think you'll have more luck if you search for and combine various different plugins and

Re: [symfony-users] Re: Symfony 1.4 Alias

2010-05-31 Thread Donald Tyler
It sounds like you're just having trouble understanding how to setup a site in Apache. If you can you post the apache configuration for your site, maybe I can point you in the right direction. On Mon, May 31, 2010 at 12:04 PM, RedQueen s.p.alle...@gmail.com wrote: I still don't get it :/ I

Re: [symfony-users] Re: Symfony 1.4 Alias

2010-05-31 Thread Donald Tyler
...@gmail.com wrote: The problem is I HAVE NO ACCESS TO APACHE.CONFIG. And thats why I dont want the alias :D On 31 Maj, 19:10, Donald Tyler chekot...@gmail.com wrote: It sounds like you're just having trouble understanding how to setup a site in Apache. If you can you post

Re: [symfony-users] another ajax doubt

2010-05-28 Thread Donald Tyler
This isn't really Ajax related, it's just JavaScript related. You can easily accomplish this by triggering some JavaScript in the onchange event of the drop down, then having that JavaScript create the text inputs programatically. On Thursday, May 27, 2010, Parijat Kalia kaliapari...@gmail.com

[symfony-users] sfGuardPlugin credential name in secureSuccess.php

2010-05-27 Thread Donald
I'm trying to write a custom secureSuccess.php page for the sfGuardPlugin, and I need to access the credential that caused the user to be re-directed there. Does anyone know if it's possible to access this value from the view? I can see where the value is checked in sfBasicSecurityFilter-

[symfony-users] Re: xhr and REST

2010-03-08 Thread Donald
This question has been resolved at the symfony forum. Thanks to everyone for your help. -- 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 users group. To

[symfony-users] Re: xhr and REST

2010-03-03 Thread Donald
If at all possible, please post responses to the Symfony Forum. -- 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 users group. To post to this group,

[symfony-users] xhr and REST

2010-03-02 Thread Donald
I've been hitting my head against a wall all day trying to figure out why I can't get REST functionality working in my project, and I seem to have hit the following problem: REST worked great when I use symfony generated links with link_to, or using symfony generated forms. But I cannot for the

  1   2   >