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 wrote: > A PDF version of the boo

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 wrote: > Hi, > > I have the same problem since BETA 2: > > public function buildForm(FormBuilder $builder, array $options) > { > $builder->add('firstname', 'text'); > $builder->a

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 page for more info. The sect

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 clas

[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 describ

[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 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

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 "hel

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 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={&

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 wrote: > Le 12/05/2011 21:43, Donald Ty

[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 PhoneC

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 wrote: > Le 11/05/2011 18:13, Donald Tyler a écrit : > > I agree with stof also. That would also open the opportunity for >>

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 wrote: > fully agreeing with Stof > > On Wed, May 11, 2011 at 11:06 AM, Christophe COEVOET > wrote: > > Le 11/05/2011 17:4

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

2011-05-11 Thread Donald Tyler
t; * repository methods below. > > */ > > class ParceiroRepo extends EntityRepository > > { > > public function save(Parceiro $parceiro) { > > > > $parceiro->setSalt(md5(time())); > > $password = $parceiro->getSe

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

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

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 wrote: > > ok thanks for your reply donald i will view the webserver logs and sorry > for my bad english > > 2011/5/9 Donald Tyler > >> Then your only option for detailed info is to

Re: [symfony-users] deploy site symfony

2011-05-09 Thread Donald Tyler
Then your only option for detailed info is to view the webserver logs. Also, you should delete the frontend_dev.php file from the server. That file shouldn't be deployed to a production server. On Mon, May 9, 2011 at 8:21 AM, Hamza Tlili wrote: > is a production server > > >

Re: [symfony-users] deploy site symfony

2011-05-09 Thread Donald Tyler
o access to this file > > > 2011/5/9 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. >> >> >>

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

2011-05-09 Thread Donald Tyler
A senha precisa ser > no mínimo 6 dígitos option> > > >Erro senha > > > > > > > > > > > On May 9, 9:32 am, Donald Tyler wrote: >

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 wrote: > If you're only getting a 500 error in the b

Re: [symfony-users] deploy site symfony

2011-05-09 Thread Donald Tyler
If you're only getting a 500 error in the browser, you're going to have to look in the logs for more information on what exactly went wrong. On Mon, May 9, 2011 at 2:55 AM, Hamza Tlili wrote: > and also the authentification don't work i used sfguardplugin ,everything > locally work fine but afte

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] Re: How disable validation inherit parent?

2011-05-09 Thread Donald Tyler
efone > */ >public function setTelefone($telefone) >{ >$this->telefone = $telefone; >} > >/** > * Get telefone > * > * @return string $telefone > */ >public function getTelefone() >{ >return $

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 wrote: > Hi, I'm trying to change default collation, charset and engine when > creating database with doctrine:database:create. > Right now it sets to l

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 wrote: > Hi all, > > I am beginner and just start symphony. > > after i setup the virtualhost in the apache httpd.conf, i run > 127.0

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 y

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: [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 wrote: > Somebody knows any example that using repeated type form (Symfony2 > Beta1)??? > I try everything

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

2011-05-07 Thread Donald Tyler
hu, May 5, 2011 at 12:57 PM, Michael Holm 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 trie

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] 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] 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] deploy site symfony

2011-05-06 Thread Donald Tyler
>> hi thanks for your answer 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 >> >>> Sounds like you're receiving a PHP error and your server has outpu

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 devel

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 wrote: > Hello > I try to deploy my site symfony, I changed the file .htaccess but when I > go to index.php there is nothing teh page is empt

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 wrote: > 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 > stacktrace and for the public with

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 wrote: > hello, > how can i remove my email from this group. > please, i receive all your email it's boring. > > regards. > > Mamadou Aliou Bobo Diallo

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

2011-05-06 Thread Donald Tyler
dd javascript to a form, to show/hide fields ? Should > I change the widgets ? > > > On May 5, 2:41 pm, Donald wrote: > > You'll want to read the Doctrine documentation for info on > > inheritance: > > > > http://www.doctrine-project.org/docs/orm/2.0/en/ref

[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 wrote: > I noticed that after the Forms refactor in Beta1, that the code in > Form::bindRequest() gives the impression that it should now support PUT

[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 t

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

2011-05-05 Thread Donald Tyler
gt; > i have the same problem when i want to render my login form, i have to > do that manually because symfony except: > > > ever i can call it, i would be so glad to know.. if there are no way, > its fine too.. i just cannot find any documents telling me the one > thing or

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 wrote: > A redirect by it's very nature cannot send any POST dat

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 s

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 wrote: > Hi, > > Im building a REST API for my application, and what i want to do is

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 wrote: > Hi, > > How to

[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 wrote: > How does Symfony2 handle inheritance ? > > On May 4, 5:35 pm, Donald wrote: > > >

[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] How to configure custom test client

2011-05-04 Thread Donald
Thanks! On May 4, 11:03 am, Christophe COEVOET 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

[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 wrote: > Screwed up that copy & paste! > > The correct error is: There is no extension able to load the > c

[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

[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 ext

[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 wrote: > I tried setting up a custom Client as you explained, but I'm getting > an error complaining that "tes

[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 wrote

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

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

[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 wrote: > Hi Daniel, > > Thanks for the info. Although comme

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

2011-05-03 Thread Donald
tdown / reboot process... On May 2, 6:28 pm, danielholmes 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

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

2011-05-02 Thread Donald
input if anyone has any helpful pointers. Thanks. On May 2, 3:40 pm, Donald 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. > >

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

2011-05-02 Thread Donald
t couple of lines of this test works, it is configured correctly. Can anyone point me in the direction of what changed to break this? It seems as if the MyTest and Client instances are not working from the same EntityManager and/or Connection. Thanks, Donald -- If you want to report a vulnerabilit

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

2011-04-07 Thread Donald
Well, after a fresh look at it this morning, turns out I'm an idiot. There was a line of code that caused form in question to be re-created after I had removed the fields. On Apr 7, 8:59 am, Donald wrote: > I'd be glad to check it out. Is there any documentation on how to > mi

[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 wrote: > Hi Donald, > >

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

2011-04-06 Thread Donald
I've been banging my head against a wall all day trying to figure this out, and unfortunately I haven't managed to get a nice self contained test case to re-create the problem. But I'm just going to throw the question out there and hope someone has some insight. I know it's a long shot... I have a

[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 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.

[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 prob

[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 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 t

[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 setting

[symfony-users] Re: User Authentication

2011-03-09 Thread Donald
sn't work. > > Regards > > On 9 mar, 08:03, Florian Semm wrote: > > > > > > > > > Am 08.03.2011 15:56, schrieb Donald: > > > > OK, I modified the security.yml file as follows: > > > > # app/config/security.yml > > >

[symfony-users] Re: User Authentication

2011-03-08 Thread Donald
Christophe COEVOET 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 > >

[symfony-users] Re: User Authentication

2011-03-07 Thread Donald
he COEVOET 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_

[symfony-users] Re: User Authentication

2011-03-07 Thread Donald
e "check_path" specified in your configuration.  If you > don't 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. > > Som

[symfony-users] Re: User Authentication

2011-03-04 Thread Donald
f so, how do I authenticate the user? If I don't need the checkAction method, how exactly do I authenticate a user? On Mar 3, 4:29 pm, Donald wrote: > Unfortunately the authentication docs there aren't updated at all. > > So I'm still looking for advice... > > On M

[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 wrote: > I wasn't aware that was on github. I'll go check it out immediately. > > Thanks! > > On Mar 3, 3:07 pm, olimination w

[symfony-users] Re: User Authentication

2011-03-03 Thread Donald
ocs > > greets, > Oli > > On Mar 3, 8:38 pm, Donald 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

[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 redi

[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 wrote: > 2011/1/25 Donald : > > > I am trying to validate a collection using the @validation:Valid() > > annotation, but it does not work with Doctrine 2's ArrayColl

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

2011-01-25 Thread Donald
ers/dtyler/Projects/quartz/src/vendor/ symfony/src/Symfony/Bundle/FrameworkBundle/Validator/ ConstraintValidatorFactory.php on line 67 On Jan 25, 8:40 am, Donald wrote: > I am trying to validate a collection using the @validation:Valid() > annotation, but it does not work with Doctrine 2&#x

[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 l

[symfony-users] Re: Symfony2 Sandbox & git

2011-01-10 Thread Donald
With this url: > > git://github.com/symfony/symfony-sandbox.git > > <http://github.com/symfony/symfony-sandbox.git>You have only read access. In > my case, I clone it, then I delete the .git directory and finally import it > to my own repo. > > Hope this helps. > > >

[symfony-users] Re: Symfony2 Sandbox & git

2011-01-10 Thread Donald
> > git://github.com/symfony/symfony-sandbox.git<https://github.com/symfony/symfony-sandbox> > > > > > > > > On Mon, Jan 10, 2011 at 11:39 AM, Donald wrote: > > Thanks. > > > How did you begin working with the sandbox? Did you download the zip, &g

[symfony-users] Re: Symfony2 Sandbox & git

2011-01-10 Thread Donald
lot of time (maybe I don't know how > 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 :) > > > > > > > >

[symfony-users] Re: Symfony2 Sandbox & git

2011-01-10 Thread Donald
t Your Environmental Responsibility! > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! > > > > > > > > On Mon, Jan 10, 2011 at 3:26 PM, Donald wrote: > > Hi, > > > I've been experimenting with the zip version of the symfony

[symfony-users] Symfony2 Sandbox & git

2011-01-10 Thread Donald
exactly sure which 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 securi

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

2010-09-19 Thread Donald Tyler
to do is to look at other people's work. Head > over to http://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 see

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

2010-09-17 Thread Donald Tyler
along these lines I'd appreciate 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,

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

2010-09-17 Thread Donald Tyler
are still > in the pipeline (e.g. Fabien is still deciding how to implement the > security component). Given that, if you were to utilize knplabs' > DoctrineUserBundle right now, you might find yourself having to adapt > that down the line once security is implemented as a first

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

2010-09-16 Thread Donald
g a project now, am I going to have 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 symf

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

2010-09-16 Thread Donald Tyler
g a project now, am I going to have 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 symf

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] newbie stuck on apache conf

2010-07-26 Thread Donald Tyler
Is mamp running apache as you, or as www? On Monday, July 26, 2010, Ted wrote: > Hello sf users > > I'm new to sf.  I've spent days messing with the MAMP based apache > config.   I can successfully get the project created page but not with > images.  Docs only say "f you see no image in this

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 for

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 wrote: > >  I have learned another PHP framework and currently moving into Symfony. I > have read some tutorials and I found it a

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

2010-07-02 Thread Donald Tyler
Doh! Why didn't I think of that? sfBasicSecuritFilter->getUserCredential() seems to have what I need. Thanks for the help! On Fri, Jul 2, 2010 at 1:26 AM, Daniel Lohse wrote: > Have a look at the bundled filters, you'll find your answers there. :) > > Daniel > > On

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

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

[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 executeShow(sfRe

[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 executeShow

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 wrote: > Hi, > > is there any way to ren

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] 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 atom.

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] Re: Symfony 1.4 Alias

2010-05-31 Thread Donald Tyler
I am in "web" folder. > I want the same without this unnessesary alias > > On 31 Maj, 19:19, RedQueen 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

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 wrote: > I still don't get it :/ > I will try to explain mo

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 soluti

  1   2   >