Generally, you would instantiate the form in the controller, and then pass it
to the view script:
Controller.php
myAction()
{
$form = new form();
$this->view->form = $forml
}
I personally would have the dialog open a URL directly, rather than pass it
content to render, but there's probably n
Hi,
I have a problem that I can't figure out and hope someone could help me out.
I've built a fairly simple application that works perfectly fine on my
machine (windows XP running WAMP).
When I copied it onto a virtual machine running ubuntu 8 and tried to run
the application, I can only get to
Hi everyone,
I have a problem with GET forms submitting to controllers within the
framework.
I have a GET form in a page outside of the Zend Framework app. It does a
normal GET to the search controller of my Framework app like this (I
have a custom route set up)
/app/search?q=query
However, my
-- Matt Pearson wrote
(on Friday, 26 June 2009, 12:36 PM +0100):
> I have a problem with GET forms submitting to controllers within the
> framework.
>
> I have a GET form in a page outside of the Zend Framework app. It does a
> normal GET to the search controller of my Framework app like this (I
Hi,
i have some great problems getting Zend::session to work.
i started out with the simple usage of Zend::session but it doesn't work.
so i decided to use a database as a backend instead.
i have the following in my bootstrap (taken directly from the zend docs):
$db = Zend_Db::factory('Pdo_My
Try using phpmyadmin and make sure your data types are correct. I have mine
set to
Id varchar 32
modified int 11
lifetime int 11
data text
Tom
-Original Message-
From: KimG [mailto:kim.gabriel...@get2net.dk]
Sent: Friday, June 26, 2009 7:31 AM
To: fw-general@lists.zend.com
Subject: [fw-
I agree, modules (and auth and acl) should be added to the QuickStart or some
other Zend provided example. I can't think of any real world application
that will not need these three additional capabilities.
- Steve W.
Vince42 wrote:
>
> Hi,
>
> Dalibor Karlović schrieb:
>> I think we should r
Hi,
keith Pope schrieb:
> I find it best to name the default module though
> like this:
>
> resources.frontcontroller.defaultmodule = "mynamespace"
> resources.frontcontroller.params.prefixDefaultModule = true
>
> and then use:
>
> $this->_resourceLoader = new Zend_Application_Module_Autoloader
Hi,
swilhelm schrieb:
> I agree, modules (and auth and acl) should be added to the QuickStart
> or some other Zend provided example. I can't think of any real world
> application that will not need these three additional capabilities.
That's exactly why I am currently trying to port the guestbook
Hi,
I have multiple filtering selects in my Dojo form (they work just fine). But
when I create a subform and add filtering select to it, none of the
filtering select function (even in the parent form fail to function). I have
made sure that I am using unique IDs for filtering select. I populate
f
2009/6/26 Vince42 :
> Hi,
>
> swilhelm schrieb:
>> I agree, modules (and auth and acl) should be added to the QuickStart
>> or some other Zend provided example. I can't think of any real world
>> application that will not need these three additional capabilities.
>
> That's exactly why I am current
Hi zf gurus.
I have large amount of data which I'm inserting into MySQL db. That is array
of urls and I'm iterating and manually hammering bulk insert qury for better
performances.
So, Im running query with
$zdb->query('INSERT INTO `Content` (`FeedId`, `ContentValue`) VALUES (..),
(..)');
Thi
Hey all,
I seem to not be able to get the default table adapter to load when
accessing my dbtable class.
A added the line in my config, "resources.db.isDefaultTableAdapter = true".
I'm using this,
http://framework.zend.com/docs/quickstart/create-a-model-and-database-table,
just the dbtable rela
As Mark is inherently suggesting (I think), you should keep your
javascript logic as decoupled from your back end as you can. Try and
make the problems simple chunks you can figure out:
- Can I render a form in a header?
- Can I post this form and validate it?
- Can I let the right model do the
Hi Rod,
You most probably do have MultiViews enabled, but not mod_rewrite.
MultiViews lets files without their extension handle response (e.g.
index => index.php). Try making simple test cases in your .htaccess to
figure out if mod_rewrite actually works, e.g.:
RewriteRule .* http://www.zen
Hi,
You might want to look for the QSA (Query-string append) parameter to
RewriteRule in mod_rewrite. Refer to the apache docs for this.
Gerard
Matt Pearson wrote:
Hi everyone,
I have a problem with GET forms submitting to controllers within the
framework.
I have a GET form in a page outsi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vince42 wrote:
> That's exactly why I am currently trying to port the guestbook example
> to a modularized version - maybe I'll post about it, when it's done. :)
Sounds like a good idea :) I've posted about how I modularized the
guestbook application
17 matches
Mail list logo