Re: [fw-general] This list was spamed?

2010-03-04 Thread Dasn
On Thu, 04 Mar 2010 15:48:52 +0800, Mihamina Rakotomandimby wrote: Hi guys, I found that when I post a message to this list I receive two or three emails like: [...] Do you guys encountered this issue? Yes, but the list is not spammed, just those who send mails to the list. Someone has subscr

[fw-general] Re: Send parameter to form as post

2010-03-04 Thread Sami
Yes the form is post but the problem not in the form. the problem in the anchor link take me to form with parameter publisherId i need this parameter in form but not need show this parameter the url. this url /statements/upload?publisherId=1 in the anchor i have more url in this page to take me

Re: [fw-general] This list was NOT spamed

2010-03-04 Thread Mihamina Rakotomandimby
> Dasn : > On Thu, 04 Mar 2010 15:48:52 +0800, Mihamina Rakotomandimby wrote: >>> Hi guys, I found that when I post a message to this list >>> I receive two or three emails like: >>> [...] >>> Do you guys encountered this issue? >> >> Yes, but the list is not spammed, just those who send mails to

[fw-general] Zend_Validate_NotEmpty and Object

2010-03-04 Thread Stefan Sturm
Hello, when I test a variable containing an Object with Zend_Validate_NotEmpty. I get this error: Invalid type given, value should be float, string, array, boolean or integer But, why an object is invalid for NotEmpty? Thanks for your help, Stefan Sturm

Re: [fw-general] Re: Send parameter to form as post

2010-03-04 Thread ludwig.prepoint
Hi, Sending post params from an anchor can't be done. So when I need to do that (ie : for a delete link which need to have a hash in order to avoid csrf), I just cheat. I replace the anchor tag with a post form containing hidden inputs for params and a button input (submit inputs are harder

[fw-general] Re: Send parameter to form as post

2010-03-04 Thread Sami
Thanks for all -- View this message in context: http://n4.nabble.com/Send-parameter-to-form-as-post-tp1576275p1577831.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Zend_Validate_NotEmpty and Object

2010-03-04 Thread Giorgio Sironi
On Thu, Mar 4, 2010 at 10:26 AM, Stefan Sturm wrote: > Hello, > > when I test a variable containing an Object with > Zend_Validate_NotEmpty. I get this error: > Invalid type given, value should be float, string, array, boolean or > integer > I guess it has to do with the way it is used in Zend_F

[fw-general] Re: Zend_Form + error weirdness

2010-03-04 Thread Colin Guthrie
'Twas brillig, and David Muir at 03/03/10 06:02 did gyre and gimble: > > Welcome to the wacky world of Zend_Form. :-) > > I believe what you're looking for is getErrorMessages() Ahh yes, I should have spotted that one :s It seems a bit bad practice to use the internal array for both associative

Re: [fw-general] Zend_Validate_NotEmpty and Object

2010-03-04 Thread Alayn Gortazar
El jue, 04-03-2010 a las 11:43 +0100, Giorgio Sironi escribió: > On Thu, Mar 4, 2010 at 10:26 AM, Stefan Sturm > wrote: > Hello, > > when I test a variable containing an Object with > Zend_Validate_NotEmpty. I get this error: > Invalid type given, value sho

Re: [fw-general] This list was NOT spamed

2010-03-04 Thread Dasn
On Thu, 04 Mar 2010 16:28:34 +0800, Mihamina Rakotomandimby wrote: Dasn : On Thu, 04 Mar 2010 15:48:52 +0800, Mihamina Rakotomandimby wrote: Hi guys, I found that when I post a message to this list I receive two or three emails like: [...] Do you guys encountered this issue? Yes, but the list

Re: [fw-general] Zend_Validate_NotEmpty and Object

2010-03-04 Thread ludwig.prepoint
Actualy, you validate filtered values in a zend_form. I encountered stefan's problem when using a custom filter to change a date input (text input with some funky js and css) from a form into a zend_date and setting the field to be required. It appear to not be the correct way to do so. Now, I

[fw-general] Web addresses duplicating for some reason...

2010-03-04 Thread jharris133
Hello, I am working on a test site alongside a book, Practical Web 2.0 Apps with PHP, and it makes extensive use of the Zend Framework. I had the site working for the most part up to a point in the book, and all of the sudden, all my links were broken. They worked one day and then they started

Re: [fw-general] Zend_Validate_NotEmpty and Object

2010-03-04 Thread Stefan Sturm
Hello, I don't use the validator to validate a form, I use it to validate my models. So I wrote my own little "Required" validator to handel this... Greetings, Stefan Sturm

