[symfony-users] Re: Forms

2009-08-06 Thread Martin Ibarra Cervantes
you can embebed a form and with unset(); in lib/form you can disabled the fields in the function configure(). On Tue, Aug 4, 2009 at 9:07 AM, Richtermeister nex...@gmail.com wrote: Hi juaninf, you cannot auto-generate forms that span more than 1 table. However, once all forms are generated,

[symfony-users] Re: Rebuilding model

2009-08-06 Thread Martin Ibarra Cervantes
if you add a field on the a table you need rebuild the schema and model. On Tue, Jul 21, 2009 at 11:10 PM, James Cauwelier james.cauwel...@gmail.com wrote: I don 't think you should. Database access should be abstracted in Doctrine. However, rebuilding never hurts, except when you have a

[symfony-users] Re: main.css in project skeleton is empty

2009-08-06 Thread collero
Thank you Gábor, Now works fine. I've configured my web server as said in: you may need to configure your web server so that it gains access to the symfony_data/web/sf/ RTFM thing ... :D Thanks again! C. On Aug 5, 10:46 pm, Gábor Fási maerl...@gmail.com wrote: That's not the file the you've

[symfony-users] Forms - Execute a Post Validator only when widget validators have password?

2009-08-06 Thread Stephen Melrose
Hi, I'm only just delving into the world of Symfony 1.2 (yeah, I know), and so far I'm loving the form framework. I'm trying to make a login form. I have the following validators, + A sfValidatorEmail validator for the username field + A sfValidatorString validator for the password field + A

[symfony-users] Use of --generate-in-cache option in ::generate-module command

2009-08-06 Thread Raphael Schumacher
Hi there I am trying to appropriately understand what exactly the --generate- in-cache option does in the doctrine:generate-module command (also exists for propel). The only (and only) documentation on it that I could find says : - command-line help: --generate-in-cache Generate the

[symfony-users] Re: nested forms

2009-08-06 Thread mirfan
Hi Łukasz Wojciechowski, ps here come another issue to me i need the nested forms only for edit, when i am registering a new patient its giving error for the remaining forms in bind function. plz help Regards, On Aug 4, 2:32 pm, Łukasz Wojciechowski lu...@pronet.lublin.pl wrote:

[symfony-users] how to configuate webserver in ubuntu9.04 for symfony 1.2

2009-08-06 Thread toledot
Ubuntu9.04 symfony1.2 with PEAR installation this is my configuation file /etc/apache2/http.conf = NameVirtualHost 127.0.0.1:8080 Listen 127.0.0.1:8080 VirtualHost 127.0.0.1:8080 ServerName jobeet DocumentRoot /home/sfprojects/jobeet/web DirectoryIndex

[symfony-users] Practical symfony header link problem

2009-08-06 Thread nord_ua
Hi! When I'm reading jobeet with doctrine tutorial http://www.symfony-project.org/jobeet/1_2/Doctrine/en/01 header link goes to http://www.symfony-project.org/jobeet/1_2/Propel/en/ . Is it a joke? --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Media Library Plugin

2009-08-06 Thread Kevin Bond
Hi Guys, Wondering if there is a media library plugin that is in development that is friendly with symfony 1.2 and doctrine (similar to sfMediaLibraryPlugin / sfAssetLibraryPlugin). -- Kevin --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Doctrine dynamic select database

2009-08-06 Thread ceven
Hi everyone! I have been searching for how can I setup a Doctrine database connection Dynamic, but all the things I had found don't work with me... I have one master database with all the connection for others databases, when someone do a login I had to connect to the database from that

[symfony-users] Memory leaks symfony + doctrine

2009-08-06 Thread Ken Golovin
Hi, I am processing a large XML, the module I created iterates through about 50,000 records, creates an object for each record and saves it to the DB, and am running into memory issues. The memory usage measured by memory_get_usage() keeps growing with each new object created. I have tried

