[fw-general] Zend Date Comparison with equals

2008-10-20 Thread aztechy
Hi guys, Having a little confusion over the use of the equals function for zend_date. It seems like it should be pretty straightforward. I'm mainly utilizing the function with a calendar implementation. So I basically have two zend_date objects, created from mysql datetime fields. The times

Re: [fw-general] Checkbox and Dojo_foRM validation, please help if anyone know how

2008-10-20 Thread Themselves
Matthew Weier O'Phinney-3 wrote: -- Themselves [EMAIL PROTECTED] wrote (on Wednesday, 08 October 2008, 02:12 AM -0700): I'm actually having the exact same problem as the OP with this one, except my code works just fine - I can validate the form no problem, I just can't get it to

Re: [fw-general] Zend Date Comparison with equals

2008-10-20 Thread Goran Juric
aztechy wrote: Is this the wrong use? Does $part have to be a zend_date constant? And if so, can I tie multiple constants together to build a date of '-MM-dd'? I am using Zend_Date::DATE_SHORT as the part, and 'hr_HR' as the locale and my locale has Zend_Date::DATE_SHORT set as

[fw-general] Problems with Zend_Form_Element_File since ZF1.6.2

2008-10-20 Thread drj201
I am trying to add a Zend_Form_Element File to a form... I am extending Zend_Form with my own class for reuse purposes. The problem is that since upgrading to ZF 1.6.2 my code no longer works. Build element:

Re: [fw-general] XML-RPC client and umlauts etc. question

2008-10-20 Thread Matthew Weier O'Phinney
-- Robert Castley [EMAIL PROTECTED] wrote (on Monday, 20 October 2008, 11:59 AM +0100): I have a form (not using Zend_Form) that when submitted will call a XML-RPC request. If a field in the form contains an umlaut or accute etc. then the value is getting stripped from the request. I

RE: [fw-general] XML-RPC client and umlauts etc. question

2008-10-20 Thread Robert Castley
Hi Matthew, Thanks for responding. - Two questions for you: * Is the XML-RPC server Zend_XmlRpc_Server, or another implementation? The server is another implementation * Are you using Zend_XmlRpc_Client? Yes I am The thing to note here is that I am tracing out the XML that

Re: [fw-general] Zend_Form name of the elements issue

2008-10-20 Thread Juan Felipe Alvarez Saldarriaga
Why isn't valid ? I mean, now I know how to do it, but, why is not a valid php name ? Regards. - Original Message - From: Paweł Chuchmała [EMAIL PROTECTED] To: Juan Felipe Alvarez Saldarriaga [EMAIL PROTECTED] Sent: Sunday, October 19, 2008 12:26:23 PM GMT -05:00 Columbia Subject: Re:

Re: [fw-general] Zend_Form name of the elements issue

2008-10-20 Thread Matthew Weier O'Phinney
-- Juan Felipe Alvarez Saldarriaga [EMAIL PROTECTED] wrote (on Monday, 20 October 2008, 12:59 PM +): Why isn't valid ? I mean, now I know how to do it, but, why is not a valid php name ? We require valid PHP names for elements to ensure that overloading and other functionality can work

Re: [fw-general] Problems with Zend_Form_Element_File since ZF1.6.2

2008-10-20 Thread Thomas Weidner
As reply to an mail this has been sent on 15.Oct: - Yes, this issue was added 7 hours ago and have already been fixed in trunk and branch. To solve this shortly you can: * Do not use addElement on the file element... the reason is that getValue() will be called on the

[fw-general] XML-RPC client and umlauts etc. question

2008-10-20 Thread Robert Castley
Hi, I have a form (not using Zend_Form) that when submitted will call a XML-RPC request. If a field in the form contains an umlaut or accute etc. then the value is getting stripped from the request. I have tried using htmlentities on the form values submitted but this is still causing the

Re: [fw-general] ZF performances / profiling the culprit

2008-10-20 Thread Matthew Weier O'Phinney
-- Bruno Friedmann [EMAIL PROTECTED] wrote (on Monday, 20 October 2008, 07:00 AM +0200): Matthew Weier O'Phinney wrote: -- Bruno Friedmann [EMAIL PROTECTED] wrote (on Sunday, 19 October 2008, 07:30 PM +0200): With the help of ZendStudio, I'm trying to understand why on one application

