[symfony-users] Stop symfony post validator if other validators fail

2009-08-30 Thread Stig Manning
Hi, I have a number of string validators that are required and a post validator. Currently when the required fields are not filled out, the post validator is still running. I would like to prevent the post validator from running if the other required fields is not possible. Form code is like

[symfony-users] Re: How to automatically add stars on required fields using sfForm in Symfony 1.2

2009-08-30 Thread Sid Bachtiar
Actually, I don't know. I haven't used it in embedded forms. Would you be able to look quickly and see if you think it would not? On Mon, Aug 31, 2009 at 4:51 PM, Kris Wallsmith wrote: > > Hi Sid, > > Looks good. Does your solution also work for embedded forms? > I've also proposed a solution to

[symfony-users] Re: Problem with sfYaml::load

2009-08-30 Thread Kris Wallsmith
I'm not sure I can help without more specifics other the referring you to the new Yaml component site and its documentation: http://components.symfony-project.org/yaml/ Kris On Aug 28, 7:58 am, Gnagno wrote: > Hello all, > > I am having trouble with sfYaml::load() (I even tryed to use > sfYamlP

[symfony-users] Re: How to automatically add stars on required fields using sfForm in Symfony 1.2

2009-08-30 Thread Kris Wallsmith
Hi Sid, Looks good. Does your solution also work for embedded forms? I've also proposed a solution to the same problem here: http://kriswallsmith.net/post/144021872/symfony-denote-required-form-fields Kris On Aug 30, 4:34 am, Sid Bachtiar wrote: > Hi all, > > I just written an article on how t

[symfony-users] Re: set variable and forward to another application/module

2009-08-30 Thread Kris Wallsmith
If you want to add a variable to the request scope, the best place to do so is the request object, in the form of an attribute: $request->setAttribute('foo', $foo); Kris On Aug 30, 7:16 pm, Tamer Higazi wrote: > Hi people! > I'd love to set a variable in an application and forward then to one

[symfony-users] set variable and forward to another application/module

2009-08-30 Thread Tamer Higazi
Hi people! I'd love to set a variable in an application and forward then to one other aaplication/module and access the variable from there again. Is that possible in symfony?! I red in the doc only that I am capable forwarding only to one other module, what is not realy desired from my side.

[symfony-users] Re: How could I switch to Lime 2.0 (I understand it's not complete)

2009-08-30 Thread Bernhard Schussek
Previously, Lime was marked as experimental because it wasn't sure whether this branch would ever see a release. By now, Lime 2 is closing in on its first alpha release. This means that Lime's feature set is relatively complete by now, but the API may change as we gather feedback. I will soon wri

[symfony-users] Re: How could I switch to Lime 2.0 (I understand it's not complete)

2009-08-30 Thread Crafty_Shadow
I have noticed that lime 2.0 is no longer marked as Experimental in the SVN branch, does that mean it is closing completion? I intend to use mainly for testing purposes (no pun intended), but still, it would be good to know when does the current revision stand. On Aug 30, 10:53 pm, Bernhard Schus

[symfony-users] Re: How could I switch to Lime 2.0 (I understand it's not complete)

2009-08-30 Thread Bernhard Schussek
Hi, If you are working on a Unix based OS, this is very easy. The following steps assume that you have downloaded Lime2 to lib/vendor/Lime2 and that the symfony source code is located in lib/vendor/symfony. 1. Rename the original lime.php cd lib/vendor/symfony/lib/vendor/lime mv lime.php lime.p

[symfony-users] Re: How could I switch to Lime 2.0 (I understand it's not complete)

2009-08-30 Thread Bernhard Schussek
Okay. In this case you could simply copy the contents of Lime2/lib/ and paste them into symfony/lib/vendor/lime/. Make sure you create a backup of symfony/lib/vendor/lime/lime.php before that. Not as clean, but should work. Bernhard -- Software Architect & Engineer Blog: http://webmozarts.com

[symfony-users] Re: How could I switch to Lime 2.0 (I understand it's not complete)

2009-08-30 Thread Crafty_Shadow
I am currently developing with windows, it would be great if you could provide a few pointers. On Aug 30, 10:40 pm, Bernhard Schussek wrote: > Hi, > > If you are working on a Unix based OS, this is very easy. > > The following steps assume that you have downloaded Lime2 to > lib/vendor/Lime2 and

[symfony-users] Re: Admin Generator compatibility

2009-08-30 Thread Łukasz Wojciechowski
Hi What's new in 1.3: http://trac.symfony-project.org/browser/branches/1.3/WHATS_NEW?format=raw And here You have information about what 1.4: http://www.symfony-project.org/blog/2009/08/06/about-symfony-1-3-and-symfony-1-4 IMO Admin generator of Symfony 1.2 be compatible with 1.4 -- Best rega

[symfony-users] How could I switch to Lime 2.0 (I understand it's not complete)

2009-08-30 Thread Crafty_Shadow
Should I choose to use lime 2.0, would I be able to do so by simply creating a "lime" directory in my lib folder, and rely on Symfony's autoloading to take care of the inclusion order? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[symfony-users] How to automatically add stars on required fields using sfForm in Symfony 1.2

2009-08-30 Thread Sid Bachtiar
Hi all, I just written an article on how to automatically add stars on required fields using sfForm in Symfony 1.2. http://bluehorn.co.nz/2009/08/31/symfony-12-sfform-formatter-to-add-stars-on-required-fields/ I've used this on few of my projects and thought I'd share it. Let me know what you t

[symfony-users] Re: mysqli + doctrine

2009-08-30 Thread Johannes Heinen
Aye sorry, i use the latest sf 1.2.x with doctrine 1.1 On Aug 30, 11:46 am, Johannes Heinen wrote: > Hello anybody > > i wonder if and how it is possible to use a mysqli driver within > symfony + doctrine. > > I am working on a standard ubuntu distri using php package (namely > 5.2.6.x; configur

[symfony-users] Re: ysfOpenPlugin

2009-08-30 Thread emaginero
OK - thanks. :) On Aug 28, 11:29 pm, Dustin Whittle wrote: > Emaginero, > > Currently, the documentation is limited to the README and the example > module. I am adding documentation and soon will create a tutorial and blog > post. > > - Dustin > > On 8/28/09 7:32 AM, "emaginero" wrote: > > > >

[symfony-users] mysqli + doctrine

2009-08-30 Thread Johannes Heinen
Hello anybody i wonder if and how it is possible to use a mysqli driver within symfony + doctrine. I am working on a standard ubuntu distri using php package (namely 5.2.6.x; configure says with mysqli and raw mysqli support is enabled by default, so says $ php -i(nfo()). The problem is, that w