create a custom validator that extends sfValidatorSchema
$this->mergePostValidator(myValidatorSchemaCustom);
all submitted values are passed to its doBind method.
this is an example
class myValidatorSchemaChangePassword extends sfValidatorSchema
{
public function __construct($password, $new,
You welcome.
And without ? :-)
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Sat, Jan 23, 2010 at 2:01 AM, Volkov "BabyWolf" Semjon <
volkov.babywolf.sem...@gmail.com> wrote:
> 23.01.2010 6:44, Stéphane пише
23.01.2010 6:44, Stéphane пишет:
http://www.symfony-project.org/book/1_0/07-Inside-the-View-Layer
"
Listing 7-8 - The Action Defines a Variable, in
mymodule/actions/actions.class.php
class mymoduleActions extends sfActions
{
public function executeIndex()
{
$this->total = 100;
}
}
And if using Doctrine to insert it, show us the generated sql query, thanks.
Cheers,
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
2010/1/23 Volkov "BabyWolf" Semjon
> 21.01.2010 17:01, webasker пишет:
>
> C
http://www.symfony-project.org/book/1_0/07-Inside-the-View-Layer
"
Listing 7-8 - The Action Defines a Variable, in
mymodule/actions/actions.class.php
class mymoduleActions extends sfActions
{
public function executeIndex()
{
$this->total = 100;
}
}
Listing 7-9 - The Template Passes the
21.01.2010 17:01, webasker пишет:
Can someone please help me?
I have a database with schema "main" that include a table "User". I
get this exception when inserting an entry into table User.
Doctrine_Sequence_Exception
on demand sequence main."User_Id_seq" could not be created
at ()
in SF_SYMFON
23.01.2010 6:29, Stéphane пишет:
"Dynamic variables", those which aren't declared as action's object
properties in the class statement, are put in a variable holder by using
magic methods. View get those vars by giving to it the varHolder (which
contains dynamic vars).
Properties defined as obj
How did you even create the table User? Did you quote any or all of
the table/column names. I have Postgres 8.4 and it won't let me even
create the user table unless I quote the table names (unfortuately,
Doctrine seems to only allow quoting ALL table names AND ALL column
names) Probably not much p
Hi,
"Dynamic variables", those which aren't declared as action's object
properties in the class statement, are put in a variable holder by using
magic methods. View get those vars by giving to it the varHolder (which
contains dynamic vars).
Properties defined as object property in the class state
23.01.2010 6:07, Volkov "BabyWolf" Semjon пишет:
I read the definitive guide to symfony.
and write this code (apps\frontend\modules\tree\actions\actions.class.php):
I used symfony 1.4.1
--
Не пью; не курю; женщинами интересуюсь, но редко.
--
You received this message because you are subscribe
I read the definitive guide to symfony.
and write this code (apps\frontend\modules\tree\actions\actions.class.php):
class treeActions extends sfActions
{
public $list = array();
/**
* Show the full tree
*
* @param sfRequest $request A request object
*/
public function executeSh
Look here:
http://www.symfony-project.org/tutorial/1_4/en/upgrade#chapter_161aacbf11b8cc24bbdc6951ba0fb57d_mailer
I'm guessing you're using symfony 1.3/1.4?
Cheers, Daniel
On 22.01.2010, at 23:03, Darren884 wrote:
> How do I get emails to work in the development environment? Is there a
> log
Is there another way to omit settting chmod and clearing cache? I have
no access to shell currently.
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this g
How do I get emails to work in the development environment? Is there a
log I am supposed to check somewhere? Thank you for the help.
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups
maybe ... dunno
$this_is_your_form_instance->setPostValidators(new yourCustomValidator());
On Thu, Jan 21, 2010 at 1:25 PM, johnnygri wrote:
> Hi there,
>
> I have a rather complicated form of 50+ fields. The value of one of
> the first fields dictates whether validation should be performed on
maybe try to make using object inheritance ... dunno :)
i have replaced the default routing system using inheritance... Now i have
routing.yml in each one of my modules/config/ directory ... clean for me ...
irrelevant for the application :)
On Thu, Jan 21, 2010 at 3:58 PM, i70013 i70013 wrote:
run 2 things:
symfony project:permissions
symfony cc
i don't know other method.. maybe to reinstall symfony in
"lib/vendor/symfony"
A.
On Fri, Jan 22, 2010 at 3:30 PM, Pax95 wrote:
> I haven't installed Symfony project with tutorials on official site. I
> just downloaded sandbox, create
check the sfFormExtraPlugin, especially the sfAutocompleterWidget (or
something like that)... it will give the answer...
On Fri, Jan 22, 2010 at 3:43 PM, EddieG wrote:
> Hi everybody,
>
> I have two tables...:
> - simpleTable (with attributes id and fk_veryFullTable)
> - veryFullTable (with attr
Thanks Paulo. Your suggestion put me on the right track. After playing
AssetHelper.php I decided I didn't want to override the entire helper
so I extended sfWebResponse's getJavascripts() and getStylesheets()
and was able to achieve the same results. Thanks so much for the
advice.
~Dan
On Jan 21,
I agree with Alex,
all I see in the docs is that the column holds a "timestamp"... to me
that said the column should be of the type "timestamp" as well, and
that doesn't work.
Daniel
On Jan 21, 4:11 pm, "a...@speedypin.com" wrote:
> I guess not enough where you reference Eno, because it’s a bi
Hi everybody,
I have two tables...:
- simpleTable (with attributes id and fk_veryFullTable)
- veryFullTable (with attributes id and URL)
... where simpleTable has a foreign key to veryFullTable.
And I want to use an admin generator form to add an entry to my
simpleTable. In the default setting I
I haven't installed Symfony project with tutorials on official site. I
just downloaded sandbox, created app - palmgames, copied palmgames.php
to the same directory but with name index.php and added simple content
(not using Models, so Doctrine too). Maybe I have forgotten to change
chmods? Errors:
On Thu, 21 Jan 2010, espo wrote:
> im quite new to symfony and Coda too. Is there a way to get
> autocompletion for symfony features in Coda.
> Because its quite anoying to have no autocompletion for symfony
> features.
>
> Maybe someone can point me on a howto or give me a hand on this.
Did you
And I just went to the link you provided and all looks good
On Fri, Jan 22, 2010 at 2:25 PM, Gareth McCumskey wrote:
> Use the dev environment controller as this will show you any error
> messages generated. For example, if your applications name is frontend
> you would load http://www.linuxpl.c
Use the dev environment controller as this will show you any error
messages generated. For example, if your applications name is frontend
you would load http://www.linuxpl.com/frontend_dev.php
Also, make sure that permissions of the files on the server are
correct and also do a symfony cc on the p
Hi Guys,
I have multiple databases set up like this in database.yml:
test:
foo:
class: sfPropelDatabase
param:
dsn: 'mysql://root:@localhost/test_foo'
foo1:
class: sfPropelDatabase
param:
dsn: 'mysql://root:@localhost/test_foo1'
If you are not experienced with javascript, i would suggest to put some ";"
after the end of the "upload" and "complete". This might be the source of
your problems.
Please do not feel unconfortable that i have take you hard on steps 1 & 2.
It is nothing personal.
First step it would be to remove t
thanks for the reply...i thought i had the logic down but it wasnt
showing any errors or warnings. I finally stumbled upon
a method that works--probably the way its supposed to be done. I moved
the logic from the controller to the model in a save method like this:
public function save(Doctrine_Co
Hi Alecs,
Thanks a lot
1. Didnt intend to draw attention as such, just wrote the title in CAPs
2. I thought that by putting 2 issues in the initial post i made it a
bit clumsy so I tried to place just one
3. No problem
4. Okay
5. Like i commented in the c
29 matches
Mail list logo