As some of you are probably already aware, Matthew and I invest quite a
lot of time in reading both blogs and tweets on Twitter about Zend
Framework. I can say personally that this has been a particularly
educational and rewarding activity for me. Unfortunately, the volume of
the blogs/tweets has
-- Matthew Weier O'Phinney [EMAIL PROTECTED] wrote
(on Monday, 01 December 2008, 11:50 PM -0500):
-- Jordan Moore [EMAIL PROTECTED] wrote
(on Monday, 01 December 2008, 08:24 PM -0800):
The route that fails is as follows:
routes
homepage
Hi Till,
Yeah, I should probably write some more details about the script, will
do a blog post when I get a chance. Basically the script solves two
problems.
Firstly, as you may have seen, there's been a lot of discussion about
removing all the require_once statements from ZF, in order to improve
Hi..
i've tried to create zend dojo form in Action and it's work nicely
(using ZF 1.7.1), for example:
function dojoformAction() {
Zend_Dojo::enableView($this-view);
$form = new Zend_Dojo_Form();
$form-setMethod(post);
Hi guys, Matthew, Thomas,
I’m giving a try to Zend_Form + Zend_File_Transfer and I’m facing a
issue with Zend_Form_Element_File::getValue()
I’m not using Zend_Form to renders my forms.
Before displaying the form (on create or update) I populate it with
default values or values from the db
Laurent,
getValues does NOT access $_FILES.
This you have misunderstood. The $_FILES array is used as input for the
transfer adapter. But again, it does not work with the $_FILES array. The
internal representation of the data is different to $_FILES.
So you said that you are not displaying
-- Jack Sleight [EMAIL PROTECTED] wrote
(on Tuesday, 02 December 2008, 05:32 PM +):
The second problem is that at present, it is not possible to use your
own class loader with ZF (which is something I want to do). This is
because there are many calls to Zend_Loader::loadClass() hard coded
Matthew Weier O'Phinney-3 wrote:
-- Samuel Verdier [EMAIL PROTECTED] wrote
(on Tuesday, 05 August 2008, 03:43 PM +0200):
In use addError('test');
And : $form-isValid($formData); retour true.
Is this normal?
Yes. The use case for addError() is to add an error message to the
-- Superbiji » [EMAIL PROTECTED] wrote
(on Wednesday, 03 December 2008, 06:31 PM +0700):
i've tried to create zend dojo form in Action and it's work nicely
(using ZF 1.7.1), for example:
function dojoformAction() {
Zend_Dojo::enableView($this-view);
$form
Is there any way to have same functionality which ajaxLink provide, but in
Zend Dojo?
Thanks,
V
--
View this message in context:
http://www.nabble.com/AjaxLink-in-Zend_Dojo-tp20795432p20795432.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Anyone pls?
--
View this message in context:
http://www.nabble.com/QUestion-about-jQuery-ajaxLink--can-anyone-take-a-look-on-this-please--tp20732925p20795245.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Hello Community,
I turning to you after many hours of head scratching and frustration. I have
a site developed using PHP, ZendFramework, MySQL and Apache. The site uses
Zend_Form extensively to process forms. The code all executes without issue
on my Local, development, and staging server.
Thanks Matt.
I create route like this:
routes.x.type = Zend_Controller_Router_Route_Regex
routes.x.route = (.*)
routes.x.defaults.module = default
routes.x.defaults.controller = section
routes.x.defaults.action = load
routes.x.map.1 = path
For uri like /about/history/1999/
I get output like:
Matthew Weier O'Phinney-3 wrote:
-- Samuel Verdier [EMAIL PROTECTED] wrote
(on Tuesday, 05 August 2008, 03:43 PM +0200):
In use addError('test');
And : $form-isValid($formData); retour true.
Is this normal?
Yes. The use case for addError() is to add an error message to the
element
netlynx wrote:
The question that came to mind is Rob is checking for an identity in the
preDispatch() method of the action controller --
Zend_Auth::getInstance()-hasIdentity() --, and I am wondering if this
wouldn’t be better located in the init() method of the action controller?
I
I had a stable application put together using a layout and view setup in
Zend Framework 1.5.1. I noticed some improvements to the a particular view
helper in ZF 1.7.1, so I thought I would be a simple transition just to
update the library directory with the new Zend. With the updated version of
Hi,
How would I go about defining an array of complex types as a property of
another complex type? The code below gives me the error.
Cannot add a complex type MyComplexTypeB[] that is not an object or where
class could not be found in 'DefaultComplexType' strategy.
function wsdlAction(){
Hi,
is there a generic way to log all database calls from ZF? Or log all db
errors?
I know that I can use the profiler - I use it with Firebug and it works
nicely with successful queries - but gives me no help when a db error
occurs.
When a db error occurs I would like to see the offending
Jason Webster wrote:
You can call setPrependBase(true) on the redirector action helper, and
it should fix your problem.
Thank you both for your responses.
It appears that setting prependBase to false fixes the problem if '$url' is
already fully constructed (e.g., taken from
Matthew Weier O'Phinney-3 wrote:
Look into dojo.xhr:
http://dojotoolkit.org/book/dojo-book-0-9/part-3-programmatic-dijit-and-dojo/ajax-transports
There's not a direct equivalent to Ajax.Updater, but it's trivial to use
dojo.place to inject the content into your DOM via a load
Hi!
I've been looking up and down for some example regarding dynamic/linked
select boxes with Zend_Form. I have a form that when the user clicks on the
country select box, an other select box should display all cities belonging
to this country.
Can someone share some way to accomplish this?
I'm playing around with Zend_Amf and for the most part things work smoothly.
I am having issues trying to fully map one Object model. In the flex
application I use and ObjectProxy to track changes to an ObjectModel which
has binding to a collection of input components.
When passing this Object
I have been reading through the documentation and many tutorials around the
web, and one tutorial got me asking the question ‘where does this really
belong’.
The tutorial in specific was on Akra’s DevNotes (Rob, if you are reading
this, your tutorials are AWESOME!), titled : Getting Started
Hi Thomas,
Well I said $_FILES to simplified the internal of
Zend_File_Transfer_Adapter_Abstract which is using
Zend_File_Transfer_Adapter_Abstract ::_files :) sorry if it made it
confusing.
To simplified it :
If I call Zend_Form::getValues() before any form submission an exception
is
Hey Jack,
On Tue, Dec 2, 2008 at 5:16 PM, Jack Sleight [EMAIL PROTECTED] wrote:
Hi Everyone,
Just wanted to post a quick update to my previous script, which is now
compatible with 1.7.1 and Zend_Loader_PluginLoader, the code is here:
http://pastebin.com/f19b4676
Place it in a directory,
-- kabel2 [EMAIL PROTECTED] wrote
(on Tuesday, 02 December 2008, 11:06 PM -0800):
I had a stable application put together using a layout and view setup in
Zend Framework 1.5.1. I noticed some improvements to the a particular view
helper in ZF 1.7.1, so I thought I would be a simple
I know of this problem too, I actually started working on a proposal for an
autoloader that would play nice with other autoloaders.
http://framework.zend.com/wiki/display/ZFPROP/Zend_Loader_Autoloader+-+Ralph
+Schindler
In short, it would allow you to register a namepsace prefix that would
only
Hello Krytie,
the ArrayOfTypeComplex strategy is not ignored. Its used for the first level
and then replaced by the DefaultComplexType for the second level. I havent
thought about deeper levels. This is a bug.
I have added an issue to Jira and will look into it for the next release.
Maybe you
-- Marc Grue [EMAIL PROTECTED] wrote
(on Tuesday, 02 December 2008, 03:19 PM -0800):
Matthew Weier O'Phinney-3 wrote:
Look into dojo.xhr:
http://dojotoolkit.org/book/dojo-book-0-9/part-3-programmatic-dijit-and-dojo/ajax-transports
There's not a direct equivalent to
Sounds good to me.
On Tue, Dec 2, 2008 at 11:51 AM, Matthew Weier O'Phinney
[EMAIL PROTECTED] wrote:
-- Matthew Weier O'Phinney [EMAIL PROTECTED] wrote
(on Monday, 01 December 2008, 11:50 PM -0500):
-- Jordan Moore [EMAIL PROTECTED] wrote
(on Monday, 01 December 2008, 08:24 PM -0800):
The
Thomas,
here is an exemple of what I'm taking about (modified version of your
blog post :) ) :
require_once('Zend/Loader.php');
Zend_Loader::registerAutoload();
$request = new Zend_Controller_Request_Http();
// setup the form
$form = new Zend_Form();
$form-setMethod(post);
Hi,
My thinking is you need to use javascript/ajax for this,
You could render the select boxes in zend_form, one populated with the
cities and one empty, and then manipulate them in JS using dom id's,
Of course you could post back to the server when each city is chosen
and then rebuild the form
you need
$view-addHelperPath(ZendX/JQuery/View/Helper, ZendX_JQuery_View_Helper);
in your view I think as this is JQuery related.
Thank You
Daniel Latter
2008/12/2 vladimirn [EMAIL PROTECTED]:
Anyone pls?
--
View this message in context:
Matthew,
Yes absolutely. The only changes necessary are the four very simple
replacements the script makes. As far as I know (although I've not
tested every component) this is all that's required.
Ralph,
Looks interesting, Namespace PseudoNamespace loading capabilities
sounds similar to the
Hi,
Just an idea but you could have a base class (maybe extend
Zend_Db_Table) and put some custom code in here that does the logging,
that way you would only have to add the logging code in one place.
just my 2p
Thank You
Daniel Latter
2008/12/2 Ralikwen [EMAIL PROTECTED]:
Hi,
is there a
Ralph,
Looks interesting, Namespace PseudoNamespace loading capabilities
sounds similar to the class loader I'm using. I think having multiple
loaders available within ZF is a great idea, but I don't see much need
for Zend_Loader_Autoloader, as SPL already has good autoloader stack
The URL action helper is much more robust in its functionality than the
view helper.
To get an interface exactly the same as the view helper, use
$this-_helper-url-url(array(), 'routename', false);
Rolando Espinoza La Fuente wrote:
On Tue, Dec 2, 2008 at 3:06 AM, Cameron [EMAIL PROTECTED]
Thank you Daniel,
i already have this added in my bootstrap.
At least you have read my post :)
ajaxLink works ok . But i need to have ajaxLink inside requested ajaxLInk
content.
Is my english to bad, or no one here can give me an answer? :)
I really want thats about my english and that i dont
Hello Benjamin, thanks for your response.
Are you saying that ajaxLInk could be used only to display pages which must
not have javascipt inside?
So, only plain text and html without javascript will work?
If so, i really dont see real use for it except to play and have ONE quickly
loaded page.
we are already that far. The problem is javascript within that
ajax generated html that is not interpreted correctly when using ajaxLink
and inline onClick rendering.
On Wednesday 03 December 2008 17:49:31 Daniel Latter wrote:
Hi again,
You may want to look at Ajaxcontent and ContextSwitches
Simon Corless wrote:
netlynx wrote:
The question that came to mind is Rob is checking for an identity in the
preDispatch() method of the action controller --
Zend_Auth::getInstance()-hasIdentity() --, and I am wondering if this
wouldn’t be better located in the init() method of the
I have been subscribed to the groups here for a while, and I am somewhat
versed in pulling rss feeds and atom feeds and storing them in a database.
What I am wondering is, is there a feed for these mailing lists (as opposed
to downloading them via e-mail and filtering them into folders). Long
netlynx wrote:
I have been subscribed to the groups here for a while, and I am somewhat
versed in pulling rss feeds and atom feeds and storing them in a database.
What I am wondering is, is there a feed for these mailing lists (as
opposed to downloading them via e-mail and filtering them
Sorry for the emails. My mistake, won`t happen again :[
Thanks for reply.
--
View this message in context:
http://www.nabble.com/Friendly-URLs-tp6055801p20817780.html
Sent from the Zend Framework mailing list archive at Nabble.com.
There is an xml atom feed from nabble.com, if that helps.
http://www.nabble.com/Zend-Framework-Community-f16154.html (at the bottom of
the page)
Terre
-Original Message-
From: netlynx [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2008 12:33 PM
To: fw-general@lists.zend.com
Hi,
I’m wondering if it is a good idea to move the uploaded file on
Zend_Form_Element_File::getValue() call.
Because:
• If the receive() failed for what ever reason I may not want to go
further like inserting the other data in the database. And Currently
there is no easy way to check if
Hi Aaron!
netlynx wrote:
netlynx wrote:
I have been subscribed to the groups here for a while, and I am
somewhat
versed in pulling rss feeds and atom feeds and storing them in a
database.
What I am wondering is, is there a feed for these mailing lists (as
opposed to downloading them via
I am trying to decorate a radio group as follows:
fieldset class=checks
h5label/h5
ul title=label
li
input name=radioname value=radiovalue1 id=radiovalue1
type=radio
label for=radiovalue1radiovalue1 label/label
/li
li
input name=radioname
Confirmed:
There is only one instance of ZF referenced in include_path and Layout.php
does exist in library/Zend/View/Helper.
Has anyone else experienced issues with the PluginLoader? Was there a
drastic change from 1.5.1 to it that would cause this error?
Matthew Weier O'Phinney-3 wrote:
-- kabel2 [EMAIL PROTECTED] wrote
(on Wednesday, 03 December 2008, 10:57 AM -0800):
Confirmed:
There is only one instance of ZF referenced in include_path and Layout.php
does exist in library/Zend/View/Helper.
Has anyone else experienced issues with the PluginLoader? Was there a
drastic
Couple of things,
Would the \ in [/views\helpers/] cause problems in windows path?
C:/Program Files/Apache Software
Foundation/Apache2.2/htdocs/mbm/app/modules/config/views\helpers/
Also, the error doesn't say it is using [library/Zend/View/Helper] as an
include path.
Terre
-Original
That seems like a good explanation, but sadly the include_path still contains
a reference to the library directory:
C:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\mbm\app\modules;C:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\mbm\lib;.;C:\php5\pear
--Kevin Abel
-- Terre Porter [EMAIL PROTECTED] wrote
(on Wednesday, 03 December 2008, 02:12 PM -0500):
Couple of things,
Would the \ in [/views\helpers/] cause problems in windows path?
No. PHP on Windows is smart enough to figure that out.
C:/Program Files/Apache Software
Ah, okie that makes sence.
-Original Message-
From: Matthew Weier O'Phinney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2008 2:24 PM
To: fw-general@lists.zend.com
Subject: Re: [fw-general] Problems with View Helpers with update 1.5.1
to1.7.1
-- Terre Porter [EMAIL
In my opinion this could only occur when you call getValues without the form
being rendered.
The patch only hides the problem that the element does not exist.
But the exception was added because this is a notable problem.
When this is no problem in your case you could still wrap the call into
Laurent,
I see two problems with your code:
You create a form element and name it file1.
And then you do not display a file form element but a file1 element which
does not exist in HTML and name it fichier.
Second, you try to get values from a form where no data has been populated.
Change
Laurent,
I would say that the isReceived method is a really easy way to check this.
Or you can get the file infos and check for the isReceived tag manually.
You can delete all files which have been received until then without
problems.
Changing the name can also easily be done by using the
Matthew Weier O'Phinney-3 wrote:
You can pass a form key to the XHR call, and point it to the form's
DOM node. If you're using Zend_Dojo_Form (and thus dijit.form.Form),
you'll need to do this:
form: dijit.byId(your form ID here).domNode,
This will send all form elements as
Julien Huang wrote:
Hello,
I'm currently using Zend_Form, and can't use square brackets in my
form elements' name. I've looked at the code, and it seems that the
method setName (by filterName) in Zend_Form_Element removes the
square brackets, why ? Moreover, there's an option in
Have you looked at the Zend_Db profiler? We use it to log queries to
FirePHP.
T
On Thu, Dec 4, 2008 at 02:25, Daniel Latter [EMAIL PROTECTED] wrote:
Hi,
Just an idea but you could have a base class (maybe extend
Zend_Db_Table) and put some custom code in here that does the logging,
that
This isn't just limited to the dd tag, lists cause the same problem. This is
one annoying bug.
Themodem wrote:
The would depend on the problem.
If its a ZF Problem then i would expect so.
Id its a Dojo problem then we will have to wait for the next release of ZF
and hope the updated
Greetings,
On our previous project, we had several operations (processing of a
job queue, snapshoting, etc) done through a cronjob. Being that the
previous codebase was written in straight php, all the includes and
such for connecting to the database and whatnot had to be done by
hand,
You mean : Zend_Db_Profiler_Firebug('All DB Queries') ?
Yes, I did try that and I thought wow, fantastic, but it seems to me that it
only logs successful queries so e.g. queries with a syntax error would not
get logged - which would be logical for a profiler that needs start and end
time.
Tim
On Wed, Dec 3, 2008 at 11:58 PM, Ralikwen [EMAIL PROTECTED] wrote:
You mean : Zend_Db_Profiler_Firebug('All DB Queries') ?
Yes, I did try that and I thought wow, fantastic, but it seems to me that it
only logs successful queries so e.g. queries with a syntax error would not
get logged - which
Vahe
You don't need anything special to do it with Zend.
Just include your bootstrap in a script file and write any code you need.
If your boostrap contains some MVC specific code you may want to extract it
into another file or create a separate bootstrap for scripts etc.
I personally use an
vRandom wrote:
There is an xml atom feed from nabble.com, if that helps.
http://www.nabble.com/Zend-Framework-Community-f16154.html (at the bottom
of
the page)
Terre
Ah yes, now I feel like a complete idiot. Apparently that big orange XML
button at the bottom of the page was
Nico Edtinger-3 wrote:
You are already using Nabble and should see the link to a feed
somewhere in your address bar:. fw-general has a feed at
http://www.nabble.com/Zend-Framework-f15440.xml
. But IMO using push is the better option, if available, as you
aren't wasting resources
-- gerardroche [EMAIL PROTECTED] wrote
(on Wednesday, 03 December 2008, 02:13 PM -0800):
This isn't just limited to the dd tag, lists cause the same problem. This is
one annoying bug.
Honestly, I'm running latest dojo under FF 3, using Zend_Dojo_Form with
the default decorators, and not
I am looking for suggestions on how to structure my Zend code for
implementing a site that contains the following features:
1. MVC-based code for the public website
2. A REST-based server to provide programmatic access to application data
3. Admin utility functions that are run by cron jobs and
69 matches
Mail list logo