Re: [fw-general] Zend_Form and validation language

2008-02-04 Thread Matthew Weier O'Phinney
-- Dividy [EMAIL PROTECTED] wrote (on Saturday, 02 February 2008, 03:19 PM -0800): For my first post on this nice forum, could someone explain me in details how to translate the error messages of a zend_form validation ? I tried much thing but none work. You'll need to do several things.

Re: [fw-general] How can i inherit Zend_Form_Element?

2008-02-04 Thread Matthew Weier O'Phinney
-- Hinikato [EMAIL PROTECTED] wrote (on Saturday, 02 February 2008, 11:57 PM -0800): I can't understand how can i inherit Zend_Form_Element. I tried redefine them but so many decorators and elements. Extend Zend_Form_Element. If you don't like the decorators present, override the

[fw-general] Re: [fw-mvc] Proposal for a user agent component

2008-02-04 Thread Christer Edvartsen
I agree with all your thoughts on the component. The part with returning device capabilities was more like an eventual goal as you say though. A good start would be to simply classify devices into some predefined categories. The name Zend_Device is also more fitting I guess. Thanks for the

Re: [fw-general] Zend_Form and validation language

2008-02-04 Thread Łukasz Kazimierz Bandzarewicz
Hi, Translations doesn't work with AJAX. Example: This code produces standard validators messages $response = $form-processAjax($form-getValues()); $this-getResponse()-setHeader('Content-Type', 'application/json') -setBody($response); This code populates messages from

Re: [fw-general] JIRA Client license for any Zend Framework developer

2008-02-04 Thread Andries Seutens
This is great news! Thanks! Andries Seutens http://andries.systray.be Simone Carletti schreef: Hi all, Igor Sereda, the chief developer of JIRA Client and owner of ALM Works, has provided a JIRA Client license for free for any Zend Framework developer. If you don't know JIRA Client, this

Re: [fw-general] Zend_Form and validation language

2008-02-04 Thread Matthew Weier O'Phinney
-- Dividy [EMAIL PROTECTED] wrote (on Monday, 04 February 2008, 06:22 AM -0800): Dividy wrote: For my first post on this nice forum, could someone explain me in details how to translate the error messages of a zend_form validation ? I tried much thing but none work. Thanks.

Re: [fw-general] Zend_Form and validation language

2008-02-04 Thread Dividy
Dividy wrote: Hello all :) For my first post on this nice forum, could someone explain me in details how to translate the error messages of a zend_form validation ? I tried much thing but none work. Thanks. First, thanks for answering so fast because using Zend every day, is

[fw-general] redirect and 500 Internal Error

2008-02-04 Thread Łukasz Kazimierz Bandzarewicz
Hi. It wont be a pure Zend Framewerok issue. I have problem with apache's 500 Internal Error on several production servers. For example. This code works on my localhost machine but on production server it rises 500 Internal Error: // SomeController.php function doSomethingAction() {

Re: [fw-general] Get output from other controller/action

