Yep, $tmpdir is empty. That must mean none of the entire _getTmpDir method
works in my environment, at least in the context of $adapter-getFileName().
Looking over the _getTmpDir method it, I find that...
if (empty($this-_tmpDir)) {
// Attemp to detect by creating a
Looking at the code this method tries to detect the temporary path when
there is no path set.
But it is only called when you do not set a target directory.
You could simply prevent this by setting a own path with setDestination()
when the detection does not work in your environment.
Try this:
throw new Zend_Controller_Action_Exception('', 404);
Should work ;)
Giuliano
summertime wrote:
I've got my error controller basically working, but I'm stumped on the
best way to get people to it from other areas. Say my products controller
can't find product123 in the
Great, I found the problem and the solution. So if anyone is interested in
it... here it is:
class MyForm extends Zend_Form
{
// the decorators
public $formDecorators = array(
'FormElements',
'Form'
);
public $elementDecorators = array(
'ViewHelper',
'Errors',
I'm having a strange issue with Zend_Session where I am assigning a string
and an object to the same Session Namespace. The object will persist, but
the string won't...I open/start the namespace in init() since I need access
to the session data throughout my controller. I then assign the
I should clarify that the string var does get (and persist) the initial
assignment of top, but subsequent changes to the var doesn't persist--the
value can change within the action, but at the next invocation of the
action, the value of the string is still the initial value (top in this
case)...
I'v tried solution i found here in forum but it wont work for me.
So, my code looks is:
$form-addElement('ValidationTextBox', 'password', array (
'value' = $webmasterData [ 0 ] [ 'password' ] ,
'label' = 'Password' ,
'maxlength' = 20 ,
'regExp'
I'm totally lost in the zend forms decorators. Hopefully someone can help
me...
I want to create a form view like this
form
fieldset
legendmain/legend
table
trtdlabel 1/tdtdfield 1/td
trtdlabel 2/tdtdfield 2/td
...
/table
/fieldset
fieldset
legendbla
Hi everyone,
I am encoutering a strange behaviour with Zend_Dojo_Form object.
I am adding a section using ZF to an existing application. Therefore new
functionnalities are based on the MVC architecture. But I would like that
older functionnalities could use some of the advantages of ZF without
Hello, I am looking for some information on using Zend_Form. I want to use
Zend_Form to have dynamic drop downs and options based on what a user
selected before. I am re-writing an app, so I can not change this behavior
too much. Let me give you a very brief example of how the form used to work,
Hello,
i am building a zend_form that has a select box in it.
The values for the select box come from an array such as:
array( 'a' = 'First', 'b' = 'Two');
I want the values and the visible label of the select box to be the values
of the array such as:
option value=FirstFirst/option
option
Hi Matthew and Vincent,
so, the placeholder view helper seems to be the first choice at the
moment. I will have a closer look into that.
Thanks for your comments.
Best regards,
Ralf
Greetings list,
I've just built some rpm packages for openSUSE to be hosted on the openSUSE
build service.
There are packages for openSUSE 10.3, 11.0 and 11.1
Installation instructions and details are on the wiki as follows. Please note
the separate packages and instructions for APC/memcache
getValue() receives the file.
And you add the filter afterwards in your code...
But as the files are already received you can not apply the filters. The
files are already there so a later receive would not receive the files
again.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
you will need a decorator on your first element, with placement set to
'append' or a decorator on the second element, with placement set to
'prepend'.
There is a lot on decorators in the manual and on devzone.
Bart
maxarbos schreef:
I have been through a number of examples, but dont think I
Hey there,
I'm preparing for a launch party and need to get some t-shirts ready.
I'm looking for the ZF logo in a scalable format but haven't found any.
Someone knows if it exists?
Regards
Thorsten
Hi All,
If I have view script like this
.phtml
---
// other code
// --- code that will be used on several view scripts
? if(!empty($this-data)): ?
? foreach($this-data as $v):?
div class=span-17 list-project
span class=pr-title?= $v-title ?/spanbr
Hi all,
I want to implement a dependant dropdown lists for a FilteringSelect
elements using Dijit widgets and Ajax in a form. And I can't figure out how
to do this.
When we choose an item on one dropdown list, the other list should be
updated automatically by fetching the database (using Ajax).
maxarbos wrote:
Hello,
i am building a zend_form that has a select box in it.
The values for the select box come from an array such as:
array( 'a' = 'First', 'b' = 'Two');
I want the values and the visible label of the select box to be the values
of the array such as:
option
Thanks,
Set magic_quotes_gpc Off helped me out.
Matthew Weier O'Phinney-3 wrote:
-- Mauricio Cuenca mauri...@informaticos.com wrote
(on Thursday, 27 March 2008, 05:20 AM -0700):
This post just gets me more confused, because I'm using $db-quote() in
almost all my inserts, but when I get
thomasW wrote:
Hy,
So the logical way in my opinion would be to call getFileName, change the
name according to the primary key of the database by applying the rename
filter, and then, as last step calling getValues().
If validation or anything other fails, revert db entry.
You could
That worked like a champ!
Thanks.
Brenton Alker-3 wrote:
maxarbos wrote:
Hello,
i am building a zend_form that has a select box in it.
The values for the select box come from an array such as:
array( 'a' = 'First', 'b' = 'Two');
I want the values and the visible label of the
Thanks for the tip, I did the iterations and your solutions is so much
simpler!
Bart
Brenton Alker schreef:
maxarbos wrote:
Hello,
i am building a zend_form that has a select box in it.
The values for the select box come from an array such as:
array( 'a' = 'First', 'b' = 'Two');
I want
-- Bagus Nugroho bnugr...@unisemgroup.com wrote
(on Wednesday, 17 December 2008, 10:31 PM +0700):
Hi All,
If I have view script like this
.phtml
---
// other code
// --- code that will be used on several view scripts
? if(!empty($this-data)): ?
?
What I'm doing now is using Zend_Form to create a skeleton of the form with
placeholders, then using unobtrusive javascript to hide those fields. Then,
when the AJAX response is received those elements are populated and shown.
If there's a better way, please let me know. Thanks!
KeefTM
Hi all,
I have just begun learning ZF. I have come across Decorators and am finding
a bit difficult to grasp it. My question is where I need to put my new
decorator class in the project folder. It looks like the following:
vQuick
-application
Just to add I am getting the following error:
Message: Plugin by name 'Composite' was not found in the registry; used
paths: My_Decorator_: My/Decorator/ Zend_Form_Decorator_:
Zend/Form/Decorator/:Zend/Form/Decorator/
_
From: vibhor singh [mailto:vib...@pivisions.com]
Sent:
27 matches
Mail list logo