Create the table female first
On Thu, Apr 14, 2011 at 4:24 AM, Julian wrote:
> Hi
>
> i have a problem with a table and concrete inheritance, example:
>
>
>autoIncrement="true" />
>primaryString="true" />
>primaryString="true" />
>
>
>
>
>
>
>
>
>
>
>
>
>
I am using the sandbox of the PR8. I happen the same issue when I use
entities on the authentication. the problem (as someone told me) could
be related with the property username, because it is sometimes null.
But sorry, I did not find the solution. If I find it I will tell you.
--
If you want t
hello,
I'm trying to make my first form and I have some trouble with the csrf.
I've seen previous discussion on this subject but no one solve them.
here is my code :
//Entity with annotations
class TestEntity
{
/**
* @validation:MaxLength(160)
* @validation:NotBlank
*/
publ
Make sure you render the hidden fields too
On Thu, Apr 14, 2011 at 2:27 PM, samuel wrote:
> hello,
> I'm trying to make my first form and I have some trouble with the csrf.
> I've seen previous discussion on this subject but no one solve them.
>
> here is my code :
>
> //Entity with annotations
I have one hidden field :
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegro
The csrf field is also a hidden field
On Thu, Apr 14, 2011 at 2:38 PM, sam wrote:
> I have one hidden field :
>
> value="db845c8ea6164b93205d08977fd583139c5c" />
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You rec
@GarethMc :
Yes it is but isn't this one ?
And if I use {{form_field(form)}} in a twig template I have got all the
fiels hidden or not. Anyway I try with {{form_hidden(form)}} and I get the
same hidden field and only this one.
--
If you want to report a vulnerability issue on symfony, please se
You can use the existing DIC to handle this:
// DefaultController.php
$this->get('doctrine.org.entity_manager')
->getRepsository('MyBundle:User')
->findByName('Cedric');
// or turn it into a private method in the controller
protected function getRepository($name)
{
re
Hi,
I found the sfGearmanPlugin very useful and I'm trying to use it, but
I don't know how to use my swift code to send it in workers.
I'm using sf 1.3 and today I have this code in my actions to send
emails:
$this->getLogger()->debug( "SEND TO CUSTOMER ");
$email = new emailImmediateRes
I think that the main problem is that the resource is not in the right path
or it's a webserver misconfiguration.
For static resources there is a rule in the .htaccess distributed with
symfony to not process paths that have a dot in them:
http://svn.symfony-project.com/branches/1.4/lib/task/gene
It works with this code:
try{
$worker->notifyEventJob($job);
$configuration =
ProjectConfiguration::getApplicationConfiguration('frontend', 'dev',
false);
sfContext::createInstance($configuration);
$configuration->loadHelpers('Partial');
$inquiry = Doctrine::getTa
Always wanted to say thank you (and not to flood) to all you guys who
helped me with answers. So, thank you Gareth.
On Apr 13, 1:56 pm, Gareth McCumskey wrote:
> return sfView::NONE;
>
>
>
> On Wed, Apr 13, 2011 at 12:39 PM, coviex wrote:
> > Hi,
>
> > In the project which I work on currently th
In your controller:
public function fooAction()
{
// Is this an ajax request?
if ($this->container->get('request')->isXmlHttpRequest())
{
// do stuff and return ajax content
}
// return normal response
}
On Apr 13, 5:16 am, symfonyM
Hi all,
I'm not sure I understand how to effectively use the ACL system. Say,
for example, I have a list of user submitted posts. When a user views
the list, for each post in the list I would use the ACL system to
determine if the user has the right to edit the post. If they do, I
show the edit bu
I'm working on editing and deletion functionality for CommentBundle at the
moment. I expect to have something committed by the end of the weekend.
t
On Fri, Apr 15, 2011 at 03:53, Marc MacLeod wrote:
> Hi all,
>
> I'm not sure I understand how to effectively use the ACL system. Say,
> for exa
With JQuery you can request Marc's controller's route. That should do the
trick.
2011/4/14 Marc MacLeod
> In your controller:
>
>public function fooAction()
>{
>// Is this an ajax request?
>if ($this->container->get('request')->isXmlHttpRequest())
>{
>
The controller should return a template response, a common template (without
inheritance of course)
2011/4/14 oscar balladares
> With JQuery you can request Marc's controller's route. That should do the
> trick.
>
>
> 2011/4/14 Marc MacLeod
>
>> In your controller:
>>
>>public function fooA
Hi. What about if you show us your code?
Magic would be if we could help you out without one line of your code. [?]
2011/4/11 Yasmany Cubela Medina
> hi, i read every day all mesages in this mail list search for a solution to
> this error, many have the same problem and find the solution in on
18 matches
Mail list logo