I just tried it and it works really well! Thank you! :)
On Wed, Dec 30, 2009 at 10:35 PM, Alexandru-Emil Lupu
wrote:
> in my Form class object i ave added :
>
>
>
> public function getErrors($v = '')
> {
> foreach ($this->getErrorSchema() as $field=>$error )
> {
> foreach ($error->ge
On 31.12.2009, at 01:35, Stéphane wrote:
> Check for symfony core events (about configuration loaded or such thing I
> think -feeling), then you'll be able to modify tables definitions (retrieve
> table object then addColumn "dynamically", not via configuration). That is
> what Daniel was spea
yes I use sfFormExtraPlugin 1.1.1, the latest stable version
On 30 Dez., 19:29, gino pilotino wrote:
> is this the _latest_ sfFormExtraPlugin ?
>
> On 30 Dic, 13:51, axel at wrote:
>
> > no one here with the same problem? any ideas?
> > thx
>
> > On 29 Dez., 13:58, axel at wrote:
>
> > > after
Check for symfony core events (about configuration loaded or such thing I
think -feeling), then you'll be able to modify tables definitions (retrieve
table object then addColumn "dynamically", not via configuration). That is
what Daniel was speaking about I believe.
Cheers.
Before Printing, Think
On 31.12.2009, at 01:24, Daniel Lohse wrote:
> I don't get it, I'm using the functionality to add new columns or
> change existing column definitions in the projects schema.yml inside
> my projects successfully! But maybe you meant something else and it's
> me who doesn't get it?
I am tal
Sorry, forgot to add to my reply that you'll have to use sf1.3 for all
of this to work.
Cheers, Dani
Sent from my iPhone
On Dec 30, 2009, at 5:10 PM, Lukas Kahwe Smith
wrote:
>
> On 30.12.2009, at 13:00, Jonathan Wage wrote:
>
>> You can't do it via the schema, but at any point during boot
I don't get it, I'm using the functionality to add new columns or
change existing column definitions in the projects schema.yml inside
my projects successfully! But maybe you meant something else and it's
me who doesn't get it?
Cheers, Daniel
Sent from my iPhone
On Dec 30, 2009, at 5:10 PM
I use it like the following:
public function executeFooList(sfWebRequest $request)
{
$query = Doctrine::getTable('Foo')->createQuery();
$filter_values = $request->getParameter('foo_filters');
$this->form = new FooFormFilter($filter_values); // filters
default values if exist
$thi
is this the _latest_ sfFormExtraPlugin ?
On 30 Dic, 13:51, axel at wrote:
> no one here with the same problem? any ideas?
> thx
>
> On 29 Dez., 13:58, axel at wrote:
>
> > after upgrading to symonfy 1.3 and sfFormExtraPlugin 1.1.1 the
> > "format" option is no longer supported by sfWidgetFormJQ
I am able to get the data migrated, but it is step 3 that I am trying
to find the most correct but direct method (using Doctrine
migrations).
The issue with the example at
http://www.doctrine-project.org/documentation/cookbook/1_0/en/symfony-and-doctrine-migrations
is that it requires the models t
Hi Zeek,
I'm using a windows system, xp. not linux.
From: Zeek
To: symfony users
Sent: Wed, December 30, 2009 12:16:28 AM
Subject: [symfony-users] Re: The user profile class "sfGuardUserProfile" does
not exist.
> Thanks for your response. In my lib/model I
On 30.12.2009, at 13:00, Jonathan Wage wrote:
> You can't do it via the schema, but at any point during bootstrap you can
> retrieve the table instance of a model and add/change things with it. Or you
> can override the setup method and do it there like you said.
ok .. thats a pitty.
i also st
Try this
$m = 1;
foreach ($this->getOption('param') as $i)
{
$temp = 'test'.$m;
$temp1 = 'temp';
$m = $m + 1;
$this->widgetSchema['comment'.$i['id']] = new
sfWidgetFormInputCheckbox(array(), array('name' => $temp, 'id' =>$temp1));
}
On Wed, Dec 30, 2009 at 7:19 PM, dziobacz wrote:
>
I guess this holds for radiobutton and not checkboxAre you want to it
for checkbox ?
Do you want to select one checkbox at a time ?
On Wed, Dec 30, 2009 at 7:09 PM, dziobacz wrote:
> Now they have different names but they should have the same names and
> different ID:
>
>
>
>
>
> On 30 G
By my self: buildQuery().
Javi
On Dec 29, 1:53 pm, tirengarfio wrote:
> In the first link i pasted in my post before there is this code:
>
> public function executeFiltrar(sfWebRequest $request)
> {
> $this->filtro = new ClienteFormFilter();
> // Build a criteria object withe the value of th
Why don't you use sfWidgetFormChoice with expanded = true and multiple = true?
http://www.symfony-project.org/forms/1_2/en/A-Widgets#chapter_a_sub_choice_representations
On Wed, Dec 30, 2009 at 08:01, dziobacz wrote:
> Is it possible to change name widget ? I am doing that:
>
> foreach ($this->ge
ok thx - now is ok - only 1 thing:
not: $temp = 'test'.$m;
but: $temp = 'test';
:)
On 30 Gru, 14:42, DEEPAK BHATIA wrote:
> Try this
> $m = 1;
> foreach ($this->getOption('param') as $i)
> {
> $temp = 'test'.$m;
> $temp1 = 'temp'.$m;
> $m = $m + 1;
> $this->w
heh - again wrong :)
On 30 Gru, 14:42, DEEPAK BHATIA wrote:
> Try this
> $m = 1;
> foreach ($this->getOption('param') as $i)
> {
> $temp = 'test'.$m;
> $temp1 = 'temp'.$m;
> $m = $m + 1;
> $this->widgetSchema['comment'.$i['id']] = new
> sfWidgetFormInput
Try this
$m = 1;
foreach ($this->getOption('param') as $i)
{
$temp = 'test'.$m;
$temp1 = 'temp'.$m;
$m = $m + 1;
$this->widgetSchema['comment'.$i['id']] = new
sfWidgetFormInputCheckbox(array(), array('name' => $temp, 'id' =>
$temp1));
}
On Wed, Dec 30, 2009
Now they have different names but they should have the same names and
different ID:
On 30 Gru, 14:34, DEEPAK BHATIA wrote:
> Try this
> $m = 1;
> foreach ($this->getOption('param') as $i)
> {
> $temp = 'test'.$m;
> $m = $m + 1;
> $this->widgetSchema['comment'.$i['id'
Try this
$m = 1;
foreach ($this->getOption('param') as $i)
{
$temp = 'test'.$m;
$m = $m + 1;
$this->widgetSchema['comment'.$i['id']] = new
sfWidgetFormInputCheckbox(array(), array('name' => $temp));
}
On Wed, Dec 30, 2009 at 6:43 PM, dziobacz wrote:
> I still have:
I still have:
So I can't do that what I want in Symfony forms and I must use normal
forms ? :O
On 30 Gru, 08:59, DEEPAK BHATIA wrote:
> Try this
>
> foreach ($this->getOption('param') as $i)
> {
> $temp = 'test'.$i;
> $this->widgetSchema['comment'.$i['id']] = new
> sfWidgetF
no one here with the same problem? any ideas?
thx
On 29 Dez., 13:58, axel at wrote:
> after upgrading to symonfy 1.3 and sfFormExtraPlugin 1.1.1 the
> "format" option is no longer supported by sfWidgetFormJQuery
>
> $this->setWidgets(array(
> 'from_date' => new sfWidgetFormJQueryDat
after upgrading to symfony 1.4.1 under windows (downloaded zip)
doctrine:build-model generates Base* files with mixed line endings:
'\n' and '\r\n'
a svn commit doesn't work for those files
"svn: Inconsistent line ending style"
--
You received this message because you are subscribed to the Google
You can't do it via the schema, but at any point during bootstrap you can
retrieve the table instance of a model and add/change things with it. Or you
can override the setup method and do it there like you said.
- Jon
On Wed, Dec 30, 2009 at 6:53 AM, Lukas Kahwe Smith wrote:
> Ahoi,
>
> I am won
Ahoi,
I am wondering if there is some way to add behaviors (like SoftDelete and
Blameable) to the sfGuardUser model via the schema.yml. I can add them
ovbiously by customizing the sfGuardUser model class and adding the behaviors
inside the setUp() method, but I would rather manage this via the
Thanks, for delete now it works. But for update? How can I do?
On 29 Dic, 20:06, Alexandru-Emil Lupu wrote:
> Sorry.
> That has to be in your model class
>
> Alecs
>
> sent via htc magic
>
> On Dec 29, 2009 9:05 PM, "Alexandru-Emil Lupu" wrote:
>
> Override your delete method to:
>
> Public func
in my Form class object i ave added :
public function getErrors($v = '')
{
foreach ($this->getErrorSchema() as $field=>$error )
{
foreach ($error->getErrors() as $currentError)
{
$v .= ''.sprintf("In the "%s" tab you have an
error: %s", $field ,
$currentError->getMessage
I have done something like that. I will post my solution later today, as i
haven't yet start my computer
Alecs
sent via htc magic
On Dec 30, 2009 1:37 AM, "Sid Bachtiar" wrote:
Hi all,
I embedded a form inside another form, and I try to print errors (of
all the forms combined) like this in the
Hi,
I've installed sympal plugin on windows using wamp & cygwin. I tried to
install sympal plugins through CLI command below. (symfony 1.4)
$php symfony sympal:install Blog
When issued this following error came.
Fatal error: Call to member function getRootDir() on a non-object in
$Project_Home
Hi,
I've installed sympal plugin on windows using wamp & cygwin. I tried to
install sympal plugins through CLI command below. (symfony 1.4)
$php symfony sympal:install Blog
When issued this following error came.
Fatal error: Call to member function getRootDir() on a non-object in
$Project_Home
31 matches
Mail list logo