[fw-general] Zend_paginator + AJAX controls

2009-04-29 Thread dele454
http://www.nabble.com/file/p23310898/pag.gif I'm not sure if this is the right place to post it but i'll simply go ahead. >From the view above the table's data uses the Zend_Paginator to return the data from the db. The following describes what i am doing: - I am trying to control the pages

[fw-general] Zend_Amf Flex + AIR

2009-04-29 Thread J DeBord
General question about the structure of an AIR / Zend_Framework application: When using an AIR application as the View and the Zend Framework server side code as the model, where do the Controllers fit in? A more specific question: Are there any "push data , publish/subscribe" solutions that can

RE: [fw-general] extending ErrorController beyond controller and action to get vars

2009-04-29 Thread prado
Thanks Tom can i extend class "ErrorController extends Zend_Controller_Action" in such a way that i can add the errors for all the get variables that i am using under any action? I am looking for a more centralized approach where i can handle all the issues with get variables, like purposely mis

RE: [fw-general] extending ErrorController beyond controller and action to get vars

2009-04-29 Thread Tom Shaw
Reading deeper into your question where a url is purposely mistyped and you want to throw an exception you can create a simple plugin that executes before the controller is dispatched like so. public function preDispatch(Zend_Controller_Request_Abstract $request) { if (!Zend_Controller_Front::g

RE: [fw-general] extending ErrorController beyond controller and action to get vars

2009-04-29 Thread Tom Shaw
The below controller already handles all errors for example in your controller throw a test exception, once an exception is caught the controller will dispatch you to the below ErrorController/errorAction. To get errors for missing post/get variables just do a control structure check for the variab

Re: [fw-general] Is Zend_Tool_Project usable atm?

2009-04-29 Thread Matthew Weier O'Phinney
-- Brad Kowalczyk wrote (on Wednesday, 29 April 2009, 05:41 PM +0200): > Thanks Matthew, I figured this must have been the case - just that after > seeing > it in the docs I thought perhaps it was supposed to be working in the current > stable release and was perhaps broken or unintentionally lef

Re: [fw-general] Adding routes with application.ini

2009-04-29 Thread iceangel89
i used resources.router.routes.route = "/lab/departments/edit/:id" resources.router.routes.defaults.module = lab resources.router.routes.defaults.controller = departments resources.router.routes.defaults.action = edit resources.router.routes.defaults.id = 1 resources.router.routes.reqs.id = "\d+

RE: [fw-general] Zend Framework 1.8.0 sanity check tarballs available

2009-04-29 Thread Andrés Robinet
Hi there, I’ve got the following… // Bootstrap for module Adm class Adm_Bootstrap extends Zend_Application_Module_Bootstrap { public function __construct($application) { parent::__construct($application); $plugin = new Adm_Plugin_Some_Thing(); } … The

[fw-general] extending ErrorController beyond controller and action to get vars

2009-04-29 Thread prado
Hi how can i extend below this simple ErrorController beyond controller-action to GET variables for eg. $this->getRequest()->getParam('id') i need to get errors for individual content items too, where an invalid id or not found/wrong id variables are purposely typed on the browser class Error

Re: [fw-general] Zend_Forms with Zend_Db_Tables

2009-04-29 Thread Cameron
The $form->populate() method accepts an array of key->value pairs that it will populate the form with before passing on to your view. On Wed, Apr 29, 2009 at 4:05 PM, iceangel89 wrote: > > i think this is common. i want to create a form that optionally maps to a > table row. eg. i have a departm

Re: [fw-general] Is Zend_Tool_Project usable atm?

2009-04-29 Thread Brad Kowalczyk
Thanks Matthew, I figured this must have been the case - just that after seeing it in the docs I thought perhaps it was supposed to be working in the current stable release and was perhaps broken or unintentionally left out, so I just made an attempt to fill in the gaps. Do you think it would be

[fw-general] Menu in ZF: Controller Plugin with postDispatch method

2009-04-29 Thread Andrei Iarus
Hello all,   I want to generate a menu for every page. As one of the quickest method (am I wrong here? are there quicker methods? at least it is quicker than calling action() from template) is to register a plugin that adds in the stack of the Zend_Front_Controller a new Zend_Controller_Request_

Re: [fw-general] Zend Framework 1.8.0 sanity check tarballs available

2009-04-29 Thread David Mintz
Oh my this is looking like a tasty release indeed. Well done! -- David Mintz http://davidmintz.org/ The subtle source is clear and bright The tributary streams flow through the darkness

Re: [fw-general] Zend_Payment Paypal, MoneyBookers, Tranzila. Looking for review

2009-04-29 Thread till
On Wed, Apr 29, 2009 at 7:57 PM, Vadim Gabriel wrote: > > > On Tue, Apr 28, 2009 at 8:33 PM, till wrote: >> >> On Tue, Apr 28, 2009 at 6:48 PM, Vadim Gabriel wrote: > (...) >> > 6) I was thinking about that while i was wrtting this. But then i said >> > for >> > consistency i should stick with o

[fw-general] short open tags

2009-04-29 Thread Mike Wright
Hi all, (This is info, not a question.) As a rule I do not enable php's short open tags in its php.ini configuration file; neither do I use .htaccess files because of the overhead required. This has become an issue for me because many of the examples provided, such as "bugapp", are written

Re: [fw-general] Is Zend_Tool_Project usable atm?

2009-04-29 Thread Vadim Gabriel
Hey, Usually the docs refer to the latest version. 1.8 is currently the latest so you need to assume that it refers to that version. *That's what i do. Vince. On Wed, Apr 29, 2009 at 9:08 PM, Eric Butera wrote: > On Wed, Apr 29, 2009 at 8:09 AM, Matthew Weier O'Phinney > wrote: > > -- Brad K

Re: [fw-general] Is Zend_Tool_Project usable atm?

2009-04-29 Thread Eric Butera
On Wed, Apr 29, 2009 at 8:09 AM, Matthew Weier O'Phinney wrote: > -- Brad Kowalczyk wrote > (on Wednesday, 29 April 2009, 03:08 AM +0200): >> I just setup the zf.sh and zf.php scripts in my env then svn exported the >> Zend/ >> CodeGenerator lib into the appropriate location (it was not incl in

Re: [fw-general] Zend_Payment Paypal, MoneyBookers, Tranzila. Looking for review

2009-04-29 Thread Vadim Gabriel
On Tue, Apr 28, 2009 at 8:33 PM, till wrote: > On Tue, Apr 28, 2009 at 6:48 PM, Vadim Gabriel wrote: > > Hey, > > > > Wow. Talking about feedback. Those are some great pointers you have right > > there. I will tackle them starting tomorrow to make it as much as > developer > > friendly as possib

Re: [fw-general] How do I use Zend_Paginator without MVC ?

2009-04-29 Thread Shaun Rowe
benjw wrote: How do I display/render the Paginator controls when I'm not using a view script/partial? There are no examples anywhere and I can't figure it out. Thanks, You can use the output of $paginator->getPages() to access all the data you'd need to write your own pagination control with

[fw-general] How do I use Zend_Paginator without MVC ?

2009-04-29 Thread benjw
How do I display/render the Paginator controls when I'm not using a view script/partial? There are no examples anywhere and I can't figure it out. Thanks, -- View this message in context: http://www.nabble.com/How-do-I-use-Zend_Paginator-without-MVC---tp23296112p23296112.html Sent from the Zen

Re: [fw-general] jotBug is iPhone/Touch friendly

2009-04-29 Thread Alex Howansky
I assume this uses the User-Agent string to determine which front end to render? THat is correct :-) Looks great but doesn't work on my G1. :( I guess I will submit a patch to iui, to have it recognize the slightly different user-agent string for what is basically the same browser. Thanks