[symfony-users] Re: Memory leaks symfony + doctrine

2009-08-06 Thread Fabian Lange
Jon can comment on Doctrine internals. As far as I can say: wow 50k objects. Try PHP 5.3 because it finally has a GC that not only uses reference counting. Fabian On Thu, Aug 6, 2009 at 1:56 PM, Ken Golovinken.golo...@gmail.com wrote: Hi, I am processing a large XML, the module I created

[symfony-users] Re: how to configuate webserver in ubuntu9.04 for symfony 1.2

2009-08-06 Thread Tugdual SAUNIER
Apache is waiting a connection on http://jobeet for this virtualhost Two solutions: adding 127.0.0.1 jobeet in your /etc/hosts and connecting to http://jobeet or removing ServeName jobeet in http.conf Le 06/08/09 09:03, toledot a écrit : Ubuntu9.04 symfony1.2 with PEAR installation this is

[symfony-users] Re: Memory leaks symfony + doctrine

2009-08-06 Thread Thomas Rabaix
ORM does not perform well with this kind of operation. You should use this lib http://fr.php.net/xml and raw SQL to import your data. On Thu, Aug 6, 2009 at 2:00 PM, Fabian Lange fabian.la...@symfony-project.com wrote: Jon can comment on Doctrine internals. As far as I can say: wow 50k

[symfony-users] Re: Media Library Plugin

2009-08-06 Thread Thomas Rabaix
http://www.symfony-project.org/plugins/swDoctrineAssetsLibraryPlugin sorry there is no packaged version ... On Thu, Aug 6, 2009 at 1:01 PM, Kevin Bond kevinb...@gmail.com wrote: Hi Guys, Wondering if there is a media library plugin that is in development that is friendly with symfony 1.2 and

[symfony-users] Re: sfValidatorPropelChoice Problem

2009-08-06 Thread Tomasz Ignatiuk
I have the same problem. sfValidatorPropelChoice doesn't work with Varchar PK --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com

[symfony-users] Encoding soap_option automatic in app.yml ?

2009-08-06 Thread AlexChalumeau
Hi, I would like my soap request to automatically detect the encoding it has to be set to. For instance, if my input request is UTF-8, I would like my request to be encoded in UTF 8. On the other side, if my input request is ISO-8859-1, I would like my request to be encoded in ISO-8859-1. It

[symfony-users] Re: sfValidatorPropelChoice Problem

2009-08-06 Thread Tomasz Ignatiuk
I create my own validator Read this: http://www.symfony-project.org/cookbook/1_2/en/conditional-validator --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

[symfony-users] delete a embedded form

2009-08-06 Thread Germana Oliveira
Hi!! i just want to know if somebody knows a way to delete a embedded form from actions Class. I need to do this interactively using ajax. THANKS!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Country and language change with doctrine drop down

2009-08-06 Thread mintao
Is there any possibility to display the country and language names not with the current culture, but each entry in the culture of this country/language. An example of what I'm trying to say: [Choose your language |v|] | English | | Deutsch| |

[symfony-users] sfSslRequirementPlugin - bug with mixed case action names?

2009-08-06 Thread Steve Sanyal
Hi, Has anyone been using sfSslRequirementPlugin? I am noticing something strange - it doesn't work for actions which have mixed case names (eg: createReservation). It seems the security configuration converts all the action names to lower cased, but the plugin doesn't do this when checking.

[symfony-users] Propel - addJoin, how access to property second table?

2009-08-06 Thread berni
hi all, I have a problem access to property in table. Code: $c = new Criteria(); $c-addJoin( CompanyOffersPeer::ID, OffersPricePeer::COMPANY_OFFERS_ID ); $this-offers = CompanyOffersPeer::doSelect( $c ); and I want access to 'price' in offers_price table:

[symfony-users] Re: search page with some checkboxes

