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
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
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.
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
-- 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
>
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
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
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
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
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()->
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
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
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()->
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
-- 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
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
-- 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(
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
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
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
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;
-- 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
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
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 :
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
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
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
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
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
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
30 matches
Mail list logo