Re: [fw-general] jotBug is iPhone/Touch friendly

2009-04-29 Thread Robert Castley
THat is correct :-) -Robert On 29 Apr 2009, at 14:36, Alex Howansky wrote: With thanks to Phil and the iUI project - http://code.google.com/p/iui/ jotBug now has a iPhone/Touch web frontend :-) Test it for yourself @http://jotbug.org from your iPhone/Touch :-) I assume this uses the User-Ag

Re: [fw-general] Implement ExtJs with ZF

2009-04-29 Thread PHPScriptor
Can you be more specific? 'Cause what do you mean with 'best method'? I'm writing a site with zend framework and Ext Js. But I'm only using grids, ajax, Not really forms. Razorblade wrote: > > > Hi, > > which is the best method to implement the Ext Js framework inside the ZF? > Thanks >

[fw-general] Timeline for new Zend_Pdf release

2009-04-29 Thread Kexiao Liao
Does anyone know the timeline of next release of Zend_Pdf component, so that it can support PDF 1.7 format specification. Thanks for your comments. Kevin -- View this message in context: http://www.nabble.com/Timeline-for-new-Zend_Pdf-release-tp23295868p23295868.html Sent from the Zend Framewor

Re: [fw-general] jotBug is iPhone/Touch friendly

2009-04-29 Thread Alex Howansky
With thanks to Phil and the iUI project - http://code.google.com/p/iui/ jotBug now has a iPhone/Touch web frontend :-) Test it for yourself @http://jotbug.org from your iPhone/Touch :-) I assume this uses the User-Agent string to determine which front end to render? -- Alex Howansky smime

Re: [fw-general] Adding routes with application.ini

2009-04-29 Thread Matthew Weier O'Phinney
-- iceangel89 wrote (on Wednesday, 29 April 2009, 02:25 AM -0700): > how can i add routes to application.ini Based on what you have below, resources.router.routes.lab.route = "/lab/departments/edit/:id" resources.router.routes.lab.defaults.controller = departments resources.router.

