Re: [fw-general] using of two auth in zend

2010-06-10 Thread ludwig.prepoint
Hi, I have something like that in my current app. After succesful auth, I store the role (user, poweruser, admin) in the identity and another role called as_role. All my acl checks are done against as_role except one that is done against the true role. The check using the true role display som

Re: [fw-general] Custome validators issue on linux server ---- Help

2010-05-03 Thread ludwig.prepoint
Hi, filenames are case sensitives on linux but not on windows. If you have problems loading a file on linux but not on windows, chances are you forgot a capital in the filename. From: raj todkari Sent: Monday, May 03, 2010 7:14 AM To: fw-general@lists.zend.com Subject: [fw-general] Custome v

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

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

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

Re: [fw-general] Linux Server Giving Issues?

2010-03-02 Thread ludwig.prepoint
Hi, I'm new to zend lists so it's a test and an answer. (also i'm french so, please excuse my english (and my president too)). Filenames on linux are case sensitive, not on windows. It can bring the problem you get (it had for me, and multiple times, thanks to zf file naming conventions). Ch