On Jul 26, 3:01 pm, weppos <[EMAIL PROTECTED]> wrote:
> It works for me (sf 1.0.5).
>
> Since the helper uses the following statement
>
> if ($checked)
> {
> $html_options['checked'] = 'checked';
> }
>
> both 1 and true should be handled in the same way, 0 and false as
> well.
Ah, I se
Its odd that you dont get any output from symfony plugin install, you
shuld have at least "installing plugin ..." even if the install fails,
any way...the plugins shuld be working they just not apear in the
plugins list becouse there not listed plugins/.pearrc
PD: try to change the report error l
It works for me (sf 1.0.5).
Since the helper uses the following statement
if ($checked)
{
$html_options['checked'] = 'checked';
}
both 1 and true should be handled in the same way, 0 and false as
well.
-- Simone
On Jul 26, 7:38 pm, Eno <[EMAIL PROTECTED]> wrote:
> In both the API a
In both the API and the Symfony book, I see checkbox_tag examples like
this:
/ Check box
=>
However, using true or false doesn't seem to work for me. Im using the
values 1 and 0 instead.
I wanted to run this by the list to make sure Im not doing something
wrong before opening a ticket
I have made a simple function "Tell a friend" and the code is following
public function executeTell()
{
$mail = new sfMail();
$mail->addAddress($this->getRequest()->getAttribute('email'));
$mail->setFrom(sfConfig::get('sf_password_recovery_mail'));
$mail
So is your problem that the admin generator saves a '0' in the database
or because if you leave the field empty the validator YML files you have
set does not let you save you form because sfNumberValidator returns '0'
as an error input?
If it is the first case then you can overwrite the save()
Is 0 the default value for the field in your database ?
Daniel Staver wrote:
> When I leave an integer field blank in a form generated by the admin
> generator the actual value stored in the database is 0.
>
> However, this breaks validation with the sfNumberValidator as the
> permitted values fo
No, there is no default value in the database. If I store directly to
the database without using the admin generator and without specifying
a value for the field I get the correct behaviour, no value is stored.
If I save through the admin generator without specifying a value, 0 is
stored.
On Jul
Hi,
In our web server the application url path starts with "/parton",
If the images in css file begins with "/something" the browser will get
"/something" instead of "/parton/something", so I've used relative
path in css files.
I don't know if it is a particular trouble of our environment or it'
When I leave an integer field blank in a form generated by the admin
generator the actual value stored in the database is 0.
However, this breaks validation with the sfNumberValidator as the
permitted values for this particular field is a nubmer between
1960-2020 if a number is entered. Is there
Hi,
I am facing a strange problem which I am unable to debug.
If I enable error_404_module and actions for an app I start getting
404 for all the pages. Although website is working as expected but
instead of 200 symfony is sending 404 for all pages. Below are symfony
logs
Any advice? what a
11 matches
Mail list logo