If you extended your controller class from
Symfony\Bundle\FrameworkBundle\Controller\Controller, you should be able to
access the container as an instance variable, like $this-container.
regards
Stefan Paschke
On Feb 18, 2011, at 8:29 AM, Sébastien Roch wrote:
Hi,
I don't have much
yes you can:
http://www.symfony-project.org/gentle-introduction/1_4/en/08-Inside-the-Model-Layer-Doctrine#chapter_08_sub_object_and_table_classes
On Dec 14, 2010, at 1:02 PM, Andre Lopes wrote:
There are 2 classes for each Table, for example:
JobeetJob.class.php and JobeetJobTable.class.php
if you are using Doctrine, you can turn filters off like this:
SomeModel:
options:
symfony:
form: false
filter: false
it's described on day 10 of the Jobeet tutorial
regards
Le Jul 15, 2010 à 4:16 PM, Gábor Fási a écrit :
I'm using this:
_propel_behaviors:
Hi Samuel
this is pretty straightforward. Install the sfJqueryReloaded plugin for the
jQuery functionality. This gives you the jq_link_to_remote() and
jq_form_remote_tag() functions (that actually replace previous prototype
functions from symfony 1.0). Both functions are wrappers to
Ajax form validation works like regular form validation. The action inits and
binds the form class, if it does not validate, you just return the bound form
complete with error messages. It's described in the jobeet tutorial.
Stefan
On Feb 10, 2010, at 7:24 AM, Samuel Morhaim wrote:
Stefan,
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
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
Hi
I have used symfony for two social network sites, one being a restaurant
recommendation site, the other a casting platform for movie actors / producers.
Both are based on quite complex relational databases which I model with Propel,
enjoying its speed and flexibility. The main part of my
Hello
migrating my project to 1.3 / 1.4, I just noticed
sfPropelParanoidBehaviorPlugin is not working any more. I tried re-installing
with
symfony plugin:install sfPropelParanoidBehaviorPlugin
but I get the error message
No release available for plugin sfPropelParanoidBehaviorPlugin
Hi all
I am trying to write a Propel behaviour to check before saving a new object if
a row with identical values already exists. This should also work with i18n
objects, so I need a good way to tell if a Propel object has i18n, without
using the specific i18n accessors, which always contain
Hi Germana
On Nov 20, 2009, at 1:43 AM, Germana Oliveira wrote:
Wel i have this in my lib/form/AudienciaForm.class.php
public function configure()
{
if ($this-isNew())
{
$conciliadorForm = new AudienciaConciliadorForm();
$denuncianteForm = new PersonaForm(null,
( $this-object-getPersona(),
$this-options );
$this-embedForm( persona, $persona_form );
}
otherwise, the Audienca object won't know what to do with the embedded Persona,
I guess.
regards
Stefan
On Nov 19, 2009, at 5:16 PM, Germana Oliveira wrote:
Stefan Paschke escribió:
Hi Germana
I
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. why does it not work? How do you configure the
first
Hi
I just ran into the same problem, and while I found the solution in
this discussion, I think it is not clear enough, so let me repeat
briefly, in case anyone comes across this in the future:
like Richtermeister says, the problem can be solved by adding a
_uniques key to the schema, and using
14 matches
Mail list logo