there are some values and if not, end the method. If yes,
> call parent::save()
>
> On 30 čnc, 01:51, J_Wesker wrote:
>
> > After making some changes on my code and debugging using die's and
> > var_dump() all day,
> > I haven't found the cause of
After making some changes on my code and debugging using die's and
var_dump() all day,
I haven't found the cause of all this. But I have make sure of some
facts:
1. If I embed directly the comment form, and set the body field as
required, then both objects get saved smoothly,
unfortunately the bus
Forms of ExpenseForm)
>
> > *$comment** **=** **$this**->**getValue**(**'**comment**'**);*So the line:
>
> > *unset**(**$forms**[**'**comment**'**]);*
>
> > doesn't execute never?
>
> > On Wed, Jul 28, 2010 at 11:22 PM, J_Wesker wrote:
&
Hi symfony guys!
I've been working on embedded forms for some days now, and I'm really
getting desperate
This is my story:
I have 3 tables... expense, user and comment; they have a 1:N
relationship, where the user must be able to type a new comment each
time the form is displayed. So, I need to
If you are using symfony 1.2 or above, and your are trying to make a
functional test, you can use the sfTesterUser class like this:
$browser->
get('/')->
with('user')->begin()->
isCulture('es')->
isAuthenticated(true)->
hasCredential('admin')->
isAttribute('sfguard_user_id', '
Hi symfony community!
I have searched on several posts related to this widget for several
days, but until now I haven't found a lead about how to accomplish
what I need in a form.
The situation is like this:
The form is using several autocomplete fields, and everything is
working great! But it c
Hi everyone!
I'm currently using:
sfWidgetFormPropelJQueryAutocompleter for the autocompletition
feature.
Symfony 1.2
Mozilla Firefox 3.5.5
Firebug 1.4.5
When the new or edit actions are executed, the autocomplete enabled
field works like it should, but if a validator catches an error on any
field
I recall a method called sfAction::setLayout(), you could call this
from the signin action:
$this->setLayout(false);
On Nov 20, 2:18 pm, tirengarfio wrote:
> Hi,
>
> I have started to create the layout for my app, but it also appears in
> my signining page...
>
> I dont want that, so what can i
I have been trying to do some functional tests on my user after login
in. I read here (http://www.symfony-project.org/cookbook/1_2/en/test-
application#chapter_98d28ad443a8f32769300bb40973ec7d_sub_user_tester)
that the sfTesterUser::isAttribute() can test the value of an
attribute, and in the exam
Hi Symfony Users!
I'm working on a project that involves a secured frontend, where each
user can register, edit, list and delete objects, but I need to make
a validation in order to prevent any user sees, edit or delete objects
created by other users. I tried to implement this on my action.class
Hi Stephen,
I had the same problem you have a few days ago. And indeed every time
you run the unit test (in fact any test), you will wipe the database,
but if you use the default auto-increment attribute for primary keys,
they will not stay static.
Ok, so how to 'fix' this?
What my boss and me
Hi!
I'm trying to implement the with_show feature on an admin module, but
it appears that it just doesn't work 'out of the box' yet.
I noticed that when you set the with_show parameter to true, and you
render the module on the web browser, on the cache/backend/[env]/
modules/auto[module]/templates
12 matches
Mail list logo