Hi there,
I don't know anything about ZEND. And before starting to plunge into
it, it would be great if someone could give me a hint or two to
comment if we're on the right track with what we want to achieve.
So, here's the situation:
We’ve developed a dynamic Data Portal ( http://geodata.
Ok so how would i set custom error messages making use of:
$form->addElement('text', 'name', array('required' => true, 'filters' =>
array('StringTrim', 'StringToLower'), 'label' => 'Name', 'description' => 'A
unique name for the action, letters only.'));
As whatever I do I cannot get it to work,
Joó Ádám wrote:
See this one: http://www.w3.org/TR/html4/interact/forms.html#adef-action
'User agent behavior for a value other than an HTTP URI is undefined.'
"" is a valid relative URI.
http://tools.ietf.org/html/rfc1808#section-5.2 : (linked from HTML4)
"An empty reference resolves to the
This suggestion works great in ZF 1.0.4, but since upgrading to 1.5.0 I can't
get it to work. The errors I get are:
[Fri Mar 28 11:53:04 2008] [error] [client 127.0.0.1] PHP Warning:
Zend_Loader::include_once(DOMPDF\\Exception.php) [
function.Zend-Loader-include-once function.Zend-Loader-includ
-- SiCo007 <[EMAIL PROTECTED]> wrote
(on Friday, 28 March 2008, 04:37 AM -0700):
>
> Ok so how would i set custom error messages making use of:
>
> $form->addElement('text', 'name', array('required' => true, 'filters' =>
> array('StringTrim', 'StringToLower'), 'label' => 'Name', 'description' =>
I'm trying to disable and reset the decorators on my form but the following
does nothing!
If I remove disableLoadDefaultDecorators' => true and the line
$form->setDecorators(array('FormElements', array('HtmlTag', array('tag' =>
'div')), 'Form')); then the form displays as normal (i.e. dd tags). I
-- SiCo007 <[EMAIL PROTECTED]> wrote
(on Friday, 28 March 2008, 06:03 AM -0700):
> I'm trying to disable and reset the decorators on my form but the following
> does nothing!
>
> If I remove disableLoadDefaultDecorators' => true and the line
> $form->setDecorators(array('FormElements', array('Html
Hi Metthew,
Any luck fixing this?
Regards,
Emil Ivanov
On 10/03/2008, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
> -- Arthur M. Kang <[EMAIL PROTECTED]> wrote
> (on Monday, 10 March 2008, 11:57 AM -0700):
>
> > Using latest SVN (8721).
> >
> > Not a major issue but when using translat
-- Емил Иванов / Emil Ivanov <[EMAIL PROTECTED]> wrote
(on Friday, 28 March 2008, 03:24 PM +0200):
> Any luck fixing this?
I haven't had a chance to look at it yet, and I'm not sure Amr has filed
an issue (Amr: hint, hint ;-) ).
> On 10/03/2008, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
This suggestion works great in ZF 1.0.4, but since upgrading to 1.5.0 I
can't get it to work. The errors I get are:
[Fri Mar 28 11:53:04 2008] [error] [client 127.0.0.1] PHP Warning:
Zend_Loader::include_once(DOMPDF\\Exception.php) [
function.Zend-Loader-include-once function.Zend-Loader-inclu
Your mail is quite confusing.
After reformatting there are a few things where I think that you eighter use
an outdated version or are having problems with your profiler.
loadClass is always called 54 times... but with 4 commented lines it takes
70ms less to load ? With the same ammount of line
Matthew Weier O'Phinney-3 wrote:
>
> $form = new Zend_Form(array(
> 'elementDecorators' => array(
> 'ViewHelper',
> array('Description', array('tag' => 'div', 'class' => 'help')),
> 'Errors',
> array('Label'),
> a
-- SiCo007 <[EMAIL PROTECTED]> wrote
(on Friday, 28 March 2008, 10:38 AM -0700):
>
>
> Matthew Weier O'Phinney-3 wrote:
> >
> > $form = new Zend_Form(array(
> > 'elementDecorators' => array(
> > 'ViewHelper',
> > array('Description', array('tag' => 'div', 'cl
SiCo007 wrote:
You're probably sick of me by now but I would really like to get this
working as I can't believe it's really this difficult! Thanks for all your
No, keep them coming. Zend_Form is really powerful, but nothing this
flexible is going to be trivial to finely configure. Thorough doc
Hey Stef,
About the templates: using a template engine will allow users to easily
customize templates and it will also make upgrading much easier than if you
use static templates.
If you want to make upgrading easy for your users then I would suggest you
script your software using object orientat
Given the zend_controller naming changes in zend framework 1.5, I’m trying to
figure out a recommended naming scheme that I can use for zf 1.5 and
onwards. This forum post helped a lot:
http://www.nabble.com/AW%3A-Normalizing-action-function-names-p16110540.html
http://www.nabble.com/AW%3A-Norm
I am trying to create a form that has a set of radio buttons marked Yes and
No and a text field.
I would like the text field to be required only when the Yes option is
selected for the radio's.
If I attach custom validation to the radio buttons, I can get an error to
occur like I want, but the e
Matthew Weier O'Phinney-3 wrote:
>
> Okay, I missed something in the previous emails. setElementDecorators()
> applies to elements set *before* it is called. When the
> 'elementDecorators' config option is passed, it is run on all elements
> created during configuration -- which you would have t
I'm trying add an alternative view helper path without call addHelperPath in
all my controllers neither include my helpers directory in the include path.
Of course, I don't wanna inject code into the native classes. There's a
'politically correct' way to provide this?
--
View this message in cont
-- Dennis Fogg <[EMAIL PROTECTED]> wrote
(on Friday, 28 March 2008, 02:53 PM -0700):
>
> Given the zend_controller naming changes in zend framework 1.5, I’m trying to
> figure out a recommended naming scheme that I can use for zf 1.5 and
> onwards. This forum post helped a lot:
> http://www.nabb
Matthew Weier O'Phinney-3 wrote:
>
>
> Let's cut to the chase:
>
> * Your controllers and actions can have camelCasing to accomodate
> multiple words
> * ON THE URL, you must specify multiple words using a word separator
> ('.' or '-')
> * VIEW SCRIPTS follow the same conventions
21 matches
Mail list logo