Re: [fw-general] Zend_Form decorators for table layout within an ini file

2008-10-20 Thread Ralf Eggert
Hi Mon, Thanks this does work now: elementDecorators.helper.decorator = viewHelper elementDecorators.errors.decorator = errors elementDecorators.data.decorator.data = htmlTag elementDecorators.data.options.tag = td elementDecorators.data.options.class = element

[fw-general] Problem with Zend_Form and filters (ZF 1.6.2)

2008-10-20 Thread Ralf Eggert
Hi, I have this short form class: - class Form_PizzaCreate extends Zend_Form { public function init() { // lege Attribute für Formular fest $this-setAction('/pizza/create'); //

Re: [fw-general] Problem with Zend_Form and filters (ZF 1.6.2)

2008-10-20 Thread Matthew Weier O'Phinney
-- Ralf Eggert [EMAIL PROTECTED] wrote (on Monday, 20 October 2008, 07:31 PM +0200): Hi, I have this short form class: - class Form_PizzaCreate extends Zend_Form { public function init() {

Re: [fw-general] Problem with Zend_Form and filters (ZF 1.6.2)

2008-10-20 Thread Matthew Weier O'Phinney
-- Ralf Eggert [EMAIL PROTECTED] wrote (on Monday, 20 October 2008, 08:20 PM +0200): Hi Matthew, Plugins are a strange beast. To get them to work properly, we have two ways you can specify them: * Pass in a concrete instance * Pass in the name of the plugin, minus class prefix

Re: [fw-general] Problem with Zend_Form and filters (ZF 1.6.2)

2008-10-20 Thread Ralf Eggert
Hi Matthew, Matthew Weier O'Phinney schrieb am 20.10.2008 21:17: Yes, please -- I should have removed those examples for the 1.6.0 release. Originally, we allowed it, but it was too difficult to support alongside lazy-loading (which was necessary to implement both for maintainability and

[fw-general] Zend_Pdf problems with encoding and accent marks

2008-10-20 Thread Grotevant, Paul F
I have an application that uses Zend_Pdf to output data that has been entered through a web form and stored in an Oracle database. The PDF is not correctly ouputting diacritical marks, such as accents, that have been entered through the web form. For example, a lower-case e with an accent (as in

Re: [fw-general] Default behavior of Zend_Layout::startMvc and plugin use?

2008-10-20 Thread drj201
Thanks for the reply Goran. Appreciate it. I am glad it is not just me suffering this problem. Care to explain your problem and how you went about your workaround? More importantly can anyone confirm/deny that this is standard and/or expected behaviour. To confirm it seems that a redirect to the

Re: [fw-general] Routing so that 'index' never shows up in the url?

2008-10-20 Thread David Mintz
On Sun, Oct 19, 2008 at 9:31 AM, till [EMAIL PROTECTED] wrote: On Sun, Oct 19, 2008 at 7:25 AM, TimTowdi [EMAIL PROTECTED] wrote: I want all actions for my IndexController to work using only the action name, and actually redirecting if the index controller name is used. So:

[fw-general] Zend_Date arithmetic: difference in days (not seconds) between two dates

2008-10-20 Thread David Mintz
I would like to compute the difference in days between two dates. I have the fix_dst option set to true and the timezone is America/New York. A DST change happened in my timezone on March 9, 2008. So, $date1 = new Zend_Date(array( 'year'= 2008, 'month'=3, 'day'=7, 'hour'=12, ));

Re: [fw-general] ZF performances / profiling the culprit

2008-10-20 Thread Bruno Friedmann
Matthew Weier O'Phinney wrote: -- Bruno Friedmann [EMAIL PROTECTED] wrote (on Monday, 20 October 2008, 07:00 AM +0200): Matthew Weier O'Phinney wrote: -- Bruno Friedmann [EMAIL PROTECTED] wrote (on Sunday, 19 October 2008, 07:30 PM +0200): With the help of ZendStudio, I'm trying to