-- bfoust <[EMAIL PROTECTED]> wrote
(on Thursday, 22 May 2008, 06:06 PM -0700):
> The default translator used by all forms may be set by calling:
>
> Zend_Form::setDefaultTranslator(new Zend_Translate(...));
>
> Then, when $form->isValid is called, each of the element validators have
> their
The default translator used by all forms may be set by calling:
Zend_Form::setDefaultTranslator(new Zend_Translate(...));
Then, when $form->isValid is called, each of the element validators have
their translators set to that same default translator (if they don't have a
translator explicitly
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yeah, good bye Darby, and thanks for your great effort you put into ZF!
I promise that I will not ruin Zend_Config ;)
Best regards,
Ben
Simone Carletti schrieb:
> Good luck from my side as well!
> The most part of ZF web service libraries I have take
Hi there
You need to perform a 'helo' instead:-
try {
$test->connect();
$test->helo();
$test->disconnect();
} catch (Zend_Mail_Protocol_Exception $e) {
...handle incorrect auth details...
}
This is because 'auth()' expects that the smtp server has already
received the helo seq
I'm trying to write a tool that'll automate the sending out of an email to
~20,000 people. The SMTP server that I'm using requires that the user login
with a name and password that have been assigned to them and I'd prefer to
use that for this tool.
The thing is... I don't plan on sending the e
Thanks for your help! Zend_Session::isStarted() seems to do the trick.
Its a bit unfortunate though that it does not appear in the Reference Guide.
And although I understand the logic behind sessionExists(), I think lots of
other developers might make the same mistake of expecting sessionExists()
Woah, there was a error-handler someway hidden in our frameworkof
course it was catching everything (notices, warnings, ...ALL).
These was a WFT error-handler... ;)
Thanks !
On Thu, May 22, 2008 at 6:24 PM, Thomas Weidner <[EMAIL PROTECTED]>
wrote:
> Hy Xavier,
>
> no your problem is no
Hy Xavier,
no your problem is not reproducable for me...
Read the comments of this issue if you are using a own error-handler.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Original Message -
From: "Xavier Vidal Piera" <[EMAIL PROTECTED]>
To
I don't suppose somebody has already suggested making find() accept a hashed
array of PKs for composite key tables? It's a bit of a pain to list out 7
columns, and insuring they are in the *perfect* order in order for it to
find my data properly. I think it should be accepting a single value (for a
I tried this quickly like so:
Code:
require_once 'Zend/Loader.php';
Zend_Loader::registerAutoload();
date_default_timezone_set('Europe/Madrid');
$d = new Zend_Date();
$d->set('1977-01-01');
Zend_Debug::dump($d->__toString());
Output:
string(23) "Jan 1, 1977 12:00:00 AM"
array(15)
I still have the same problem, any ideas ?
, Thx.
- Original Message -
From: "Juan Felipe Alvarez Saldarriaga" <[EMAIL PROTECTED]>
To: "fw-general"
Sent: Thursday, May 8, 2008 4:02:25 PM (GMT-0500) America/Bogota
Subject: [fw-general] Error trying to insert some data using
Zend_Db_Table
Moreover, i've found that it fails when you specify the year i'm digging
into the code to see if i can find this issue.
Try this code
$d = new Zend_Date();
$d->setDay(1);
$d->setMonth(1);
$d->setYear(1977);
Try the code with and without the last line (setYear). In my setup is
throwing the wa
Hi Thomas
Here it is that snippet :P
*in bootstrap:*
date_default_timezone_set('Europe/Madrid');
*In controller:
*$d = new Zend_Date();
$d->set('1977-01-01');
*And a warning it's thrown :*
[Sys Warning] timezone_open() [function.timezone-open
]: Unknown or bad timezone (1977)
Can you repr
Not necessarily. Try replacing with a call to isStarted() for example.
You can have a session started, but not immediately existing (i.e. detected)
for the current page. It is normal to require at least one additional
request for a session existence check to be detectable.
You have to bear in m
Sample code:
Zend_Session::start();
if( Zend_Session::sessionExists() ) {
echo 'Session exists';
}
else {
echo 'Session does not exist';
}
Will output "Session does not exist" for the FIRST request to the pag
My subversion client is beginning to sweat already ;). I should also consider
watching my proposal names - many of them are destined as Extras.
Best of luck on the reorg.
Matthew Weier O'Phinney-3 wrote:
>
> Hey, all --
>
> The SVN repository reorganization is about to begin. I will be making
Hey, all --
The SVN repository reorganization is about to begin. I will be making
all access read-only until I have finished. When done, I will post
details about how to update your working checkouts to point to the new
locations.
For more information on what is being done, please read the propos
-- Nick Lo <[EMAIL PROTECTED]> wrote
(on Thursday, 22 May 2008, 08:39 PM +1000):
> Further on the idea of support that Rob brings up, what are the plans
> for supporting Dojo related questions on the mailing list? Will there be
> a ZF/Dojo list and/or will there be a policy on this general one a
Hi all,
http://framework.zend.com/wiki/pages/viewpage.action?pageId=42442
The Zend_Service_Recaptcha proposal has been made ready for review and your
comments are very much appreciated. In forming the proposal I decided I'd
list it's immediate limitations or open ended questions.
1. The compone
-- Joó Ádám <[EMAIL PROTECTED]> wrote
(on Thursday, 22 May 2008, 10:46 AM +0200):
> > Btw, I suggest to wait for Matthew to go through the proposal process with
> > Dojo before you work on jquery. This way we would have design consistency
> > between the two (as much as possible)...
>
> I think
-- bfoust <[EMAIL PROTECTED]> wrote
(on Wednesday, 21 May 2008, 07:53 PM -0700):
>
> A validator's setMessage("...") may be used to change the error message when
> a validator fails. For example:
>
>$formElement->getValidator('StringLength')->setMessage("Your password
> must be at least 6 cha
-- bfoust <[EMAIL PROTECTED]> wrote
(on Thursday, 22 May 2008, 12:49 AM -0700):
> Shouldn't line 1185 of Element.php be:
line 1188 in current trunk, btw. :-)
> if ($translator && method_exists($validator, 'setTranslator')) {
>
> ?
> It seems inefficient to call a method that just does some che
Further on the idea of support that Rob brings up, what are the plans
for supporting Dojo related questions on the mailing list? Will there
be a ZF/Dojo list and/or will there be a policy on this general one as
to how far a question is ZF/Dojo related or just Dojo related and
therefore to b
Yes, I used as advised, but I think there's a method to posted form as data
from posted data.
as like :
$this->_request->isPost() and $this->_request->getPost();
Thanks and Rgds,
bn
From: Pádraic Brady [mailto:[EMAIL PROTECTED]
Sent: Thu 22-May-2008 14:42
T
On 5/22/08, Pádraic Brady <[EMAIL PROTECTED]> wrote:
>
> By the way I agree - the default messages are horrendous and border on bad
> English. If I were not English speaking I'd suspect they were
> incomprehensible. There is a lot to be said for having defaults that are as
> simple and plain spoke
Hi Wil,
On 22 May 2008, at 02:26, Wil Sinclair wrote:
To be perfectly honest, Rob, if the standard library components will
be the only part of ZF that is maintained over time and major
releases, then we’ll need to start scaling back our expectations of
this project- and quick-like! Actuall
> Btw, I suggest to wait for Matthew to go through the proposal process with
> Dojo before you work on jquery. This way we would have design consistency
> between the two (as much as possible)...
I think it's natural.
One thing. I'd suggest and strongly hope that the ZF utilities will
make use
I used to do the same thing - explicitly add the validator beforehand so it's
accessible for attaching a message later.
>I suppose another solution might be to create a Translator. Does a
>translator get called even for translations to English?
In the end though, I decided a Translator was simpl
Shouldn't line 1185 of Element.php be:
if ($translator && method_exists($validator, 'setTranslator')) {
?
It seems inefficient to call a method that just does some checks and then
sets the already null _translator member to null again.
It seems like a small issue, but just wanted to mention i
Use the same form class ;). You have to remember that a Zend_Form is a
programmatic description of the form structure, validation rules, filtering
rules, with a sprinkling of customisation via attribute additions. Every form
upon instantiation from the same class is identical. What differentiate
Btw, I suggest to wait for Matthew to go through the proposal process with Dojo
before you work on jquery. This way we would have design consistency between
the two (as much as possible)...
Andi
-Original Message-
From: Joó Ádám [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 21, 2008 1
31 matches
Mail list logo