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
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
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
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
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
-- 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
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+
Hi there,
Ive 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
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
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
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
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_
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
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
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
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
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
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
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
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
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
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
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
>
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
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
-- 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.
-- 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 '
-- 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
-- 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
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
-- 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 :
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
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/
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
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
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
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
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();
38 matches
Mail list logo