Hi,
just that.
Javi
--
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 group, send email to
symfony-users+unsubscr...@googlegroups.com.
For more
that doesn't works:
Fatal error: Can't use method return value in write context
On 2 fév, 17:33, Tom Ptacnik to...@tomor.cz wrote:
Try
unset($this-validatorSchema['yourfild']);
On 2 ún, 10:52, l3ia-etu emmanuel.tul...@gmail.com wrote:
yes, that's good !
so, i will set the widget
By reading the discussion, I didn't noticed any DRY solution...
this one could help you, even if it's -maybe- not the fastest, but the
DRY'est :
//for sf 1.3
in lib/form/BaseForm.class.php
{{{
public function setup() {
parent::setup();
foreach($this-getValidatorSchema()-getFields()
By reading the discussion, I didn't noticed any DRY solution...
this one could help you, even if it's -maybe- not the fastest, but the
DRY'est :
//for sf 1.3
in lib/form/BaseForm.class.php
{{{
public function setup() {
parent::setup();
foreach($this-getValidatorSchema()-getFields()
Thanks Eddie, I believe installing plugins with svn:externals is
considered best practice anyway.
On Jan 17, 6:07 pm, EddieG ed...@umdiewelt.de wrote:
Hi Kevin,
thanx, that helped a lot! I now have it running, using svn:externals
set to the 0.9.1. release.
Works like charme and I think your
I have a database table with the following fields,
address_1
address_2
address_3
address_4
Currently in my generated form there are 4 sfWidgetFormInputText
widgets, one for each field. These render out in their own rows with
their own labels, errors, etc.
I'd like to group these 4 fields into 1
Hi Stephen
If you don't want to have to write all 4 fields individually in the view, you'd
need a custom widget, I don't see how an embedded form would do this. I have
written a few custom widgets that represent several correlated values, such as
'clothing size' and 'clothing size key', which
Hello.
I did. Fixtures' size was ~400kb total. Symfony 1.2, Doctrine 1.0. I had to
increase memory_limit to (IIRC) 128Mb.
This issue looks for me pretty easy-explainable. Doctrine_Import currently
is actually forced to store ALL the objects recreated from fixtures in
memory while importing
Actually, the example I thought of was done with two separate widgets. But I
found another, a form where the user can enter measurements in a choice of
units (inches or centimeters). The etWidgetFormJQuerySliderWithUnits widget
renders a jQuery UI slider. The unit widget is used over several
I think he means not making a template but messing around with the
generator yaml.
On Feb 1, 10:50 am, Richtermeister nex...@gmail.com wrote:
Hey there,
I know that sounds like a good idea, but it really isn't.
The right place to control access to form fields is in the form class
itself,
Someone implemented Input Widgets in Symfony 1.2 ... 1.4?
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-us...@googlegroups.com.
To unsubscribe from this group, send email to
Hi, i'm getting a problem on the images source.
Here: http://localhost/frontend_dev.php/settings - My image works
fine.
Here: http://localhost/frontend_dev.php/settings/edit - My image
doesn't work fine.
The problem is that he looks to the action like a folter and the
source should be
img
Hiii i am new to the symfony framework.
I am having form with some widgets and respected validators.
Now my question is how can i create validator which dependent on
previous or any of the widgets values.
I am having price text field and not_price checkbox, if i check check
box not_priced price
You should have a look at this doc page:
http://www.symfony-project.org/book/1_0/19-Mastering-Symfony-s-Configuration-Files#Symfony%20Settings
The logging in production environment has to be enabled via the
logging_enabled flag in the settings.yml first. Otherwise the
logging.yml will be
Hi,
Take a loot at sfValidatorCallback and validatorSchema post validation.
Cheers,
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Tue, Feb 2, 2010 at 2:13 PM, jignesh patel
im trying to make the system to save some data, so i do this:
$audiencia = new Audiencia();
//DATOS//
$ordenado =
sfContext::getInstance()-getUser()-getEmpleadoUsuario('id');
$correlativo= Audiencia::obtenerCorrelativo();
$tipo_proceso_id
What should this snippet do?
You do not call any setter of your model.
btw:
'.date('Y').'-'.date('m').'-01' - date('Y-m').'-01' looks better :P
Am 03.02.2010 um 22:23 schrieb Germana Oliveira:
im trying to make the system to save some data, so i do this:
$audiencia = new Audiencia();
Holy /%$·(***:X
.. well i have an excuse: it was late!!!
of course you're right, the code is:
$audiencia = new Audiencia();
//DATOS//
$ordenado =
sfContext::getInstance()-getUser()-getEmpleadoUsuario('id');
$correlativo=
sfOutputEscaperObjectDecorator::offsetExists
On Feb 4, 12:38 am, Mark Smith marksmith5...@jungle-monkey.com
wrote:
Hi,
In my template I only want to print properties that exist.
In pure PHP I would use isset:
echo isset($object-property) ? $object-property : ;
However when the object is
As for me, I usually keep generator.yml in it's default form. All of
my customizations are done by overriding the generated classes and
templates. Keeps me more sane.
On Feb 3, 11:35 pm, a...@speedypin.com a...@speedypin.com wrote:
I think he means not making a template but messing around with
On 1 February 2010 17:00, l3ia-etu emmanuel.tul...@gmail.com wrote:
hi everyone,
i would like to customize an edit action: i would like to disallow the
modification of a field from user that has not a credential:
i can disallow the edition of a field for all users:
config:
form:
21 matches
Mail list logo