Re: [fw-general] what is zend-core?

2010-03-04 Thread Matthew Weier O'Phinney
-- Dasn wrote (on Thursday, 04 March 2010, 01:28 PM +0800): > Hi guys, sorry for the previous wrongly followed message. :) > > So back to the topic, I found there is another mailing called 'zend_core; > what does "zend-core" mean; does it mean Zend_Application related classes > and modules ? Tha

[fw-general] Re: Zend_Form Question

2010-03-04 Thread David Muir
You can render individual elements and decorators. echo $this->form;// renders the whole thing echo $this->form->render(false); //renders the opening form tag echo $this->form->element; //renders the given element (can be a display group) echo $this->form->element->renderLabel(); //renders the L

Re: [fw-general] Zend_Validate_NotEmpty and Object

2010-03-04 Thread Giorgio Sironi
On Thu, Mar 4, 2010 at 12:05 PM, Alayn Gortazar wrote: > El jue, 04-03-2010 a las 11:43 +0100, Giorgio Sironi escribió: > >> I guess it has to do with the way it is used in Zend_Form... usually > > you pass scalar values in a form. > > I'll take advantage of this thread and ask: > How do you test

Re: [fw-general] Zend_Validate_NotEmpty and Object

2010-03-04 Thread Alayn Gortazar
El jue, 04-03-2010 a las 16:20 +0100, Giorgio Sironi escribió: > > I'll take advantage of this thread and ask: > How do you test if an object is empty or not?? > > Actually empty object should not exist as testing for one would break > encapsulation. An "empty" object is

[fw-general] zend dojo help

2010-03-04 Thread dojonewb
Has anyone seen a tutorial that takes the entire chain of events from generating layers and build scripts all the way through to a completed view with a shrinksafe dojo? Every tutorial I've read stopped at making the profile. This is not so helpful when automating. I made this to try and connect

[fw-general] Zend_Loader_Plugin exception error for JQuery

2010-03-04 Thread MrMastermindNL
Hi, I've almost got my application running at my webhost. Locally it was already running fine in my MAMP, but case sensitivity is not active on my OSX system. So I found most of my typos. One I cannot find is the one for the JQuery plugin. I get this error: Fatal error: Uncaught exception 'Zend_

Re: [fw-general] Zend_Validate_NotEmpty and Object

