You might want to calm down on the language. This is a peer support mailing list - throwing your dummy out of the pram/push-chair/stroller isn't going to generate much in the way of help.
You might want to look at the documentation specifically around forms for pointers on where you have gone wrong: http://www.symfony-project.org/forms/1_2/en/ On Thu, 24 Sep 2009 20:38:02 +0200, bghost <[email protected]> wrote: > > Hello, > > Yes, and this is content of template: > > <form action="<?php echo url_for('@change_language') ?>"> > <?php echo $form ?><input type="submit" value="ok" /> > </form> > > And please, can you tell me why is the fucking select box inserted > outside from the form? > Variable $form is object of sfFormLanguage type which is part of the > Symfony core. > So, to correct that I must take a look into Symfony core? That's bad > and stupid. > Symfony Form framework is nightmare for designers. And please, do not > just > say "you do not have to use if you do not want it" because that's > fucking stupid. > In that case, better answer is: "You do not have to use Symfony". > > WBR, > Ghost3D > > > On Sep 24, 5:15 pm, Andrei Dziahel <[email protected]> wrote: >> Hi. >> >> So what's wrong with components? Can't your designer learn to look into >> apps/<currentappname>/modules/<modulename>/templates/_<componentname>.php >> when encountering <?php include_component('modulename', >> 'componentname') ?> >> or what? >> >> 2009/9/24 bghost <[email protected]> >> >> >> >> >> >> > This is generated HTML code that I got after inserting the language >> > component within a table cell: >> >> > <td><?php include_component('language', 'language') ?></td> >> >> > where component 'language' is a component that uses Symfony WEB forms: >> > (from Jobeet tutorial): >> >> > <form action="/change_language"> >> > <input name="symfony" value="25f22a4d2133d1428b9bd2fb7c475162" >> > type="hidden"> >> > </form> >> > </td> >> > </tr> >> > <tr> >> > <th><label for="language">Language</label></th> >> > <td><select name="language" id="language"> >> > <option value="en" selected="selected">English</option> >> > <option value="fr">French</option> >> > </select> >> >> > This is nightmare for all WEB designers. >> >> > WBR, >> > Ghost3D >> >> > On Sep 24, 11:32 am, Matt Robinson <[email protected]> wrote: >> > > On Sep 23, 12:29 pm, bghost <[email protected]> wrote: >> >> > > > First: >> > > > [..] So you complicate some tasks in the Symfony >> > > > framework that already was simple and good. >> >> > > Well, that's certainly an opinion. >> >> > > > Second: >> > > > Almost 90% of the code that generates the Symfony framework >> > > > developer need to modify or re-write >> >> > > If the generated CRUD isn't helpful, don't use it. It's a tiny part >> of >> > > the framework that has a very specific use. You're complaining that >> > > your swiss army knife is rubbish because the corkscrew is a really >> bad >> > > tool for cutting string. >> >> > > > Third: >> > > > The result of all this is a complex directory structure, many >> empty >> > > > classes that only contain a skeleton and just inherits one of the >> base >> > > > classes, and finally the CRUD code that always must be re-written. >> >> > > It's not complicated, it's deep. The rules are very simple. So what >> if >> > > you don't need the base-class inheritance style for 90% of the time? >> > > It doesn't stop you doing anything else, it isn't slower, and when >> you >> > > need it, it's really, really nice to have. You're complaining that >> > > some things are complicated, but refusing to learn why. Don't wave >> > > your ignorance around as if it's somehow a good thing; it's >> offensive. >> >> > > > And to get all that, the programmer must learn a bunch of >> different >> > > > configuration and command line options. >> >> > > Can, not must. >> >> > > > And when a programmer, after a painstaking setup and configuration >> > > > of various options and parameters, finally gets the generated >> code, >> > > > he must re-write 90% of the generated code. >> >> > > I call bullshit, sir. You're on a mailing list *full* of people who >> > > are proof that this is a lie. >> >> -- >> With the best regards, Andy. > > -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
