Hi,
I'd really like writing somthing like:
foreach ($form as $name=>$field) {
if ($field->hasErrors())
$field->setAttribute("attr", array("class" => "error"));
}
But I can't because setAttribute is not implemented in the *
Symfony\Component\Form\Form* class (and $attributes is private).
Hi,
I'm currently working with addresses which are frequently reused through my
application. That's why I would like to reuse the piece of forms that can
render the Address related fields, so I decided to embed the AddressType
form in other forms. Now I would like to customize theming for the A
Hi,
I was wondering if there is a native way to map relationnal fields to
entity's sub'object properties.
For example, with an entity Customer, can I deal with $customer-
>address, where address is an instance of Address, and map the
properties of my address directly with columns of my database,
I think you should create a separate form for Address entity and embed
it in the user form, see
http://symfony.com/doc/current/book/forms.html#embedded-forms
On 16 juin, 19:31, Aaron DM wrote:
> Hello,
>
> I was wondering how I would accomplish this.
>
> I want to create a single FormType for th
I have a simple form filter on a class of my model with a "title"
field, and I'd like to use sfWidgetFormJQueryAutocompleter for this
text field, in my filter.
So I first tried to simply set this widget for this field. It looked
good but actually the filter didn't work. The reason is that the html
I use ysfDimensionsPlugin for a project I'm developing, and I'd like
to add sfDoctrineGuardPlugin to secure my application. My aim would be
to use a different database for sfGuard for each dimension.
For dimension "test1", all the sfGuard stuff would be stored in my
database connection called "db1
Edit your membership...
http://groups.google.com/group/symfony-users/subscribe
On Dec 1, 8:57 am, Ben Akacha Khalil
wrote:
> How can I block mail symfony group because I always suppime the mail
> received?
--
You received this message because you are subscribed to the Google Groups
"symfony us
I use the sfDoctrinePager class to paginate results. I've seen in the
1.3/1.4 what's new article that the pagers now implement the Iterator
and Countable interfaces. I say "cool, let's try it" so I did that:
...
...
The count() function works fine, but the foreach() doesn't. The
Have you tried this?
$this->setDefaults(array(
'authors_list' => array(2)
));
On 26 nov, 16:31, dziobacz wrote:
> I have tables: Books, BooksAuthors, Authors. I use
> sfWidgetFormDoctrineChoiceMany and I want that default author was
> author with id = 2 but I can't do that. The default author
Hi,
I'm on symfony 1.3. I have form that several fields. One of these
fields is a sfWidgetFormDoctrineChoice widget, with 'multiple' and
'expanded' options set to 'on'. So checkboxes are displayed.
I want to add a tabindex attribute to my field, so I tried this:
$my_widget->setAttribute('tabinde
Hi all,
I'm upgrading my project to sf 1.3 and I'm trying to configure the
SwiftMailer. I want to use the spool system, so here is my
factories.yml:
all:
mailer:
class: sfMailer
param:
logging: %SF_LOGGING_ENABLED%
charset: %SF_CHARSET%
delivery_st
I have another way, cleaner but not clean... I remove the cache of the
component with its sf_cache_key before each call to this instance of
the component.
It works, while waiting for the ultimate solution.
On Oct 20, 3:30 pm, Grégoire wrote:
> I can't find a way to solve that issue...
I can't find a way to solve that issue...
Nobody has any suggestion/idea?
--~--~-~--~~~---~--~~
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@googlegroups.com
To u
That's what I do for the cached instances. But for the non-cached one,
if I do that, it will be cached even if I don't give a key in its
parameters, symfony will generate one.
On Oct 16, 4:20 pm, Eno wrote:
> Yeah: you generate your own keys (i.e. NOT random) for each version except
> the one yo
Hi all,
I have a cached component in my sf 1.2 application. I include it
several times on my page, with different parameters. I'd like to
disable the cache for one of these component instances. I've found a
first solution that doesn't satisfy me:
I call the include_component() function with a ra
Perfect, it's just what I need, and it works :)
Thanks a lot Eno!
On 14 oct, 18:12, Eno wrote:
> On Wed, 14 Oct 2009, Greg wrote:
> > It sounds perfect, but I can't find how to set this key... Is it in my
> > cache.yml file?
>
> If you are caching a partial, then you can include the key in the
>
Hi all,
I'm using sf 1.2 and I've got a component on my web page that
retrieves some RSS feed data and displays it (using sfFeed2Plugin). I
don't want my server to do an http request on each page load, so I
cached my component, with the layout. It works fine, but I've noticed
a strange behavior:
Hi,
I've got a problem with my login form that occurs only after a session
timeout when I was on a form, posting data. My application has global
CSRF protection. The facts are these...
1. I log in successfully.
2. I go to a page with a form (that is csrf protected). This action
is "secure"
Hello,
It sounds it is time to expose here where we are with the Debian
integration process.
Debian users know I am still "in charge" of the unofficial package
hosted on the symfony repository (and yes, it is still the 1.0.17).
Martin Meredith proposed himself to be the official Debian maintain
d to return a boolean for the status of the form input.
>
> Regards
>
> Alistair
>
> 2008/6/26 Grégoire <[EMAIL PROTECTED]>:
>
>
>
>
>
> > Hi,
>
> > I'm using symfony 1.0. I'd like to validate my create user form in
> > client side.
Hi,
I'm using symfony 1.0. I'd like to validate my create user form in
client side. I've found plugins on the wiki, but they only work with
yaml validation files. But I have custom validators, for example: I
check that the email isn't already used by a _validated_ user, that
kind of stuff...
I c
ok, it's a strange behavior, but it works!
thanks a lot :)
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe fro
<[EMAIL PROTECTED]> wrote:
> On 29 May 2008, at 14:12, Grégoire wrote:
>
>
>
> > echo object_input_date_tag ($user, 'getDob', 'rich=true');
>
> > I want the form to be displayed in a DIV, loaded with AJAX. But
when I
> > do that, the
Hi,
I want my users to be able to set and modify their date of birth. So I
use this function:
echo object_input_date_tag ($user, 'getDob', 'rich=true');
I want the form to be displayed in a DIV, loaded with AJAX. But when I
do that, the button next to the field, which is supposed to display
the
I've finally found a solution:
use the sfModelTestPlugin plug-in
http://trac.symfony-project.com/wiki/sfModelTestPlugin
it's simple... and it works! :)
On 30 avr, 11:17, Grégoire <[EMAIL PROTECTED]> wrote:
> Thank you for your answer.
> Unfortunately, I
iault" <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 30, 2008 at 10:56 AM, Grégoire <[EMAIL PROTECTED]> wrote:
> > I'm trying to accessing to my database in a unit test. I use Lime for
> > those tests. I have the following exception when I execute my test :
>
>
Hi,
I'm trying to accessing to my database in a unit test. I use Lime for
those tests. I have the following exception when I execute my test :
[PropelException]
No connection params set for propel
I think I've included all the needed... Here is my code :
initialize();
// Initialize the test
on to explain that it is
> not a working example and it should not be used by anyone. The way to
> fix the example would be to verify that the cookie value is set to the
> correct nonce, or to the correct salted hash of a user property.
>
> -- chad
>
>
> >
>
--
--
Grég
ested to know if that
fixed the problem :o)
Thank you for your feedback.
--
Grégoire HUBERT
Project Manager - Sensio labs
http://www.sensiolabs.com/
http://www.symfony-project.com/
Sensio Labs
Tél: +33 1 40 99 80 80
> Marco Schierhorn wrote:
> > Thanks for your fast response.
> &g
Should be definitely fixed now.
--
Grégoire HUBERT
Project Manager - Sensio labs
http://www.sensiolabs.com/
http://www.symfony-project.com/
Sensio Labs
Tél: +33 1 40 99 80 80
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
On 10/3/07, Nicolas Perriault <[EMAIL PROTECTED]> wrote:
> 2007/10/3, Grégoire Hubert <[EMAIL PROTECTED]>:
>
> > Please let us know if you still experience troubles with the official
> > subversion repository.
>
> This evening, updating from the official repo
with giving time and ressources.
--
Grégoire HUBERT
Project Manager - Sensio labs
http://www.sensiolabs.com/
http://www.symfony-project.com/
Sensio Labs
Tél: +33 1 40 99 80 80
On 10/1/07, Grégoire Hubert <[EMAIL PROTECTED]> wrote:
> Hi !
>
> It seems the webserver hangs on SVN
Hi !
It seems the webserver hangs on SVN request. It did occur hours after
the migration last friday.
The issue is still here, we are working on it. This might be fixed in
the hours to come. We will let you know as soon as it is repaired.
Grégoire
now.
>
> Thanks for your work :)
>
> On Sep 28, 8:40 pm, "Grégoire Hubert" <[EMAIL PROTECTED]> wrote:
> > On 9/28/07, Tamcy <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > Hello!
> >
> > > Yes - I see plain HTML i
we have migrated to a new server. Hope this will
> > serve the community better. If you spot any issue, please let us know
> > so we could fix it quickly.
> >
> > Thank you.
> >
> > Grégoire.
> >
> >
> >
> > > On 9/28/07, Fabie
fix it quickly.
Thank you.
Grégoire.
>
> On 9/28/07, Fabien POTENCIER <
> [EMAIL PROTECTED]> wrote:
> >
> > We are migrating the symfony websites to a new server.
> >
> > Please be patient as we need to migrate the subversion repository, the
> >
Could you please post the error if there is any ?
We are going to test it here also.
Regards,
Grégoire.
On 9/7/07, Jonas Schnelli <[EMAIL PROTECTED]> wrote:
>
> hi all
>
> after a long break i try to maintain a symfony / doctrine project.
> with sf1.0.7 and current doctr
Have you tryed to export your data as fixtures with a
symfony propel-dump-data app_name file_name
Change your schema, change your fixtures and reload the whole lot ?
I would still do a backup prior to the operation ;o)
On 9/7/07, rihad <[EMAIL PROTECTED]> wrote:
>
> +1
>
> On Sep 7, 5:19 am,
You can directly tell Apache to compress its response by adding
AddOutputFilterByType DEFLATE text/html text/plain text/xml
in your configuration assuming you have mod_deflate installed.
On 9/3/07, Alexander Deruwe <[EMAIL PROTECTED]> wrote:
>
> On 03 Sep 2007, at 17:04, rbawaskar wrote:
> > A
A symlink to a centralized error500 page should also work.
On 8/30/07, David Brewer <[EMAIL PROTECTED]> wrote:
>
> This is a good question; I just ran into exactly the same issue.
>
> Here are the details of how this appears to work currently. You can
> customize the error500.php page for your p
On 8/28/07, Eno <[EMAIL PROTECTED]> wrote:
>
> Any idea what causes this:
>
> Notice: Array to string conversion in /usr/local/lib/php/symfony/util/
> sfToolkit.class.php on line 329
What version of symfony are you using ?
I have seen such an issue in pre 1.0 releases...
On 8/23/07, Romain <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Maybe you can configure the redirect404 page on an action that send
> the mail ?
>
> On Aug 22, 6:55 pm, Nicolas CHARLOT <[EMAIL PROTECTED]> wrote:
> > Hi,
> > Sorry If it's already a posted question, but I haven't found something
> > abou
42 matches
Mail list logo