Re: [fw-general] Reply to mailing list

2008-03-08 Thread Isaak Malik
There's a good chance you're not making through the spam filter. I haven't had a chance to log in and clean it up for a couple of weeks, but I'll get to it today or over the weekend. If you're there, I'll whitelist your email so it won't happen again. ,Wil Thank you, I'm surprised that the mail

Re: [fw-general] Zend_Form - should data validation occur on filtered value?

2008-03-08 Thread Matthew Weier O'Phinney
-- Laurent Melmoux <[EMAIL PROTECTED]> wrote (on Saturday, 08 March 2008, 12:16 PM +0100): > I’ve read the discussion and I really agree with Matthew first answer > (more below ) : Some more information here: ZFI and Zend_Form do pre-filtering in order to ensure that you can perform validations.

Re: [fw-general] Is there a way to set options on a tag surrounding a label?

2008-03-08 Thread Matthew Weier O'Phinney
-- Amr Mostafa <[EMAIL PROTECTED]> wrote (on Saturday, 08 March 2008, 01:03 PM +0200): > Pardon my rush there, I need to stop assuming that everyone lives on the > subversion trunk :) > Ok so here we go: This is going to work with the current trunk only or with > the > next 1.5 release candidate :

Re: [fw-general] Zend_Filter_Input 'presence'=>'required'

2008-03-08 Thread thurting
Try 'missingMessage' if you are still having problems. thurting wrote: > > Hi Brian, > > You can change the relative message by setting it as an option of your > Zend_Filter_Input instance. This can be done during instantiation or > through the setOptions() method. You can not set different

Re: [fw-general] Zend_Layout with nested layout?

2008-03-08 Thread SiCo007
I have just done something similiar, as I primarily thought this is what Zend_Layout would do, basically I have the layout include a common header and footer. I know this is going back to the dark ages a little but it seemed like the simplest fashion, and if you don't want a layout to use the sta

Re: [fw-general] Zend_Layout with nested layout?

2008-03-08 Thread Christian Ehmig
> > I'm just playing with Zend_Layout and have a quick question. What I'd > like to do is have a three part view. I'd like my designer to design a > wrapper "template" that consists of the markup surrounding the output > of action views. This is exactly what Zend_Layout does so perfect! b

Re: [fw-general] Zend_Form - should data validation occur on filtered value?

2008-03-08 Thread Laurent Melmoux
I’ve read the discussion and I really agree with Matthew first answer (more below ) : Matthew Weier O'Phinney-3 wrote: Validation merely makes sure that the submitted data passes certain rules. Filtering is for output -- to a database, to the screen, whatever. You validate unfiltered data, and

Re: [fw-general] Is there a way to set options on a tag surrounding a label?

2008-03-08 Thread Amr Mostafa
Pardon my rush there, I need to stop assuming that everyone lives on the subversion trunk :) Ok so here we go: This is going to work with the current trunk only or with the next 1.5 release candidate :) Cheers, - Amr On Sat, Mar 8, 2008 at 1:01 PM, Amr Mostafa <[EMAIL PROTECTED]> wrote: > You co

Re: [fw-general] Is there a way to set options on a tag surrounding a label?

2008-03-08 Thread Amr Mostafa
You could do that using the ViewScript decorator with the new content wrapping feature Matthew added few hours ago! :) Here is your new setElementDecorators(): $form->setElementDecorators(array( array('ViewHelper'), array('ViewScript', array('viewScript' => 'elemen

Re: [fw-general] Zend_Form - should data validation occur on filtered value?

2008-03-08 Thread Laurent Melmoux
Thanks Amr, I should have search the list :) -- Laurent Melmoux Annecy, France Amr Mostafa a écrit : Hi Laurent, While I don't have the answer to your question specifically, I know that Zend_Form used to validate before filtering like you are suggesting. But that was modified per this dis

Re: [fw-general] Zend_Form - should data validation occur on filtered value?

2008-03-08 Thread Amr Mostafa
Hi Laurent, While I don't have the answer to your question specifically, I know that Zend_Form used to validate before filtering like you are suggesting. But that was modified per this discussion: http://www.nabble.com/Zend_Form_Element-validation-bug-tt15589810s16154.html As a side note, I've

[fw-general] Zend_Form - should data validation occur on filtered value?

2008-03-08 Thread Laurent Melmoux
Hi Matthew and every body, First a use case: On an i18n application the user can chose is preferred date format for display and input. Let’s say 'dd/MM/'. I n the backend I will need a validator to validate the date format and a filter to convert the date to a Mysql format '-MM-dd'.