[symfony-users] Re: How can I custom the default css path

2009-08-25 Thread Benoit
Thank you for this idea, but if I write a new helper - with a new function to use instead stylesheet_path() -, I'll have to replace all uses of stylesheet_path() in the framework. On Aug 24, 9:02 pm, David Wang dw...@udfi.biz wrote: you could probably write a new helper include it as default

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-25 Thread Lee Bolding
Actually, it should just be MyApplet. The Java interpreter knows it's a .class file. If you add .class, the JVM will attempt to load/find MyApplet/class.class On 24 Aug 2009, at 22:18, Sid Bachtiar wrote: Don't use the 'web' directory Instead of /web/MyApplet.class it should be just

[symfony-users] Re: ysfDimensions with sfSQLiteCache

2009-08-25 Thread Thomas Rabaix
Dustin, Can you give us your trac username ? my ticket http:// trac.symfony-project.org/ticket/6267 wasn't be reviewed since 5 month ... thanks ! On Tue, Aug 25, 2009 at 12:42 AM, Dustin Whittle dustin.whit...@symfony-project.com wrote: Jules, Create a ticket with patch in trac and assign

[symfony-users] pass default values via constructor in doctrine/propel form

2009-08-25 Thread alessandro cinelli
Hi folks, scenario: user table with FK to department table. I want to set an hidden field with the FK department id. This id is rietrieved from the context, session, whatever. I don't want to access the sfContext in the form configure. The doctrine/propel form constructor has as first argument

[symfony-users] form_remote_tag

2009-08-25 Thread DEEPAK BHATIA
Hi, Will this work ? ?php echo form_remote_tag(array('update' = 'item_list', 'url' = 'request/confirmCab'),array('submit' = 'return validateAssignCab()')); ? Regards Deepak --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[symfony-users] Re: ysfDimensions with sfSQLiteCache

2009-08-25 Thread ju1ius
Yes I know, but my host says it won't install APC because it conflicts with Zend Optimizer which they use to obfuscate code ... And for now I've never seen a shared host with APC installed :-( Anyway, if I use sfNoCache, would the config and various paths have to be parsed on every request ?

[symfony-users] Re: pass default values via constructor in doctrine/propel form

2009-08-25 Thread Łukasz Wojciechowski
Hi folks, Hi scenario: user table with FK to department table. I want to set an hidden field with the FK department id. This id is rietrieved from the context, session, whatever. I don't want to access the sfContext in the form configure. The doctrine/propel form constructor has as first

[symfony-users] Flash attribute of sfUser not working in test and production environment

2009-08-25 Thread dagger
Hi, I have a simple application of posting a review on an article, and when a user posts the review (the user is set to be authenticated, review is invserted in db, and the user is redirected back to the article detail page) on the subsequent page he/she should be able to see a confirmation

[symfony-users] Re: setting defaults values

2009-08-25 Thread Germana Oliveira
thanks for that David :D I just got this message: ERROR: Unexpected extra form field named tipo_persona_id. Unexpected extra form field named tipo_identificacion. Unexpected extra form field named estado_id. Unexpected extra form field named municipio_id. Unexpected extra form field named

[symfony-users] Re: pass default values via constructor in doctrine/propel form

2009-08-25 Thread José Nahuel Cuesta Luengo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Łukasz Wojciechowski escribió: Hi folks, Hi scenario: user table with FK to department table. I want to set an hidden field with the FK department id. This id is rietrieved from the context, session, whatever. I don't want to access the

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-25 Thread Fabian Lange
I wonder why noone checks the html documentation of choice before posting. The correct usage is: applet code=MySocket.class width=350 height=80 codebase=/applet/ /applet put MySocket.class to web/applet and no need to play with .htaccess, because there should be the rule that checks if the file

[symfony-users] Re: setting defaults values

2009-08-25 Thread David Wang
your form class is not allowing extra fields. change that. in the configure() method of your form class: $this-validatorSchema-setOption('allow_extra_fields', true); or add those fields into your widgets and schema -d ..oO David Wang Oo.. ..oO blog - http://www.udfi.biz

[symfony-users] Re: I18n + doctrine + admin generator = Doctrine_Validator_Exception

2009-08-25 Thread devsmt
* 1 validator failed on lang (length) same error here, have you found a solution? --~--~-~--~~~---~--~~ 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] app.yml nested settings dont work

2009-08-25 Thread mintao
I may understood sth wrong, but here's my problem: app.yml: pre all: .thumbshots: thumbshot: path: images/thumbs quality : 75 max_age: 30 delay: 20 screenx: 1024 screeny: 768 optimize: true services: artviper: # GET paremter

[symfony-users] Re: I18n + doctrine + admin generator = Doctrine_Validator_Exception

