http://www.symfony-project.org/forms/1_2/en/01-Form-Creation#chapter_01_sub_defining_default_values_for_fields
On Fri, Nov 20, 2009 at 12:39 AM, gato chlr wrote:
> hi!
>
> How to set the Html 'value' attribute from a sfWidgetFormInputHidden
>
> i mean,
> $a = new sfWidgetFormInputHidden();
> how
They don't need to ;)
On Thu, Nov 19, 2009 at 9:50 PM, Simon Cast wrote:
> They didn't want to learn the Symfony forms. :(
>
> On Sep 29, 10:34 pm, Eno wrote:
> > On Tue, 29 Sep 2009,SimonCast wrote:
> > > I would like to use the full Symfony layer but the person doing the
> > > presenation/HTM
http://groups.google.com/group/symfony-users/browse_thread/thread/08d7a1e4b53f3bb0
On Nov 18, 8:20 pm, "Antoine S."
wrote:
> Hi,
>
> if your customised form extends sfForm, it should not be a problem,
> and include the csrf, and valid it.
>
> Don't forget to display it in the template if you don'
addCSRFProtection(null);
http://groups.google.com/group/symfony-users/browse_thread/thread/08d7a1e4b53f3bb0
On Nov 18, 8:20 pm, "Antoine S."
wrote:
> Hi,>
> if your customised form extends sfForm, it should not be a problem,
> and include the csrf, and valid it.
>
> Don't forget to display it in
Well, no one likes to tag onto a 'whining' post. I shouldn't be
surprised :-)
When I'm rich, (because of using symfony), I will hire somebody to
produce 'database mentality' documentation. (See Postgres docs, or
Oracle docs)
On Nov 12, 8:40 pm, Dennis wrote:
> I have had nothing but grief when i
I have no clue why I am having such a hard time with this, I have used
the symfony form validation before, but for some reason I just can't
get the errors messages to display using the renderGlobalErrors() form
method. the $form['field']->hasError() works and I am using it to turn
the input box bor
You're not doing anything with the output of twig. as far as the
surrounding symfony application is concerned, you're executing the
TestTwig action, and it's looking for a corresponding template. In
your case you want to echo the twig output and then say:
return sfView::NONE, or stick the twig outp
I did a little trial and error and found out that if you change your
method call to:
in my case getAddress_2()
in your case getPhone_1()
it will work. I'm not sure why it camel cases the function call, if it
doesn't work, but I do think it may have something to do with it only
containing a dig
Wel i have this in my lib/form/AudienciaForm.class.php
public function configure()
{
if ($this->isNew())
{
$conciliadorForm = new AudienciaConciliadorForm();
$denuncianteForm = new PersonaForm(null, array('tipo' =>
'natural'));
$denunciadoForm = new PersonaForm(nul
Hi every:
I'm trying to use Twig on Symfony 1.4RC1. After read the docs I've wrote
this piece of code:
function preExecute() {
require_once sfConfig::get('sf_lib_dir').'/twig/Autoloader.php';
Twig_Autoloader::register();
}
public function executeTestTwig() {
$loader = new
Twig_Lo
Hahaha, very nice ... thanks for the link
On Fri, Nov 20, 2009 at 1:31 PM, a...@speedypin.com wrote:
> http://www.youtube.com/watch?v=a0qMe7Z3EYg&feature=player_embedded&aia=true
>
> Dudes pretty cool, very funny, good info presented well/authentic.
>
> I just wanted to share, hopefully all Symfo
http://www.youtube.com/watch?v=a0qMe7Z3EYg&feature=player_embedded&aia=true
Dudes pretty cool, very funny, good info presented well/authentic.
I just wanted to share, hopefully all Symfony developers are upper
crust developers of the industry so may find this worth a view. (I
certainly like it an
Hi Malcolm,
Nice to meet you :D
Some of us could probably help if we could speak French
2009/11/19 Malcolm :
> Bonjour a tous!
>
> Avant que vous ne me sautiez dessus - le probleme est un peu plus
> complexe qu'au premier regard.
>
> Je dois travailler sur un projet existant, sous Symfony 1.021.
Hey guys,
I just saw on Twitter than Atlassian are offering their startup kits again -
most (all?) of their products, limited to 10 users (except Crowd - 50 users)
for $10 apiece.
These are some SERIOUSLY good bits of software. If you have a small development
team, I can't recommend them highl
hi!
How to set the Html 'value' attribute from a sfWidgetFormInputHidden
i mean,
$a = new sfWidgetFormInputHidden();
how can i do somthing like $a->setValue($myValue);
so ,when i print the $form (echo $form)
the html printed result as next:
..
..
Thanks a lot
--
You received this m
Thanks anyway, Fabian.
I just resolved it by making a fresh checkout, then manually overwriting all of
the changed files. Not sure why that worked, I was still prompted for my
authentication details, and still entered the same...
Anyway, that means there's a brand spanking new sfErrorHandlerPl
It would be indeed nice if some effort could be made to get this plugin
working on symfony 1.3/1.4. I can't migrate my 1.2 project to 1.3 as it
heavily depends on this plugin. My original plan was to migrate my project
at some point in the future to Doctrine and ease the transaction-pain by
tempo
Progress update on using Symfony as API with frontend dealt with
elsewhere.
It is working surprising well. The MVC aspect of Symfony makes
creating REST web services easy and the View layer helps return the
data nicely formatted.
Symfony has been well suited to this approach.
-Simon
On Sep 29,
No, I was following the MVC symfony stuff as described in the
documents. It was the thought of learning something new. Big thing
came down to he didn't want to learn the forms or the templating
helpers for Symfony. In the end I couldn't be bothered trying to
convince him of the better way of doi
Yes and that's how I learnt it. But he saw the 100+ pages and didn't
want to learn and honestly didn't want to keep the argument going.
API has worked generally well.
On Sep 30, 3:28 pm, david wrote:
> The sf for web designers is pretty easy reading:
> http://www.symfony-project.org/forms/1_2
Ended up going with API and he can write it using PHP files & JS how
he likes. There is a point where it becomes easier.
On Sep 30, 3:24 pm, webPragmatist wrote:
> On Sep 29, 5:35 pm, Eno wrote:
>
> > On Tue, 29 Sep 2009,SimonCast wrote:
> > > I written the application to use the full Symfony f
No, they aren't using a framework at all and simply used PHP with JS.
The frontend guy is more designer than dev.
On Sep 30, 4:06 am, Ant Cunningham wrote:
> SimonCast wrote:
> > Why? Quite simply my programming skills/experience doesn't extend to
> > doing what you talk about in the time I have.
Yes but he got stuck on the 100 pages about the framework and honestly
didn't want to argue.
On Sep 29, 10:35 pm, Eno wrote:
> On Tue, 29 Sep 2009,SimonCast wrote:
> > I written the application to use the full Symfony framework however
> > the person responsible for the UI doesn't want to learn S
They didn't want to learn the Symfony forms. :(
On Sep 29, 10:34 pm, Eno wrote:
> On Tue, 29 Sep 2009,SimonCast wrote:
> > I would like to use the full Symfony layer but the person doing the
> > presenation/HTML doesn't want to use Symfony.
>
> Because? (Just curious if they have any good reasons
Fabian,
I updated the symfony library to the latest SVN version, now it works fine.
-Original Message-
From: Fabian Lange [mailto:fabian.la...@symfony-project.com]
Sent: Wednesday, November 18, 2009 16:29
To: symfony-users@googlegroups.com
Subject: Re: [symfony-users] symfony 1.3 - prope
How can I add a default attribute, class="error", when any for widget
is rendered and 0 < count($errors) and a class attribute isn't
specified?
e.g. I want,
- to output,
- if this field has a validation error
I looked at the sfWidgetFormFormatter classes, which control the
markup around wid
Something is wrong with Google. Just yesterday it started emailing me
every messages posted here, even though I've always had my preferences
set to "no email".
Let's hope they get this fixed quickly.
On Nov 19, 12:26 pm, "Patrick Landolt"
wrote:
> Same problem here!
>
> please remove me, too.
>
Same problem here!
please remove me, too.
thanks
Von: Damien Brugne [mailto:dbru...@x-prime.com]
Gesendet: Donnerstag, 19. November 2009 18:22
An: symfony-users@googlegroups.com
Betreff: [symfony-users] Unsubscribe from the group
Hello Admins,
Please unsubscribe me from this l
Hello Admins,
Please unsubscribe me from this list. I tried to send an email to
symfony-users+unsubscr...@googlegroups.com and received an error message:
Delivery to the following recipient failed permanently:
symfony-users+unsubscr...@googlegroups.com
Technical details of permanent failu
Hi Germana
did you aggregate the object that populates the embedded form? In the main
forms configure():
public function configure()
{
...
if ( $this->object->getPersona() == null )
{
$this->object->setPersona( new Persona() );
}
$persona_form = new PersonaForm( $t
Stefan Paschke escribió:
> Hi Germana
>
>
>> I have to embedded Forms into a main Form, and i have to do this process:
>>
>> 1. Save the embedded Form number1
>> 2. Save the main Form (the main Form have some Foreing Key from Embedded
>> Form number1)
>>
>
> that is pretty much standard. w
Hello everyone,
I developed a small symfony applications in which I position in
google, the problem is that when I go to check the metatags of the
home page (index.php) I get a 500 error when I consult with tools like
"http://www. submitexpress.com / analyzer / ", but to enter another
page not erro
Checks Privileges on your User db
On Nov 19, 5:01 am, Shahzeb Farooq wrote:
> hi all ,
> i am facing a problem that i have created a project all gone well but
> im stuck at symfony doctrine:data-load when ever i tried to load data
> from /fixtures to database.
> when i execute the command it sho
The solution is to put the check into a pre or post validator in the
form. You can pass everything into the form that is required to
perform the check.
Bernhard
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email
Hello
Inside the executeXYZ() function of an actions.class.php I check a condition
that can not be put into validators. If that condition fails I still want
to have a red error message on top of the formular. How is this possible?
I.e.:
public function executeXYZ(sfWebRequest $request) {
Problem solved. We have just added parameter tableName:
schema.table_name to section I18n in file schema.yml and it works.
On Nov 2, 2:34 pm, jakub novotny wrote:
> I18n, Doctrine, Postgres, Schemas
>
> I have been working on project written in Symfony 1.2.9 with Doctrine
> 1.2, where
> we use se
I just updated my libraries to what is in the repository this
morning. I had made a change to my existing MySQL database schema, so
I wanted to regenerate the models, etc. When I went to rebuild the
schema this time, I ran into this error:
jwh...@sejam-linux:~/TestSymfony$ ./symfony doctrine:bui
UP!
On Thu, Nov 19, 2009 at 11:55, Gareth McCumskey wrote:
> I know this isn't exactly an issue that needs resolving but I just had to
> send my thanks to the symfony developers for producing such a great
> framework. Why? you might ask. This morning our company directors held a
> breakfast demo
On Nov 19, 12:20 pm, Gareth McCumskey wrote:
> You can stick with Propel can't you? Doctrine is only the default plugin and
> can be changed to use Propel instead.
Yes, the standard functionality of DbFinder might work (the simpler
querying), but I was thinking about the admin generator stuff.
Ho
I know this isn't exactly an issue that needs resolving but I just had to
send my thanks to the symfony developers for producing such a great
framework. Why? you might ask. This morning our company directors held a
breakfast demo to numerous companies and potential clients to show the
products and
post your fixtures and your schema
On 19 Nov, 10:01, Shahzeb Farooq wrote:
> hi all ,
> i am facing a problem that i have created a project all gone well but
> im stuck at symfony doctrine:data-load when ever i tried to load data
> from /fixtures to database.
> when i execute the command it show
You can stick with Propel can't you? Doctrine is only the default plugin and
can be changed to use Propel instead.
On Thu, Nov 19, 2009 at 11:18 AM, Jan Fabry wrote:
> Hello,
>
> Is anyone working on updating DbFinderPlugin for Symfony 1.3/1.4, and
> the included versions of the ORM frameworks?
hi all ,
i am facing a problem that i have created a project all gone well but
im stuck at symfony doctrine:data-load when ever i tried to load data
from /fixtures to database.
when i execute the command it shows following message
>> doctrine loading data fixtures from "/ho...fprojects/jobeet/dat
hi all ,
i am facing a problem that i have created a project all gone well but
im stuck at symfony doctrine:data-load when ever i tried to load data
from /fixtures to database.
when i execute the command it shows following message
>> doctrine loading data fixtures from "/ho...fprojects/jobeet/da
Bonjour a tous!
Avant que vous ne me sautiez dessus - le probleme est un peu plus
complexe qu'au premier regard.
Je dois travailler sur un projet existant, sous Symfony 1.021.
J'ai acquis la le projet du SVN. Etant sous Mac os, et mon disque dur
etant formate en case-insensitive, j'ai du monter
Hi Gareth,
thanks verymuch.
It helped.
I added below line code in sfGuardBasicSecurityFilter
//signour if guest user and click on login page
if($this->getContext()->getUser()->getGuardUser()->getIsGuest())
{
$this->getContext()->getUser()-
Hello,
Is anyone working on updating DbFinderPlugin for Symfony 1.3/1.4, and
the included versions of the ORM frameworks? I don't know whether
François will spend more time on it, and I don't see any other
activity.
I would like to use it for a new project, but I guess the best way to
do this is
47 matches
Mail list logo