[fw-general] Form processing by Action Helper -idea

2009-04-15 Thread Marko Korhonen
Hi, I made action helper which processes my forms. I give it the form, the row object and the success redirect url which can be modified with row data. Pros -thin controller -can define redirect url in controller where I have possibility to use other action helpers like url etc. -Can also make

[fw-general] dojo.connect issues

2009-04-15 Thread Kostyantyn Shakhov
Dojo setup is done and it's working. I'm trying the following in the view script: dojo()->onLoadCaptureStart(); ?> function () { dojo.connect(dijit.byId("[form id]"), "onSubmit", function() {alert('test')}); } dojo()->onLoadCaptureEnd(); ?> The issues are: 1) dijit is always undefined 2) if

[fw-general] Dojo Dialog Component

2009-04-15 Thread Kostyantyn Shakhov
There is no Dojo Dialog dijit support in Zend_Dojo. How can I display it on the page? I use Zend_Dojo in programmatic mode.

Re: [fw-general] Zend_Navigation

2009-04-15 Thread Michael Scholl
Am 15.04.2009 um 20:55 schrieb Robin Skoglund: Those aren't errors, and the coding standards say nothing about assignments in if statements. Right, nothing to find there… but I really wonder about that. Putting the assignment in the second condition makes the code more readable. The

Re: [fw-general] using a zend_form element again in same form -> decorators problem

2009-04-15 Thread Matthew Weier O'Phinney
-- Michael Scholl wrote (on Wednesday, 15 April 2009, 10:32 PM +0200): > I run in a problem with a zend_form element and its decorator. > > Tried to use the element twice in one form, which is in general no > problem. > But decorators of this element getting lost while be rendered the second >

Re: [fw-general] Zend_Navigation

2009-04-15 Thread SirEdward
Thanks for clearing up some of those points. I have to disagree with you on a couple of things though. I would dearly love to ditch IE6 in favour of standard browsers but unfortunately our users/clients don't (won't or can't)! I'll see what happens though once we've implemented the view helper an

Re: [fw-general] Zend Framework team reorganization

2009-04-15 Thread Jurriën Stutterheim
Thanks for all the hard work Wil, gratz to Matthew, and welcome to Zeev! Cheers, Jurriën On Apr 15, 2009, at 06:17 , Wil Sinclair wrote: I'd like to add that I have had a fantastic time working with everyone in the community. In fact, so much so that I'll remain a very active community memb

[fw-general] using a zend_form element again in same form -> decorators problem

2009-04-15 Thread Michael Scholl
Hi there, I run in a problem with a zend_form element and its decorator. Tried to use the element twice in one form, which is in general no problem. But decorators of this element getting lost while be rendered the second time (one render call - no ajax!) Found this issue: http://framework

[fw-general] Zend_Search_Lucene_Search_Query_Wildcard working with zf 1.7.0 but not with 1.7.7+

2009-04-15 Thread Sergio Rinaudo
Hello, hope anybody could help with the Search Lucene component. This code: $request = $this->getRequest(); $params = $request->getParams(); $c = isset($params['c']) ? $params['c'] : ''; $term = new Zend_Search_Lucene_Index_Term('*'.$c.'*','categories_url'); $query = new Zend_Search_Lucene_Se

[fw-general] Zend_Navigation

2009-04-15 Thread Thomas Shaw
I can't get the Zend_Navigation examples working found in the Zend_View Zend Helper section using the pages array found in "59.4.1.13.3 Navigation setup used in examples". The methods to create the container are pretty straight forward, in the view using the breadcrumbs method $this->navigation()->

Re: [fw-general] How do you decorate MultiCheckbox elements?

2009-04-15 Thread Philip G
On Tue, Apr 14, 2009 at 8:35 PM, Matthew Weier O'Phinney wrote: > -- Philip G wrote > (on Tuesday, 14 April 2009, 05:25 PM -0500): > > Simple question, I can't for the life of me figure out how you would > decorate > > checkbox elements. There seems to be options to do all sorts of things, > but

Re: [fw-general] Zend_Navigation

2009-04-15 Thread Robin Skoglund
Tom Shaw-4 wrote: > > I can't get the Zend_Navigation examples working found in the Zend_View > Zend > Helper section using the pages array found in "59.4.1.13.3 Navigation > setup > used in examples". The methods to create the container are pretty straight > forward, in the view using the bread

[fw-general] Zend_Navigation

2009-04-15 Thread Thomas Shaw
I can't get the Zend_Navigation examples working found in the Zend_View Zend Helper section using the pages array found in "59.4.1.13.3 Navigation setup used in examples". The methods to create the container are pretty straight forward, in the view using the breadcrumbs method $this->navigation()->

Re: [fw-general] Zend_Navigation

2009-04-15 Thread Robin Skoglund
SirEdward wrote: > > 1) The Menu helper automatically appends spaces to the output and these > are hard coded within the helper. While this means that the source looks > good when View Source is selected, we have a coding standard in place > where we use TABS for HTML output. Could this be chang

Re: [fw-general] Problem with Label decorator.