2009-08-06 Thread SatBoy78
I've placed some echo commands in searchSuccess, and I've seen that the value of $query is submit, and this is the error this is my form: form action=?php echo url_for('cercadettagli/search') ? method=get table ?php echo $form ? tr td colspan=2 input name=query

[symfony-users] Re: Use of --generate-in-cache option in ::generate-module command

2009-08-06 Thread Eno
On Thu, 6 Aug 2009, Raphael Schumacher wrote: I am trying to appropriately understand what exactly the --generate- in-cache option does in the doctrine:generate-module command (also exists for propel). The only (and only) documentation on it that I could find says : - command-line help:

[symfony-users] 'package' and doctrine

2009-08-06 Thread Kevin Bond
Hello, I couldn't find a real definitive answer to when a propel-like package attribute in the yaml will be available. I noticed in symfony 1.3 you can use it to override plugin schemas but not for independently grouping models. Is something like this in the works? -- Kevin

[symfony-users] Maintaining session data when switching to SSL

2009-08-06 Thread Steve Sanyal
Hi, Does anyone know of a way to maintain session data when switching from non-SSL to SSL? Thanks, Steve --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

[symfony-users] Re: dynamic tables/forms/models with symfony

2009-08-06 Thread cosmy
Yes the forms must be connected because they are the interface for filling the db tables. The matter is that my admin users, through an admin panel of course, should define on their own some tables (very simple tables, not related each other) of the database. So i don't know the structure at the

[symfony-users] Re: Media Library Plugin

2009-08-06 Thread Tom Boutell
Check out pkMediaPlugin. Based on Symfony 1.2 and Doctrine; provides easy ways to send the user off to the media plugin to select one or more items; serves up images scaled to any desired size and caches those at the Apache level. Video is not hosted directly, instead it manages relevant videos

[symfony-users] How change an admin generator filter to use a multiple choose select field

2009-08-06 Thread Nei Rauni Santos
Guys, I'm trying to change a field to use multiple choose select on my admin generator module. For to do it I follow these steps. I've changed the formfilter class on generate.yml like this filter: class: BackendHotelDescriptionFormFilter than, I create this class extending the Base

[symfony-users] How can I add a select field on generator list to choose the number of results by page

2009-08-06 Thread Nei Rauni Santos
Anyone already do it? I need to add a select field on bottom of my admin generator list page to choose the number of results by page. I think that I need to override the template file to add the field, but what's the action that I change? Do you already do it to send me the examples?? Regards,

[symfony-users] Re: different cache versions for logged and non logged users

2009-08-06 Thread Eno
On Thu, 6 Aug 2009, Zdanek wrote: I have this problem. Lets assume I have user items list with Url: http://localhost/:username/list. Then I can have different versions of this list based on if user is logged or not (displaying some user private items). But it seems that it is impossible to

[symfony-users] Re: dynamic tables/forms/models with symfony

2009-08-06 Thread Alan Candido
Hi, I don't tried, it is only an idea, create and run the sfPropelGenerateAdminTask class ou some similar thing. PS Sorry my bad english 2009/8/3 cosmy c.zec...@gmail.com Hi all, I need to realize an application that let the possibility to make dynamic forms and tables determinated by an

[symfony-users] Expiring page when back button is pressed

2009-08-06 Thread Steve Sanyal
Hi, When I log in using sfGuardAuth, and then hit the back button, I see the login screen again and the content on the screen matches an unauthenticated user. I have to refresh the page to get rid of this. How do I instead expire the page so it is not cached by the browser? Do I do this

[symfony-users] BUG: sfYaml can't parse collections

2009-08-06 Thread danielwinter
Why is it that sfYaml in Symfony 1.0 can parse the YAML below but the sfYaml class from components/1.2 can't do it?! Recipients: - title: 'Mr' firstname: 'Peter' lastname: 'Pan' - title: 'Mr' firstname: 'John' lastname: 'Doe' Arg!!! :)