2010-03-04 Thread Hector Virgen
You could create an "Empty" interface (or rather, Emptiable since I don't think you can use Empty): interface Emptiable { public function isEmpty(); } Then make your validator accept Emptiable objects along with strings, arrays, ints, etc. Maybe you can come up with a better name than Emptia

[fw-general] Re: Zend_Loader_Plugin exception error for JQuery SOLVED

2010-03-04 Thread MrMastermindNL
I renamed the ZendX/JQuery/View/Helper/JQuery.php to Jquery.php and the error is gone. Something for Zend? -- View this message in context: http://n4.nabble.com/Zend-Loader-Plugin-exception-error-for-JQuery-tp1578334p1578374.html Sent from the Zend Framework mailing list archive at Nabble.com

[fw-general] Soap Client - Way to dump raw request?

2010-03-04 Thread Mark Steudel
I'm using the Zend_Client to access a web service. And I'm trying to verify if there is a problem on my end or their end. Is there a way to dump the raw soap request so I can see exactly what's being sent? MS -- - Mark Steudel P: 206.375.7244 msteu...@gma

Re: [fw-general] Zend_Validate_NotEmpty and Object

2010-03-04 Thread Alayn Gortazar
El jue, 04-03-2010 a las 08:32 -0800, Hector Virgen escribió: > You could create an "Empty" interface (or rather, Emptiable since I > don't think you can use Empty): > > > interface Emptiable > { > public function isEmpty(); > } > > > Then make your validator accept Emptiable objects along

Re: [fw-general] This list was NOT spamed

2010-03-04 Thread Mihamina Rakotomandimby
> Dasn : > I've tested that. Both and are > true addresses. Once I send mail to them, I got that auto replies. You dont have enough work... -- Architecte Informatique chez Blueline/Gulfsat: Administration Systeme, Recherche & Developpement +261 34 29 155 34 / +261

Re: [fw-general] Zend_Validate_NotEmpty and Object

2010-03-04 Thread Maghiel Dijksman
How can an object be empty? It's an instance of a class. So it is something. On 4-3-2010 17:55, Alayn Gortazar wrote: El jue, 04-03-2010 a las 08:32 -0800, Hector Virgen escribió: You could create an "Empty" interface (or rather, Emptiable since I don't think you can use Empty): interface

Re: [fw-general] zend dojo help

2010-03-04 Thread Matthew Weier O'Phinney
-- dojonewb wrote (on Thursday, 04 March 2010, 06:49 AM +): > Has anyone seen a tutorial that takes the entire chain of events from > generating layers and build scripts all the way through to a completed > view with a shrinksafe dojo? > > Every tutorial I've read stopped at making the profil

Re: [fw-general] Zend_Validate_NotEmpty and Object

2010-03-04 Thread Hector Virgen
One such "empty" object would be an iterator that has nothing to iterate. There are other examples, but there's no way to test if an object is empty without a method to determine it because various objects would have different implementations on how to determine if it is empty. -- Hector On Thu,

Re: [fw-general] Re: Zend_Loader_Plugin exception error for JQuery SOLVED

2010-03-04 Thread Maghiel Dijksman
Where is your exception thrown? Can you e-mail a stacktrace? On 4-3-2010 17:50, MrMastermindNL wrote: I renamed the ZendX/JQuery/View/Helper/JQuery.php to Jquery.php and the error is gone. Something for Zend?

Re: [fw-general] Zend_Validate_NotEmpty and Object

2010-03-04 Thread Maghiel Dijksman
In that case it is empty but still, it is an object. But I understand what you mean! "Empty" is just to vague as a word to describe this. Maybe the english vocabulary needs a new term! :p On 4-3-2010 19:21, Hector Virgen wrote: One such "empty" object would be an iterator that has nothing to i

[fw-general] Re: zend dojo help

2010-03-04 Thread dojonewb
When I specify the items in the build profile, how would I do it? Would it only work if I hand roll the profile myself or can I set some parameters in the generateBuildProfile method? When the thing is done, it passes both the individual require statements and the layer into the view. Is it supp

Re: [fw-general] Zend_Validate_NotEmpty and Object

2010-03-04 Thread ludwig.prepoint
Asking for a php countable interface should be sufficient. I think it's safe to say any container object containig 0 contained objects is empty. No ? php empty() does that with arrays (but not with countable objects). Ludwig From: Hector Virgen Sent: Thursday, March 04, 2010 7:21 PM To: Maghi

[fw-general] maildir difficulty

2010-03-04 Thread Chris G
I am a very new user of Zend Framework and a fairly new user of PHP though I have been programming (in many languages, though mostly C/C++ and Java for the past few years) since 1971 or so. I have installed Zend Framework 1.9.4 on my xubuntu 9.10 system (it's the version from the Ubuntu repositori

[fw-general] Zend_Auth::getInstance()->clearIdentity() doesn't seem to log me out?

2010-03-04 Thread Cameron
Hi guys, I'm really not sure where I'm going with this one, it seems like I must be doing something completely wrong, but I'm not really sure where to even start looking. Here's my logout action: public function logoutAction() { Zend_Auth::getInstance()->clearIdentity(); $this->_h

Re: [fw-general] Zend_Auth::getInstance()->clearIdentity() doesn't seem to log me out?

2010-03-04 Thread Hector Virgen
Anything in your cookies causing you to stay logged in? -- Hector On Thu, Mar 4, 2010 at 7:30 PM, Cameron wrote: > Hi guys, I'm really not sure where I'm going with this one, it seems like I > must be doing something completely wrong, but I'm not really sure where to > even start looking. > >

Re: [fw-general] Zend_Auth::getInstance()->clearIdentity() doesn't seem to log me out?

2010-03-04 Thread Jake McGraw
On Thu, Mar 4, 2010 at 11:39 PM, Hector Virgen wrote: > Anything in your cookies causing you to stay logged in? > > -- > Hector > > > On Thu, Mar 4, 2010 at 7:30 PM, Cameron wrote: >> >> Hi guys, I'm really not sure where I'm going with this one, it seems like >> I must be doing something complet

[fw-general] Re: Zend_Loader_Plugin exception error for JQuery SOLVED

2010-03-04 Thread MrMastermindNL
Here's the stack trace: Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' with message 'Plugin by name 'Jquery' was not found in the registry; used paths: Admin_View_Helper_: /home/womenwin/domains/womenwin.org/public_html/cms/application/admin/views/helpers/ ZendX_JQuery_View_

Re: [fw-general] Zend_Auth::getInstance()->clearIdentity() doesn't seem to log me out?

2010-03-04 Thread Cameron
I'm logged in because I can still access the entire application, something I can't do until I'm authorized. As for cookies, I dunno... there's nothing in the application that manually writes anything to a cookie, so it could only be Zend or general PHP session related... On Fri, Mar 5, 2010 at 12: