If you want to hide any widget, don't outputing them is not a good (secure)
choice. Here's better idea:
In configure() method of your form put
if($this->getObject()->isNew()) {
$this->widgetSchema['preference_id'] = //etc
$this->validatorSchema['preference_id'] = //etc
}
or in case prefe
I have a form where users can declare their preferences (pref1, pref2,
pref3, etc) and importance of each one (very important, somewhat
important, not important). Once they declare the preference they
should be able to change the importance but not the preference. I
have a form class:
$this->setW
thanks that is the solution
--
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@googlegrou
ok, but i think that on your system there are also 2 times php
installed, one 5.2.x and one 5.3 ; for using php on the terminal (CLI
Version) the old one is "registered" but you need the new one.
so my thought is, that you search for the place of your 5.3.x version
and add a symlink in your /
domink you dont understand me
i need change the command php, by default php 5.3 without select a specify
folder
--
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
Grou
be sure that you have the ./ before php -v:
copy&paste this:
./php -v
Am 25.12.2010 um 15:45 schrieb Julian Reyes Escrigas:
when i typo php -v on /usr/bin or every place showme the 5.2.8 and i
have installed 5.3.4 with brew
--
If you want to report a vulnerability issue on symfony, please
when i typo php -v on /usr/bin or every place showme the 5.2.8 and i have
installed 5.3.4 with brew
--
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 us
Hey introvert,
you're on the right track. You definitely want to avoid putting view-
specific code into your model, so, yes, rendering this content is up
to helper methods or classes. For example, to render trees, I have a
class that takes a nested set (something that implements
IteratorAggregate)