2009-08-25 Thread Jérome Vandenende
On Tue, Aug 25, 2009 at 3:34 PM, devsmt dev...@gmail.com wrote: * 1 validator failed on lang (length) same error here, have you found a solution? Unfortunately, not yet... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[symfony-users] Re: app.yml nested settings dont work

2009-08-25 Thread Andrei Dziahel
Hi. You should print_r('app_thumbshot') Look into web debug toolbars' config section first. 2009/8/25 mintao florian.fack...@mintao.com I may understood sth wrong, but here's my problem: app.yml: pre all: .thumbshots: thumbshot: path: images/thumbs quality : 75

[symfony-users] Re: app.yml nested settings dont work

2009-08-25 Thread mintao
Hi, print_r('app_thumbshots') displays the following: Array ( [path] = images/thumbs [quality] = 75 [max_age] = 30 [delay] = 20 [screenx] = 1024 [screeny] = 768 [optimize] = 1 [use_service] = artviper [format] = jpg [dimensions] = Array (

[symfony-users] Re: pass default values via constructor in doctrine/propel form

2009-08-25 Thread alessandro cinelli
Thanks guys 2009/8/25 José Nahuel Cuesta Luengo ncue...@cespi.unlp.edu.ar -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Łukasz Wojciechowski escribió: Hi folks, Hi scenario: user table with FK to department table. I want to set an hidden field with the FK department id. This

[symfony-users] Re: setting defaults values

2009-08-25 Thread Germana Oliveira
Why is that now??? it just to work, when i all the fileds in the form and the old processForm ¿? if somebody can explain it to me? i would appreciate it thank you David Wang escribió: your form class is not allowing extra fields. change that. in the configure() method of your form class:

[symfony-users] symfony session

2009-08-25 Thread Tamer Higazi
Hi people! I've set up session handling mechanism in symfony with the database backend storage. However, I'd love to update the session timeout, and regenration of session handling in symfony entirely myself and don't know how. Andy ideas? I know how to get the session ID, but how do I update

[symfony-users] Is symfony-1.0 compatible with php-5.3 ?

2009-08-25 Thread rinku
Hi, Is symfony-1.0 compatible with php-5.3 ??? Has anybody tried it ?? Thanks. --~--~-~--~~~---~--~~ 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] sfWebDebugFilter?

2009-08-25 Thread Tennis Smith
Hi, I'm trying to figure out what sfWebDebugFilter does. Why does sfWebDebug need a wrapper? I'm using symfony 1.0.16 Thanks -T --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this

[symfony-users] Re: Is symfony-1.0 compatible with php-5.3 ?

2009-08-25 Thread Tamer Higazi
I am using symfony-1.2 with php-5.3 and it goes without problems. Tamer rinku schrieb: Hi, Is symfony-1.0 compatible with php-5.3 ??? Has anybody tried it ?? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[symfony-users] Re: Is symfony-1.0 compatible with php-5.3 ?

2009-08-25 Thread Tom Haskins-Vaughan
I haven't tried it, but from the installation documentation, it would appear so: http://www.symfony-project.org/installation rinku wrote: Hi, Is symfony-1.0 compatible with php-5.3 ??? Has anybody tried it ?? Thanks. --~--~-~--~~~---~--~~ You

[symfony-users] Re: Is symfony-1.0 compatible with php-5.3 ?

2009-08-25 Thread Phennim
I've tried php5.3 with XAMPP. It works, but I got a fatal exception at first. [sfParseException] Configuration file /Users/phennim/Sites/sf10site/config/../data/ symfony/config/php.yml specifies key zend.ze1_compatibility_mode which is not a php.ini directive. Commenting out the key in php.yml

[symfony-users] Re: Is symfony-1.0 compatible with php-5.3 ?

2009-08-25 Thread Davinder Mahal
Just last night I checked out an older project using symfony 1.0.20 and it appears to be working with php 5.3 after I made one change. I was having an error regarding zend.ze1_compatibility_mode when the project ran. Turns out this was removed in php5.3 and thus the check for it needs to

[symfony-users] Re: sfWebDebugFilter?

2009-08-25 Thread harryjekyll
AFAIK it is used for embedding the web debug toolbar information at the end of the HTML page, to be more precise, is just before the closing /body tag. And it won't be executed if symfony is not running in debug mode. On Aug 26, 2009, at 12:38 AM, Tennis Smith wrote: Hi, I'm trying to

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-25 Thread rosb
Well, Thanks everybody for all your answers. Fabian excuse me for my basic POST, but neither using your recommendation works. But. finally i found the correct way, at least for my case. applet code=applet.MySocket width=300 height=100 codebase=/ /applet I´m using Eclipse Java EE IDE for Web

[symfony-users] Re: app.yml nested settings dont work

2009-08-25 Thread Richtermeister
Hey Mintao, yeah, there's a limit as to how deep you can go directly. If you need to access deeper nestings, you have to retrieve the parent array first and access it directly. Daniel On Aug 25, 7:20 am, mintao florian.fack...@mintao.com wrote: Hi, print_r('app_thumbshots') displays the

[symfony-users] Re: setting defaults values

2009-08-25 Thread Germana Oliveira
i did that and still does not work... it's not taking the embedded forms fields David Wang escribió: your form class is not allowing extra fields. change that. in the configure() method of your form class: $this-validatorSchema-setOption('allow_extra_fields', true); or add those

[symfony-users] Re: setting defaults values

2009-08-25 Thread jimd
make sure you have validators for all your input widgets. you can just set these 3 fields to validatorPass. i think you'll get that 'extra fields' message if fields do not have an associated validator. On Aug 24, 11:07 am, Germana Oliveira germanaolivei...@gmail.com wrote: I have this issue:

[symfony-users] setting defaults values

2009-08-25 Thread Germana Oliveira
The fields that are showed in the error message belong to the embedded forms. I think, the problem is that i can not just bind those 3 fields because there is a lot more fields that belongs to the form so my questions is... can i set the values of this 3 fields without put them

[symfony-users] Routing Question: Optional url parameter in the middle?

2009-08-25 Thread Richtermeister
Hi all, quick question. I'm trying to accommodate a url with an optional category. Say you have documents that can be categorized, like: /library/legal/ document1.pdf, where legal is a category. Now, for uncategorized documents, I would like those to omit the category parameter, like so:

[symfony-users] Re: app.yml nested settings dont work

2009-08-25 Thread mintao
Oh thanks a lot. I played around for hours especially with these category headers which should be ignored but mandatory if an array follows (you know these pesudo-keys with an . as prefix like .settings). Now I splittet the configuration into several yml files which works perfectly in this case.

[symfony-users] symfony forms

2009-08-25 Thread hcwang
Simply for posterity and my own sanity I wanted to post a fix to a problem I had but couldn't find an answer for in all my searches. Basic stuff, I created a new form and placed it into sfproject/apps/ frontend/lib/form but the damn thing wouldn't autoload. Nothing in the help ile

[symfony-users] Re: symfony forms

2009-08-25 Thread Jake Barnes
On Aug 25, 9:27 pm, hcwang hcw...@gmail.com wrote: Simply for posterity and my own sanity I wanted to post a fix to a problem I had but couldn't find an answer for in all my searches. Basic stuff, I created a new form and placed it into sfproject/apps/ frontend/lib/form but the damn thing

[symfony-users] Re: Flash attribute of sfUser not working in test and production environment

2009-08-25 Thread Eno
On Tue, 25 Aug 2009, dagger wrote: I would also like to know if there are any systems developed in symfony in production at this time - live system examples? (is that a good idea - or is symfony only for prototyping?) Are you asking if symfony is used in real production sites? (The answer

[symfony-users] Re: shouldn't a lack of an id in a form get some kind of error?

2009-08-25 Thread Eno
On Mon, 24 Aug 2009, Jake Barnes wrote: Then I thought, I guess all the times I tried to save before, without an id, I was creating a new record in the database. But I looked in the database, and there were no new records. So now I'm thinking that id needs to be there in the array of

[symfony-users] Re: symfony based shopping carts - hate to reinvent the wheel

2009-08-25 Thread Eno
On Mon, 24 Aug 2009, Davinder Mahal wrote: Yah, i know it's easy but why reinvent the wheel each time. If you've done it once it should be easy to re-use it. -- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: Migrating to a new server

2009-08-25 Thread Eno
On Fri, 21 Aug 2009, Joe Colburn wrote: Now... How do I get version 1.1? 1.2 requires PHP 5.2.4, which I don't have on this server. 1.0 - 1.1 upgrade guide: http://www.symfony-project.org/installation/1_1/upgrade 1.1 - 1.2 upgrade guide:

[symfony-users] Re: symfony based shopping carts - hate to reinvent the wheel

2009-08-25 Thread Dennis Benkert
Or create a plugin from your code so that everybody can use it. :) - Dennis Am 26.08.2009 um 06:56 schrieb Eno symb...@gmail.com: On Mon, 24 Aug 2009, Davinder Mahal wrote: Yah, i know it's easy but why reinvent the wheel each time. If you've done it once it should be easy to re-use it.

[symfony-users] Re: Routing Question: Optional url parameter in the middle?

2009-08-25 Thread Dennis Benkert
Hi Daniel, afaik you can't do this using one route. But without knowing more about your project, how about using a category called 'uncategorized' which will be the default one if non is chosen? This way you can use one route and urls would be like /library/legal/document2.pdf and if no