Look if the value is disabled (isValueDisabled()).
Per default is could be disabled for security reasons.
And getValue() returns null when there is any error at validation or
filtering on that file element. Therefor use always isValid().
Greetings
Thomas Weidner, I18N Team Leader, Zend
Looks like you're using different pcre settings.
See if unicode is enabled or not.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Original Message -
From: dmitrybelyakov shiftplatf...@gmail.com
To: fw-general@lists.zend.com
Sent: Thursday,
I hadn't ever turned on ValueDisabled, but even so I just set it to false,
$element-setValueDisabled(false). And the code comes directly after an
isValid. In its original context...
if (!$this-getForm()-isValid ( $data )) {
throw new Exception ( 'Form data invalid!' );
}
$values =
Question:
You have already received the file by calling getValues() on the form.
Why do you want to receive the file once again?
A received file can not be received once again (not with 1.9.5).
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
-
Thank you for having clarified this point.
-- Guillaume ORIOLgor...@technema.fr wrote
(on Wednesday, 10 February 2010, 12:49 PM +0100):
Searching for a solution to a dojo ComboBox issue, I've found an old
ticket
(http://n4.nabble.com/Zend-Dojo-Comboboxes-and-form-populate-td648990.html)
I'm trying to get the filename. If you var_dump on $values below, it is
null. I'm only using the second call to getValue() to show how it isn't
working. I believe the standard mode of operation is to go like this:
if (! $this-getForm()-isValid ( $data )) {
return false;
}
$values =
oops - to clarify, if you var_dump on $values, $values['image'] is null, the
rest of the array is fine, and what you would expect.
On Thu, Feb 11, 2010 at 5:19 PM, Cameron themsel...@gmail.com wrote:
I'm trying to get the filename. If you var_dump on $values below, it is
null. I'm only using
getValue() returns null when there is any error.
So the question is which error is returned.
When you say that isValid() returns not false, then the question is why
receive() returns false. Look at it's error message to see details.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
var_dump($this-getForm()-image-receive())) returns bool(false) - however,
the file is uploaded just fine, it appears in the destination directory
without any issues. also, calling $this-getForm()-image-isReceived()
after calling receive() returns true!
so in reference to your suggestion below,
Hello Jens,
exactly, I extended both Zend_Mail_Storage_Imap and
Zend_Mail_Protocol_Imap because I need many functions that both
classes don't provide, for example I work only with unique ids, not
sequence numbers. So I had to change many of the functions.
For example it is also not
Hi everyone !
I've had a problem with a dojo form, using dojo's SimpleTextArea. Actually the
bug is I only get a textarea, but not the benefits of the SimpleTextArea in
dojo (the box auto-grows when users types return characters) ;
The thing I don't understand is than when I use a dojo simple
Hi,
I've searched the list and found a post of a scrum app developed (or that
was being developed) using ZF (by the ZF team if I recall correctly) but
could not find any followup.
Does anybody know the status of that?
Regards.
OT. I am trying to evaluate that methodology and if you have any
-- robert mena robert.m...@gmail.com wrote
(on Thursday, 11 February 2010, 10:38 AM -0400):
I've searched the list and found a post of a scrum app developed (or that was
being developed) using ZF (by the ZF team if I recall correctly) but could not
find any followup.
Does anybody know the
Hi Zladivliba,
What behavior are you expecting? When I create a simpletextarea in both
fashions they behave the same, and when I create a textarea in both fashions
they both auto-expand as you type and hit enter.
You can also attempt to use the view helper in your view script:
echo
I'm not sure if I should report this to a bug tracker somewhere, but
I'm seeing mostly blank pages in the documentation
http://framework.zend.com/manual/en/learning.quickstart.intro.html
http://framework.zend.com/manual/en/
Mark
--
-
Mark Steudel
P:
After reading various articles on TDD and Zend_Test I've decided to
integrate them in my development cycle.. Things were quite successful until
I required the db adapter.
I'm able to access all my resources successfully but appears as though I
cannot connect to the db.
I created a zend test that
I ran into similar problems with PHPUnit on my Mac running Zend Server CE.
My problem was that PHPUnit was using the wrong PHP bin. I edited the file
/usr/local/bin/phpunit and changed the path to the php bin at the top to
read:
#!/usr/local/zend/bin/php
I hope this helps.
--
Hector
On Thu,
On Thu, Feb 11, 2010 at 2:41 PM, Hector Virgen djvir...@gmail.com wrote:
I ran into similar problems with PHPUnit on my Mac running Zend Server CE.
My problem was that PHPUnit was using the wrong PHP bin. I edited the file
/usr/local/bin/phpunit and changed the path to the php bin at the top
I've just written my own extension of Zend_Validate_Db_Abstract that
supports multiple fields to query against, for the case where your table has
a multi-field unique index. I wonder if there's any demand for this feature,
it might be a cool thing for this relative novice ZFer to contribute,
Hello all,
Is it possible to migrate an old project so it can be used with
zend_tool (zf command)?
Regards,
Maghiel
Can we see the source?
Regards,
Saša Stamenković
On Thu, Feb 11, 2010 at 9:43 PM, David Mintz da...@davidmintz.org wrote:
I've just written my own extension of Zend_Validate_Db_Abstract that
supports multiple fields to query against, for the case where your table has
a multi-field unique
Update:
With help from meti_alb on the zftalk irc channel I discovered where my
problem was. Basically you have to have a data column named name in your
json string if you want to use the dojo combobox/filtering select view
helper with json data. If you have the name identifier, then it doesn't
For anyone with a similar problem, Hectors suggestion was accurate:
file /usr/local/bin/phpunit and changed the path to the php bin at the top
to read:
#!/usr/local/zend/bin/php
I also ran into a couple other issues of my ENV var and using
DYLD_LIBRARY_PATH not LD_LIBRARY_PATH
and also some
23 matches
Mail list logo