Re: [fw-general] Is Zend_Tool_Project usable atm?

2009-04-29 Thread Matthew Weier O'Phinney
-- Brad Kowalczyk wrote (on Wednesday, 29 April 2009, 03:08 AM +0200): > I just setup the zf.sh and zf.php scripts in my env then svn exported the > Zend/ > CodeGenerator lib into the appropriate location (it was not incl in the full > ZF > download) and tried to create a new project using the '

Re: [fw-general] Replacing Zend_Loader by Zend_Loader_Autoloader

2009-04-29 Thread Matthew Weier O'Phinney
-- Rob Allen wrote (on Wednesday, 29 April 2009, 08:40 AM +0100): > On 27 Apr 2009, at 19:37, Bart McLeod wrote: > Matthew Weier O'Phinney schreef: > -- Bart McLeod wrote > (on Monday, 27 April 2009, 06:11 PM +0200): > For all of you who are also wondering what is

Re: [fw-general] Re[fw-general] move/Edit Decorators from Form Elements (eg. submit/hidden)

2009-04-29 Thread Matthew Weier O'Phinney
-- iceangel89 wrote (on Tuesday, 28 April 2009, 11:30 PM -0700): > how can i remove decorators from form elements? say submit and hidden $form->{elementname}->removeDecorator('{decoratorname}'); But in all liklihood, instead of doing that, simply specify the decorators you *want* to use when

[fw-general] Zend_Navigation and Zend_Acl

2009-04-29 Thread Kyohere Luke
Hi, I've just been browsing through the Zend_Navigation documentation & I'm thinking that if it could hook into Zend_Acl, one would be able to control the Navigation elements that appear based on whether the current user is allowed to see them & both components could get their data from the same so

Re: [fw-general] jotBug is iPhone/Touch friendly

2009-04-29 Thread Matthew Weier O'Phinney
-- Robert Castley wrote (on Wednesday, 29 April 2009, 12:54 AM +0100): > With thanks to Phil and the iUI project - http://code.google.com/p/iui/ > > jotBug now has a iPhone/Touch web frontend :-) > > > Test it for yourself @http://jotbug.org from your iPhone/Touch :-) > > All running on ZF 1.8.0 :

[fw-general] dijit.byId issue for Zend_Dojo RadioButton

2009-04-29 Thread Kostyantyn Shakhov
There are RadioButton and CurrencyTextBox on the page and I’m trying to disable them but dijit.byId works fine for the CurrencyTextBox and returns undefined for the RadioButton. In the Form: $this->addElement( 'RadioButton', '[radio_button_id]', array( 'label' => 'label', 'multiOptions' => array

[fw-general] Implement ExtJs with ZF

2009-04-29 Thread Sergio Rinaudo
Hi, which is the best method to implement the Ext Js framework inside the ZF? Thanks Sergio Rinaudo _ È arrivato il nuovo Messenger! Provalo subito http://clk.atdmt.com/GBL/go/140630370/direct/01/

[fw-general] Adding routes with application.ini

2009-04-29 Thread iceangel89
how can i add routes to application.ini and in general how do i create a mapping from resources.db.adapter = "pdo_mysql" resources.db.params.host = "localhost" resources.db.params.username = "root" resources.db.params.password = "" resources.db.params.dbname = "zf-ims" to code like new Zend_Db

[fw-general] Is Zend_Tool_Project usable atm?

2009-04-29 Thread Brad Kowalczyk
Hi, I just setup the zf.sh and zf.php scripts in my env then svn exported the Zend/CodeGenerator lib into the appropriate location (it was not incl in the full ZF download) and tried to create a new project using the 'zf create project ...' command. I got this: Fatal error: Call to undefined

[fw-general] How to get the previous page

2009-04-29 Thread iceangel89
i want to find out what is the URL that called a controller/action so that after processing somethings (editing a record) i can go back to that exact page. i am using Zend_Paginator so say i came from page 2 editing a record, i want to return to page 2 -- View this message in context: http://www

[fw-general] Zend_Forms with Zend_Db_Tables

2009-04-29 Thread iceangel89
i think this is common. i want to create a form that optionally maps to a table row. eg. i have a departments table thus a department Zend_Db_Table i also created a form class that extends from Zend_Form to add/edit rows so for add its simple all fields empty. for edit i want to populate the fie

Re: [fw-general] Replacing Zend_Loader by Zend_Loader_Autoloader

2009-04-29 Thread Rob Allen
On 27 Apr 2009, at 19:37, Bart McLeod wrote: Matthew Weier O'Phinney schreef: -- Bart McLeod wrote (on Monday, 27 April 2009, 06:11 PM +0200): For all of you who are also wondering what is needed to replace the good old require_once 'Zend/Loader.php'; Zend_Loader::registerAutoLoad();