2008-02-04 Thread Matthew Weier O'Phinney
-- daniel.stancu [EMAIL PROTECTED] wrote (on Monday, 04 February 2008, 07:12 AM -0800): Could someone explain to me how to get the output of other controller/action from the current controller? Use the action view helper: public function someAction { // Grab content from

Re: [fw-general] Get output from other controller/action

2008-02-04 Thread Pádraic Brady
Hi Daniel, Depends on why you need it - if you want to attach the output to a View, there's the Action View Helper which can be called from your view template. Otherwise, you could dig into it's code and replicate it into a Controller Action Helper accessible from with any Controller. Both

Re: [fw-general] Zend_Form and validation language

2008-02-04 Thread Dividy
Thanks for all your good advices. I tried everything you proposed some days ago and it didn't give any good results. That's why i have come with this solution. But please, if you could give me an example of line you'd put in a csv file, that would be great :) e.g. I tried using isEmpty;The

Re: [fw-general] redirect and 500 Internal Error

2008-02-04 Thread Tobias Gies
most likely the problem is that mod_rewrite is not enabled on the production server. enable it (or make your admin do it) and you should be good to go. Best regards, Tobias 2008/2/4, Łukasz Kazimierz Bandzarewicz [EMAIL PROTECTED]: Hi. It wont be a pure Zend Framewerok issue. I have problem

[fw-general] Zend_Http_Client_Adapter_Curl

2008-02-04 Thread Christian Fraunholz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I needed curl for authentication to the proxy with NTLM. Therefore I changed the Zend_Http_Client_Adapter_Curl (in the incubator) according to the Zend_Http_Client_Adapter_Interface. Now the curl adapter passes successful the same phpunit tests

Re: [fw-general] Zend_Form and validation language

2008-02-04 Thread Matthew Weier O'Phinney
-- Dividy [EMAIL PROTECTED] wrote (on Monday, 04 February 2008, 09:42 AM -0800): Thanks for all your good advices. I tried everything you proposed some days ago and it didn't give any good results. That's why i have come with this solution. But please, if you could give me an example of line

Re: [fw-general] Zend_Form and validation language

2008-02-04 Thread Matthew Weier O'Phinney
-- Łukasz Kazimierz Bandzarewicz [EMAIL PROTECTED] wrote (on Monday, 04 February 2008, 11:02 AM +0100): Translations doesn't work with AJAX. Example: This code produces standard validators messages $response = $form-processAjax($form-getValues());

Re: [fw-general] redirect and 500 Internal Error

2008-02-04 Thread Tobias Gies
what is the entry in the apache error.log? 2008/2/4, Łukasz Kazimierz Bandzarewicz [EMAIL PROTECTED]: Without mod_rewrite you can't execute ZF application. I forgot mention that, if I change redirect code to: if (isset($_SERVER['HTTP_REFERER'])) { $previousUrl = $_SERVER['HTTP_REFERER'];

Re: [fw-general] Zend_Loader and Zend_Filter_Input issues

2008-02-04 Thread Codiac
OK, thanks for clearing that up Matthew. Matthew Weier O'Phinney-3 wrote: -- Codiac [EMAIL PROTECTED] wrote (on Monday, 04 February 2008, 10:48 AM -0800): I noticed the E_WARNING in my apps too and also noticed you're assigned to solve it ;-). For me it's unclear which fix version

[fw-general] Get output from other controller/action

2008-02-04 Thread daniel.stancu
Hi, Could someone explain to me how to get the output of other controller/action from the current controller? Thanks, Daniel Stancu -- View this message in context: http://www.nabble.com/Get-output-from-other-controller-action-tp15268947s16154p15268947.html Sent from the Zend Framework

Re: [fw-general] Zend_Form and validation language

2008-02-04 Thread Matthew Weier O'Phinney
-- Jim Scherer [EMAIL PROTECTED] wrote (on Monday, 04 February 2008, 09:24 AM -0800): How does this work for 'INVALID' that appears in EmailAddress and Date? Or 'STRING_EMPTY' that appears in Alnum, Alpha, and Digits? Use the values of the constants as the keys. So, with EmailAddress:

[fw-general] Zend_Filter_Input refactoring

2008-02-04 Thread Simon Mundy
Hi everyone A heads-up to anyone using Zend_Filter_Input - there's a refactored version of Zend_Filter_Input added to the incubator that's ready for testing and comment by the community. It was refactored after noticing the E_WARNING's being thrown up after the improvements made to

Re: [fw-general] Zend_Loader and Zend_Filter_Input issues

2008-02-04 Thread Matthew Weier O'Phinney
-- Codiac [EMAIL PROTECTED] wrote (on Monday, 04 February 2008, 10:48 AM -0800): I noticed the E_WARNING in my apps too and also noticed you're assigned to solve it ;-). For me it's unclear which fix version release is the mini-release that's mentioned in the jira issue, is that the 1.5.0PR2

Re: [fw-general] Zend_TextParser proposal, ideas, suggestions?

2008-02-04 Thread Pieter
Hi, I did finish the Zend_TextParser proposal, it is ready for review and I would appreciate any feedback. The link to the proposal: http://framework.zend.com/wiki/x/3KQ Regards, Pieter Kokx

Re: [fw-general] redirect and 500 Internal Error

2008-02-04 Thread Tobias Gies
It should. However, you should also look into your .htaccess file again. did you set a proper RewriteBase (i.e., RewriteBase /subdir)? Best regards Tobias 2008/2/4, Łukasz Kazimierz Bandzarewicz [EMAIL PROTECTED]: I read ZF manual very carefully and I've found: 7.4.2.2. Base Url and

[fw-general] Nested Calls to Zend_View View Action Helper

2008-02-04 Thread Dan Dorman
Suppose I have a phtml file that features something like: ?= $this-action('index', 'nav') ? Say NavController implements three actions: indexAction, widgetOneAction, and widgetTwoAction; indexAction does nothing but render the following view script: pstart/p ?= $this-action('widgetOne', 'nav')