2009-04-15 Thread Matthew Weier O'Phinney
-- Philip G wrote (on Wednesday, 15 April 2009, 12:13 PM -0500): > ha. That's your solution for everything. Write your own! :p > > Alright. I'll look at these things in more detail later down the line. For > now, > I found a solution that I can use to whip out this form (it's in side a day, > fu

Re: [fw-general] Problem with Label decorator.

2009-04-15 Thread Philip G
ha. That's your solution for everything. Write your own! :p Alright. I'll look at these things in more detail later down the line. For now, I found a solution that I can use to whip out this form (it's in side a day, fully functional) and little time to research too much. :( In the future, I hope

Re: [fw-general] Problem with Label decorator.

2009-04-15 Thread Matthew Weier O'Phinney
-- Philip G wrote (on Wednesday, 15 April 2009, 10:45 AM -0500): > I'm looking at the examples at http://devzone.zend.com/article/ > 3450-Decorators-with-Zend_Form > In there, it shows a decorator setup to use table rows for each element. This > is almost what I need: > > $element->setDecorators(

[fw-general] Problem with Label decorator.

2009-04-15 Thread Philip G
I'm looking at the examples at http://devzone.zend.com/article/3450-Decorators-with-Zend_Form In there, it shows a decorator setup to use table rows for each element. This is almost what I need: $element->setDecorators(array( 'ViewHelper', 'Errors', array(array('data' => 'HtmlTag'), ar

Re: [fw-general] Zend_Navigation

2009-04-15 Thread SirEdward
Yes I agree with you that it may not necessarily be wrong which is why I asked. The first example on my list was probably be the worst to show as it was the most dubious, but the other ones when shown with more code look like this - // does page have a href? if ($href = $page->ge

Re: [fw-general] Zend_Controller_Action called two times

2009-04-15 Thread debussy007
I have just found out that some Ajax call is running the code too ... However in some cases, the extended controllers shouldn't run the code ... debussy007 wrote: > > Hi, > > Each of my Controllers extend my own parent controller > MyZend_Default_Controller_Action which extends > MyZend_Co

[fw-general] Zend_Controller_Action called two times

2009-04-15 Thread debussy007
Hi, Each of my Controllers extend my own parent controller MyZend_Default_Controller_Action which extends MyZend_Common_Controller_Action which finally extends Zend_Controller_Action. I have seen recently that actually, the request is going two times in the parent controllers for some reason;

Re: [fw-general] On view helpers & decorators

2009-04-15 Thread Matthew Weier O'Phinney
-- lightflowmark <1...@lightflowinterrupted.com> wrote (on Wednesday, 15 April 2009, 01:18 AM -0700): > I'm having a conceptual difficulty with view helpers & decorators and was > hoping someone could clarify this for me: > > When a form element (e.g. a text input) is rendered, the work of creatin

Re: [fw-general] On view helpers & decorators

2009-04-15 Thread lightflowmark
Are they? They seem to extend Zend_Form_Decorator_Abstract which implements Zend_Form_Decorator_Interface. They certainly *have* a form element (_element) but don't extend them as far as I can tell. The approximate process to render a the markup for a form element is form->render() calls each e

Re: [fw-general] On view helpers & decorators

2009-04-15 Thread keith Pope
2009/4/15 lightflowmark <1...@lightflowinterrupted.com>: > > Maybe I've misunderstood the structure, then.  My understanding was that > Zend_Form_Decorator_* decorated form elements, not that they decorated view > helpers.  Can someone clarify that? I think we were talking about different things :

Re: [fw-general] On view helpers & decorators

2009-04-15 Thread lightflowmark
Maybe I've misunderstood the structure, then. My understanding was that Zend_Form_Decorator_* decorated form elements, not that they decorated view helpers. Can someone clarify that? -- View this message in context: http://www.nabble.com/On-view-helpers---decorators-tp23054740p23055393.html S

Re: [fw-general] On view helpers & decorators

2009-04-15 Thread keith Pope
2009/4/15 lightflowmark <1...@lightflowinterrupted.com>: > > Sure; I understand the decorator pattern.  But in this case, the decorator is > decorating the form element; it's using functionality from the view helper > to do so. > > My question is, why is the decorator using a view helper to provide

Re: [fw-general] On view helpers & decorators

2009-04-15 Thread lightflowmark
Sure; I understand the decorator pattern. But in this case, the decorator is decorating the form element; it's using functionality from the view helper to do so. My question is, why is the decorator using a view helper to provide functionality which (it seems to me) it could do itself? -- View

Re: [fw-general] On view helpers & decorators

2009-04-15 Thread keith Pope
2009/4/15 lightflowmark <1...@lightflowinterrupted.com>: > > I'm having a conceptual difficulty with view helpers & decorators and was > hoping someone could clarify this for me: > > When a form element (e.g. a text input) is rendered, the work of creating > the form element markup (i.e. ) is done

[fw-general] On view helpers & decorators

2009-04-15 Thread lightflowmark
I'm having a conceptual difficulty with view helpers & decorators and was hoping someone could clarify this for me: When a form element (e.g. a text input) is rendered, the work of creating the form element markup (i.e. ) is done by the 'ViewHelper' decorator, which calls a view helper set by the

Re: [fw-general] Zend Framework team reorganization

2009-04-15 Thread Gregory Eve
Thank you Will for all you have done. Welcome Zeev, in the bigger and bigger community of ZF. Good Luck Matthew, You are the best man for this position. I hope you will do a good job in the future. -- Grégory EVE Developer Engineer PlayBack Team Mimesis Republic 80, rue des Haies 75020 Paris F