Re: [fw-general] Zend_Acl When / Where to check your ACL?

2009-07-17 Thread J DeBord
Thanks Mon. That is a great explanation. I have seen the diagram of the order you outlined, but found the text you posted to be easier to understand, so thanks for that. You've helped me understand a lot by answering. I really appreciate it. J On Fri, Jul 17, 2009 at 8:00 AM, Mon Zafra wrote:

Re: [fw-general] Zend_Acl When / Where to check your ACL?

2009-07-17 Thread J DeBord
On Fri, Jul 17, 2009 at 8:58 AM, Muhammad Ali wrote: > Hi > > I think you need to add the error resource to the Acl and allow full access > to error controller. > > You do need to do this, but I was having another issue. It was related to when the ACL is being checked, not the access rules them

Re: [fw-general] Zend_Acl When / Where to check your ACL?

2009-07-17 Thread Muhammad Ali
Hi J I am not sure if it would help but I am using Zend_Controller_Plugin_Abstract and registered in Bootstrap and works fine. function _initPlugins(){ Zend_Controller_Front::getInstance()->registerPlugin(new Plugin_ControllerAcl()); } Thanks From: J DeBord Sent: Friday, Ju

Re: [fw-general] Zend Form - _forward() and submit questions

2009-07-17 Thread magrytos1
Thanks Matthew, your answer helped me a lot. Although I have another question. When I'm passing an array in _forward(), how can I get this array in action, were forward sent me. Thx Matthew Weier O'Phinney-3 wrote: > > -- magrytos1 wrote > (on Thursday, 16 July 2009, 02:19 AM -0700): >> I ha

[fw-general] Typo in documentation (trunk)

2009-07-17 Thread holografix .
Appendix D. Recommended Project Structure for Zend Framework MVC Applications D.4.1.2. Rewriting within a .htaccess file Below is a sample .htaccess file that utilizes mod_rewrite. It is similar to the virtual host configuration, except that it specifies only the rewrite rules, and the leading sl

Re: [fw-general] Zend Form - _forward() and submit questions

2009-07-17 Thread Bart McLeod
_getAllParams() ? magrytos1 schreef: Thanks Matthew, your answer helped me a lot. Although I have another question. When I'm passing an array in _forward(), how can I get this array in action, were forward sent me. Thx Matthew Weier O'Phinney-3 wrote: -- magrytos1 wrote (on Thursday, 1

Re: [fw-general] Typo in documentation (trunk)

2009-07-17 Thread Matthew Weier O'Phinney
-- holografix . wrote (on Friday, 17 July 2009, 12:08 PM +0100): > Appendix D. Recommended Project Structure for Zend Framework MVC Applications > > D.4.1.2. Rewriting within a .htaccess file > > Below is a sample .htaccess file that utilizes mod_rewrite. It is similar to > the virtual host conf

Re: [fw-general] Typo in documentation (trunk)

2009-07-17 Thread holografix .
Great. Glad to "nano help" . Cheers holo 2009/7/17 Matthew Weier O'Phinney > -- holografix . wrote > (on Friday, 17 July 2009, 12:08 PM +0100): > > Appendix D. Recommended Project Structure for Zend Framework MVC > Applications > > > > D.4.1.2. Rewriting within a .htaccess file > > > > Below

[fw-general] View in the ViewScript decorator

2009-07-17 Thread Mathieu Suen
Hi, I am using a ViewScript decorator on a Zend_Form but i can't get the form from the view script. Here is the code: demogForm.phtml ___ ... form //Notice: Trying to get property of non-object ... ?> ... ___ MyForm.php ___ $this->setDecorators(array( array('ViewScript', array('viewScript'

[fw-general] [Fwd: Re: [fw-mvc] Autoloading in zf 1.8.4]

2009-07-17 Thread Bart McLeod
forwarded because I forgot to reply to all --- Begin Message --- I think I remember, didn't use it much yet myself, only once when I did a build from the commandline. Isn't the Bootstrap class the class that you define yourself in your index.php to set everything up that your application needs

Re: [fw-general] [Fwd: Re: [fw-mvc] Autoloading in zf 1.8.4]

2009-07-17 Thread Bart McLeod
And then forwarded to the wrong list, must have another coffee :-) Bart McLeod schreef: forwarded because I forgot to reply to all Onderwerp: Re: [fw-mvc] Autoloading in zf 1.8.4 Van: Bart McLeod Datum: Fri, 17 Jul 2009

[fw-general] Re: [fw-mvc] Re: [fw-general] [Fwd: Re: [fw-mvc] Autoloading in zf 1.8.4]

2009-07-17 Thread Raavi Raaj
I have my Bootstarp in /application/Bootstrap.php. Below is the sample of my bootstrap /application/Bootstrap.php '', 'basePath' => APPLICATION_PATH)); return $moduleLoader; } ... /public/index.php suppr

