Re: [fw-general] radio button with hash

2011-02-18 Thread Kaiuwe
In the documentation can be found: “Zend_Form: Advanced Zend_Form Usage - Array Notation“ http://framework.zend.com/manual/en/zend.form.advanced.html#zend.form.advanced.arrayNotation Am 18.02.2011, 11:21 Uhr, schrieb Mr.Kilmister : I would like to generate HTML form like this: It i

Re: [fw-general] Zend Form Element: prepend arbitrary HTML

2011-02-18 Thread Kaiuwe
Is there any SIMPLE way to add some HTML code after or before an element? What exactly do you want? For example, there is a description you can add. The description can include a link. If not, I find it stupid... simply because most developers need a standard decorator for that. Standard

Re: [fw-general] Zend Form Element: prepend arbitrary HTML

2011-02-18 Thread Kaiuwe
It is stupid that they don't have an easy way to prepend or append HTML code. Do you love the word "stupid"? ;) Let's say: why would I use a callback decorator OR View SCript Decorator, in order to prepend this: "[MY ELEMENT GOES HERE]href="URL">TEXT" You can use the description. Do you

Re: [fw-general] Zend Form Element: prepend arbitrary HTML

2011-02-18 Thread Kaiuwe
Nice that the Note Element is being developed. Anyway, could you write the code WITH the DESCRIPTION DECORATOR in order to create that code? Where is the problem? // Form $form = new Zend_Form(); // Element $form->addElement( 'text', 'name', array( 'label' => 'Name',

Re: [fw-general] Help with decorators

2011-03-20 Thread Kaiuwe
Im trying to understand the idea of decoraters. This is not an idea, it is a design pattern: http://en.wikipedia.org/wiki/Decorator_pattern however my textareas, checkboxes and input textbox are still not showing next to their label . You can use CSS: (example) dl { margin: 1em 0;

Re: [fw-general] Zend_Form_Element_Password

2011-03-31 Thread Kaiuwe
Zend_Form_Element_Password::setRenderPassword() http://framework.zend.com/apidoc/core/Zend_Form/Element/Zend_Form_Element_Password.html#setRenderPassword But it is a very bad idea because the password is in the HTML source code (value). Am 31.03.2011, 12:48 Uhr, schrieb Steve Rayner : Is it

Re: [fw-general] Re: Change layout in bootstrap

2011-04-27 Thread Kaiuwe
Don't use a parent controller. This is a bad idea! Use a plugin: http://framework.zend.com/manual/en/zend.controller.plugins.html This blog post will also help: http://weierophinney.net/matthew/archives/234-Module-Bootstraps-in-Zend-Framework-Dos-and-Donts.html Am 27.04.2011, 17:04 Uhr, sc

Re: [fw-general] control tabkey focus position

2011-06-10 Thread Kaiuwe
Do you mean the HTML attribute "tabindex"? http://www.w3.org/TR/html401/interact/forms.html#adef-tabindex $form->getElement('foo')->setAttrib('tabindex', 1); Am 10.06.2011, 17:45 Uhr, schrieb Diego Garcia : hi how can i set the focus position in a form when tab key is pressed? i know i can

Re: [fw-general] Zend_Form: adding css class attrib to select option elements

2011-07-22 Thread Kaiuwe
Am 22.07.2011, 17:06 Uhr, schrieb David Mintz : I noticed that $helper is a public property of Zend_Form_Element_Select, so rather than extending it, I have started working on a custom view helper instead, whose method signature is the same as that of formSelect in Zend_View_Helper_FormSelect.

Re: [fw-general] Zend_Form: adding css class attrib to select option elements

2011-07-22 Thread Kaiuwe
Am 22.07.2011, 17:43 Uhr, schrieb David Mintz The proposal in the issue tracker, if I understand it correctly, presumes you want all your options to have the same class… Sorry, wrong! It is for one option element. There is a difference between: "addMultiOption" and "addMultiOptions". -- Lis

Re: [fw-general] ZF2 Multilanguage Navigation

2012-11-12 Thread Kaiuwe
Am 11.11.2012, 12:50 Uhr, schrieb Gospodinow : Second problem : How to tell navigation to set parameter :lang to en(for example) Use: 'params' => array('foo' => 'bar'), More examples in the docs. http://framework.zend.com/manual/2.0/en/modules/zend.navigation.pages.html#zendnavigationpagemv