I'm guessing, so try it and let us know. In your filter class add
this:
public function addDescriptionTypeIdColumnQuery(Doctrine_Query $query,
$field, $value)
{
$query->leftJoin('r.DescriptionType d')->andWhereIn('d.id', $value);
}
Note the name of the method (it includes the camel-cased name of
You need to specify the target language in order to create its folder,
i.e.,
symfony i18n:extract --auto-save frontend fr
Note the "fr" at the end of the line. With this you should now have
an /apps/frontend/i18n/fr folder with messages.xml inside it.
The order (or location) of the optional para
Hi list,
The thing is, in an auto generated admin module, if I don't want to
use, lets say, the edit action (and I don't want that the users be
able reach in any way), it's enough to delete the "edit" element from
the actions array in the route collection to not generate its route or
it compromise
Buen día
Si tú o algún familiar tiene un hijo o sobrino entre los 8 y 15 años y no
saldrán de vacaciones, te invito a que los envies al curso denominado
DESARROLLO DE TALENTO TV, que se llevará a cabo en las instalaciones del
Col. Anglo Mexicano (Coatzacoalcos) del 16 al 31 de Julio del 2009, es d
Hi list!
Is there any way to avoid (or delude) the CSRF attack protection (sf
1.2) when submiting a form via REST but without disabling it for
normal web browser requests (I mean, directly in the form)? I'm using
exactly the same action for both requests (just with diferent
sf_format).
Thanks!
-
Does Fabien have made any comments about this?
I don't know how to achieve it neither. :s I need to find a way ASAP.
- Joel
2009/1/24 fredlab
> Hi,
>
> No I did not solve my problem but I found that the symfony extract
> task currently does not support the extraction of label so that you
> can
Hi juro!
Maybe at this point you've already solved your problem, but I'll post
a solution anyway for future references, other people references.
You can create an instance of sfContext in your unit bootstraping
script, something like this:
$projectConfig = new sfProjectConfiguration($path);
$ap
Hi juro!
I think that at this point you've maybe solved your problem, but I'll
answer the question anyway for future references, other people
reference.
It's always a good practice to check out symfony's code, it's a very
good self-documentation. For this, the unit tests of the user classes
are
Did you solve your problem? I have the same here...
Hope you can help... Thanks!
On 6 dic 2008, 15:11, fredlab wrote:
> Ok ! it seems no one can help.
>
> I have to wait for the end of the jobeet tutorial. I hope it will give
> the anwser.
>
> Regards,
>
> Frédéric
--~--~-~--~~-
Hi Ridvan!
Could you please post the solution (or the link) for sf 1.2?
Thanks!
On 10 dic 2008, 06:18, "Ridvan Lakas ng Bayan S. Baluyos"
wrote:
> Thanks Thomas!
>
> This is exactly what I've been looking for. I've found a similar solution
> but it pertains to the 1.2 branch. I did a little ad
Hi again!
I will just add some comments that maybe will help (me :p).
My original problem raised when I was creating from scratch something
similar to sfGuardPlugin (but not so similar) and I was testing the
logout action. Evidently the logout action forwards me to an another
action. And it was
Hi everybody!
Is there any way to set the headers of the next response? I mean, for
example, in an action, before a redirection, I want to disable the
http cache (with pragma) for the next one. But I want to do this
selectively, not to disable the http cache for every call.
If somebody know some
_date:
sfDateValidator:
compare: '+1 hour'
operator: >
compare_error: El concurso debe ser creado con al menos 1 hr. de
anticipación.
longness:
myLongnessValidator:
Thanks again.
- Joel
On 17 abr, 10:08, Joel Cuevas <[EMAIL PROTECTED]> wrote:
> Hi group
Hi group!
I've noticed that the converters defined in the validation.yml file
within the fillin definitions are only applied when the validation
fails and not when the form validates correctly.
When the request succeeds whitout errors, I have to rewrite the
functions of the converters in the act
14 matches
Mail list logo