[fw-general] Re: [fw-mvc] Re: [fw-general] [Fwd: Re: [fw-mvc] Autoloading in zf 1.8.4]

2009-07-17 Thread Raavi Raaj
OK when I uncomment the below line (line 290 in Zend/Application.php), the my app seems to function. require_once $path; Any clue why the above works? -R On 7/17/09, Raavi Raaj wrote: > > I have my Bootstarp in /application/Bootstrap.php. Below is the sample of > my bootstrap > > > /applicati

[fw-general] Re: [fw-mvc] Re: [fw-general] [Fwd: Re: [fw-mvc] Autoloading in zf 1.8.4]

2009-07-17 Thread Bart McLeod
My guess is that your base autoloading mechanism finds all the classes and Zend_Application does not. And/Or, you have a circular require_once. That is something I struggled with this morning. Class A requires Class B and Class B requires_once class A...? So they sort of wait for each other, wh

[fw-general] Re: [fw-mvc] Re: [fw-general] [Fwd: Re: [fw-mvc] Autoloading in zf 1.8.4]

2009-07-17 Thread Raavi Raaj
Thanks for the assistance. I appreciate it. -R On 7/17/09, Bart McLeod wrote: > > My guess is that your base autoloading mechanism finds all the classes and > Zend_Application does not. And/Or, you have a circular require_once. That is > something I struggled with this morning. Class A requires

Re: [fw-general] Zend_Acl When / Where to check your ACL?

2009-07-17 Thread Jon Lebensold
It's postings like this that keep me on the mailing list. Thanks Mon Zafra! j On Fri, Jul 17, 2009 at 3:20 AM, Muhammad Ali wrote: > Hi J > > I am not sure if it would help but I am using > Zend_Controller_Plugin_Abstract and registered in Bootstrap and works fine. > > function _initPlugin

Re: [fw-general] View in the ViewScript decorator

2009-07-17 Thread Matthew Weier O'Phinney
-- Mathieu Suen wrote (on Friday, 17 July 2009, 01:48 PM +0200): > I am using a ViewScript decorator on a Zend_Form but i can't get the > form from the view script. > > Here is the code: > > > demogForm.phtml > ___ > ... > echo $this->form //Notice: Trying to get property of non-object ... > ?

Re: [fw-general] Zend_Acl When / Where to check your ACL?

2009-07-17 Thread Ralph Schindler
FYI, if you havent seen this already, its definitely worth a look: http://devzone.zend.com/article/4601 There are a couple of PDF's linked in there, the most helpful being the main one about the dispatch cycle. Cheers! ralph Jon Lebensold wrote: It's postings like this that keep me on the m

Re: [fw-general] custom form element not shown after unsuccessful form validation

2009-07-17 Thread nulele
hey, really nobody needs to create simple custom html elements in a zend form class? please help me!!! -- View this message in context: http://www.nabble.com/custom-form-element-not-shown-after-unsuccessful-form-validation-tp24512154p24537867.html Sent from the Zend Framework mailing list archiv

Re: [fw-general] Zend_Acl When / Where to check your ACL?

2009-07-17 Thread J DeBord
I had not seen that Ralph. Thank you very much. After a few months getting to know the Framework (and frameworks in general) I finally have reached the point on the learning curve where I can really start understanding how things are working. Of course I still need great answers and examples. This

Re: [fw-general] Problems with searching on-line documentation

2009-07-17 Thread j.padron
Can't describe better... Andrew Ballard-2 wrote: > > I was trying to search the on-line documentation for details about the > isXmlHttpRequest() method. With the language set to English, the > search returned no results. When I set the language to All, I got > twelve results: sections 12.4 and

[fw-general] Zend Framework 1.9.0 PREVIEW release now available

2009-07-17 Thread Matthew Weier O'Phinney
The Zend Framework team announces the immediate availability of a preview release of version 1.9.0: http://framework.zend.com/download/latest Note that because these packages are not stable, they will not be found on the zend.com CDN; please scroll to the bottom of the above page to find link

Re: [fw-general] Zend_Acl When / Where to check your ACL?

2009-07-17 Thread Mon Zafra
No problem guys, glad to be of service :D. Here's another dispatch diagram. It's not nearly as detailed as the one Ralph linked but this one IMO is much less confusing. I first saw it linked in the IRC channel. Kudos to the author. http://www.kitpages.fr/cms/site/tutoriaux/sequence_globale.jpg

Re: [fw-general] Zend Framework 1.9.0 PREVIEW release now available

2009-07-17 Thread Саша Стаменковић
Great. Any place where we can see full list, and bugs fixed? Regards, Saša Stamenković On Fri, Jul 17, 2009 at 11:08 PM, Matthew Weier O'Phinney wrote: > The Zend Framework team announces the immediate availability of a preview > release of version 1.9.0: > >http://framework.zend.com/downlo