Re: [fw-general] Questions related to the ZFW QuickStart Guide

2009-02-02 Thread Rolando Espinoza La Fuente
On Mon, Feb 2, 2009 at 11:59 PM, howard chen wrote: > Hello, > > I have some questions related to the offical ZFW QuickStart Guide > (http://framework.zend.com/docs/quickstart) > > 1. The tutorial encourage the use of "APPLICATION_ENVIRONMENT", but > where should I define this variable? in index.p

Re: [fw-general] Questions related to the ZFW QuickStart Guide

2009-02-02 Thread till
On Tue, Feb 3, 2009 at 4:59 AM, howard chen wrote: > Hello, > > I have some questions related to the offical ZFW QuickStart Guide > (http://framework.zend.com/docs/quickstart) > > 1. The tutorial encourage the use of "APPLICATION_ENVIRONMENT", but > where should I define this variable? in index.ph

[fw-general] Questions related to the ZFW QuickStart Guide

2009-02-02 Thread howard chen
Hello, I have some questions related to the offical ZFW QuickStart Guide (http://framework.zend.com/docs/quickstart) 1. The tutorial encourage the use of "APPLICATION_ENVIRONMENT", but where should I define this variable? in index.php or bootstrap.php? 2. The example app use Zend_Config_Ini to r

Re: [fw-general] Zend_Form using GET - How to set array in url params? Control sent params?

2009-02-02 Thread Matthew Weier O'Phinney
-- drj201 wrote (on Monday, 02 February 2009, 02:05 PM -0800): > I have a Zend_Form object which uses the GET method of submission. Creating > a new instance of my zend form and displaying it in the view works fine. By > default, on submission of the form the browser is directed to the set action

Re: [fw-general] getMessages() crashes with quotes!

2009-02-02 Thread Matthew Weier O'Phinney
-- benxmy wrote (on Monday, 02 February 2009, 01:58 PM -0800): > That said, I'd prefer to use the ZF standard message > when possible. Even if it worked, I'd be outta luck with a (') passing > validation. Do you know if the following syntax is correct for the regex > validator: > > protected $

Re: [fw-general] Question about underscores in controller and action names

2009-02-02 Thread Cameron
yeah i've been wondering about this one too, given the "standard" thing to do with table names is to put underscores in them, and controller names don't seem to work with them, and controllers often map well to database tables... On Tue, Feb 3, 2009 at 7:45 AM, Terre Porter wrote: > > Hey all, >

Re: [fw-general] [ZF-5660] Zend_Config_Xml: improved inheritance

2009-02-02 Thread A.J. Brown
I like this, good work! You should also update the tests to cover this and post a diff. On Mon, Feb 2, 2009 at 5:14 PM, Jan Pieper wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi guys, I´ve added a diff and a small example to my issue ZF-5660 [1]. > Would be > great if someone c

[fw-general] [ZF-5660] Zend_Config_Xml: improved inheritance

2009-02-02 Thread Jan Pieper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi guys, I´ve added a diff and a small example to my issue ZF-5660 [1]. Would be great if someone can check/test my changes to Zend_Config_Xml or to write a comment. I don´t think the attached code is final but it is a working example to show what I

RE: [fw-general] JotBug Demo now online

2009-02-02 Thread Robert Castley
All, I was running with EasySpace (more like WasteOfSpace!) I have since signed up with Tagadab! Outstanding Anyway more importantly in 45mins I have jotbug.org up and running (compared to 3.5 days and nothing with WasteOfSpace!) http://www.jotbug.org/ Help wanted, apply within :-)

[fw-general] Question about underscores in controller and action names

2009-02-02 Thread Terre Porter
Hey all, I'm working on an upgrade to a existing site that has several url paths with underscores. I've been trying to figure out what would be the best way to handle these, as I can not easily change the urls all over the site. I read about this option in the list archives. $dispatcher = $

[fw-general] Zend_Form using GET - How to set array in url params? Control sent params?

2009-02-02 Thread drj201
Hello, I have a Zend_Form object which uses the GET method of submission. Creating a new instance of my zend form and displaying it in the view works fine. By default, on submission of the form the browser is directed to the set action in my Zend_Form and the GET params are set to include those e

Re: [fw-general] getMessages() crashes with quotes!

2009-02-02 Thread benxmy
The more I dig around and play with it, the more I think it may be a small ZF bug. Basically, I couldn't figure out what was happening, so I had the update function just print out the result of the validation: ** public function update(array $data, $where) { $valid = $th

Re: [fw-general] getMessages() crashes with quotes!

2009-02-02 Thread A.J. Brown
Hmm, When you say "screetching to a halt", what actually happens? Is an exception thrown? The validators will return true or false, and filters will returned the filtered content. On Mon, Feb 2, 2009 at 2:00 PM, benxmy wrote: > > Get the same failure with Alnum. I thought maybe using the buil

Re: [fw-general] getMessages() crashes with quotes!

2009-02-02 Thread benxmy
Get the same failure with Alnum. I thought maybe using the built-in Regex validation class might work, so i've altered the $_validators array to look like this: *** protected $_validators = array( 'field1' => array('regex',true,array('/[^a-zA-Z\'\-\ ]/')),

Re: [fw-general] Zend_Dojo_Form errors

2009-02-02 Thread Steve Uplift
Matthew Weier O'Phinney-3 wrote: > > -- valugi wrote >> 2. There is some error in the distribution that I have from zf. 1.6 >> I jave requests to this path: >> >> http://zf.mysite.com/js/dojo/dijit/form/nls/en/validate.js >> >> But then english version of this script is not there, is in the p

[fw-general] Zend Framework 1.7.4 is now available!

2009-02-02 Thread Wil Sinclair
Hi all, It is my pleasure to announce the release of Zend Framework 1.7.4! You can download this new mini release from the ZF download site: http://framework.zend.com/download/latest/ A list of all issues resolved in this release can be found at: http://framework.zend.com/issues/secure/IssueNav

Re: [fw-general] getMessages() crashes with quotes!

2009-02-02 Thread A.J. Brown
Hi, Did you try adding filtering with Alnum? On Mon, Feb 2, 2009 at 10:13 AM, benxmy wrote: > > Hi, > I'm pretty new to ZF, but I've searched around quite a bit to try and find > a > solution for this and thus far failed and I was hoping someone here could > point me in the right direction. > >

[fw-general] JotBug Demo now online

2009-02-02 Thread Robert Castley
My little project JotBug is now available online :-) http://62.233.104.50/ I haven't got the domain sorted yet but I will. Project his still hosted at http://jotbug.googlecode.com You can log in as any user with no password to try things out. You will have a ACL level of reporter which

Re: [fw-general] Form layout update didn't get reflected

2009-02-02 Thread PHPScriptor
=^D Deepak Shrestha wrote: > > > Just now I figured out my blunder mistake. The mistake was in this part > > = >//add the created form elements in this form >$this->addElements(array($title, $location, $mycaptcha, $submit)); > = > > I was trying to change the

[fw-general] getMessages() crashes with quotes!

2009-02-02 Thread benxmy
Hi, I'm pretty new to ZF, but I've searched around quite a bit to try and find a solution for this and thus far failed and I was hoping someone here could point me in the right direction. I'm creating a class that extends the Zend_Db_Table_Abstract class which will be a parent class to all our m

Re: [fw-general] Form layout update didn't get reflected

2009-02-02 Thread Deepak Shrestha
On Mon, Feb 2, 2009 at 11:13 PM, PHPScriptor wrote: > > What I know is that there is no caching of the views in Zend (and certaintly > not default)... > If there is caching you should have a directory "cache" or something in your > directory structure. Try also to make you apache/php cache empty..

Re: [fw-general] Form layout update didn't get reflected

2009-02-02 Thread PHPScriptor
What I know is that there is no caching of the views in Zend (and certaintly not default)... If there is caching you should have a directory "cache" or something in your directory structure. Try also to make you apache/php cache empty... Seems something very string 'cause I tested it and it was w

Re: [fw-general] Form layout update didn't get reflected

2009-02-02 Thread Deepak Shrestha
> Hmm, I tried it, and seems to be working fine... You didn't use decorators? > Did you look at your html source output? Did you try cleaning up your > browser history? Everything is default from ZF. No decorators. Yes html source shows the previous order of elements. Yes in my firefox setting it

[fw-general] Re: Re[fw-general] ndering a sub form element in a view script

2009-02-02 Thread Colin J
Colin J wrote: > > I was wondering if anyone can help with how to render a single sub form > element in a view script. > > I have a Zend_Form_SubForm and I am attaching this same sub form a number > of times in the Controller, to a Zend_Form, e.g. > > $form = new Zend_Form(); > > for ($i = 1;

Re: [fw-general] Zend Cache instance PDO

2009-02-02 Thread Sébastien Couragier - DoYouSoft
All my application 's objects have a private attribute that contains a Zend_Db_Row_abstract instance, which encapsulate the row in the Db, represented by the instance. The object do the mapping of himself. I've no data mapper for the moment (maybe one day). That's nearly the RoR's active record

Re: [fw-general] Form layout update didn't get reflected

2009-02-02 Thread PHPScriptor
Hmm, I tried it, and seems to be working fine... You didn't use decorators? Did you look at your html source output? Did you try cleaning up your browser history? - visit my website at http://www.phpscriptor.com/ http://www.phpscriptor.com/ -- View this message in context: http://www.nab