But in the documentation, it seems that it's supposed to be in a line
by default.
On Jan 15, 2:06 am, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
Maybe by adding some css?
Alecs
sent via htc magic
On Jan 15, 2010 6:40 AM, Doraemon theoneandonlydorae...@gmail.com wrote:
In the
i am newbie can use show me how to right correct code
On Tue, Aug 11, 2009 at 11:29 AM, cokker cokker...@googlemail.com wrote:
It takes a criteria option. Look at the docs.
Greets
Sven
sunny schrieb:
How to use criteria
in
sfWidgetFormPropelChoice widget
also how to display only selected data in dropdown using where clause
thanks
On Tue, Aug 11, 2009 at 11:31 AM, asim nizam asim...@gmail.com wrote:
i am newbie can use show me how to right correct code
On Tue, Aug 11, 2009 at 11:29 AM, cokker cokker...@googlemail.com wrote:
It takes a
I'm not sure what you want to know but in your form:
$crit = new criteria();
$crit-add(x);
$this-widgetSchema[] = new sfWidgetFormPropelChoice(array('model'
= '', 'criteria' = $crit));new sfWidgetFormPropelChoice(array());
For further information, read the docs:
If that is always going to be the default value, then you could set the
default value in your schema.yml
Otherwise, in your action do something like:
$myObject = new myObject();
$myObject-setEstadoId(4);
$this-form = new myObjectForm($myObject);
Germana Oliveira wrote:
I have a
I saved it by ovverriding updateObject (Propel). Now it looks like
this in DB: a field language: es,en,pl
Do you know how to take this field into form and select options in
select? For edit purpose.
--~--~-~--~~~---~--~~
You received this message because you are
I see that only this works:
$this-setDefault('waluty_id', $this-getOption('waluta_part'));
It is quite strange because when I use default here:
$this-widgetSchema['field'] = new sfWidgetFormPropelChoice(array
('model' = 'myModel', 'add_empty' = false, 'default' = 'val'));
There is no error,
Any guess?
On 4 Lut, 15:57, Tomasz Ignatiuk tomek.ignat...@gmail.com wrote:
Hello
I don't know why but in Symfony 1.2.3 sfWidgetFormPropelChoice default
value works only if my form class extends from sfForm. But if it
extends from BaseMyModuleForm created by propel, it doesn't work. Do
you