[fw-general] Checkbox and Dojo_foRM validation, please help

2008-09-16 Thread vladimirn
Hello all, is anyone here able to help about form validation please? After pressing submit button expected behaviour is stopping form submission if checkbox is not checked. I have a bunch of stuffs in my form. So far, checkbox validation wont work. $agreements->addElement ( 'CheckBox', 'ages', a

Re: [fw-general] Calling another controller from within a controller

2008-09-16 Thread monk.e.boy
http://teethgrinder.co.uk/perm.php?a=Zend-Framework-Menus-Navigation does that help? monk.e.boy rcastley wrote: > > > > -- View this message in context: http://www.nabble.com/Calling-another-controller-from-within

[fw-general] Re: Passing an array from PHP to Javascript

2008-09-16 Thread Colin Guthrie
dele454 wrote: WHat exactly am i doing wrong??? currently my URL reads as Code: http://mainevent.com/admin/galleries/delete-pics/pid/delete[]/type/event/id/313 I think the main hassle is from posting the form getting all the checkboxes in array delete[] to the js and then to the controller that

[fw-general] Zend_Pdf::load($pdf), Exception - Unsupported PDF Version

2008-09-16 Thread Jonathan
This is the code that is in Zend/Pdf/Parser.php if ($pdfVersion < 0.9 || $pdfVersion >= 1.61) { /** * @todo * To support PDF versions 1.5 (Acrobat 6) and PDF version 1.7 (Acrobat 7) * Stream compression filter must be implemented (for compressed object streams). * Cross refer

Re: [fw-general] Infrastructural problems? Issuetracker, apidocs etc.

2008-09-16 Thread mbneto
Hi Patrick, I suppose (hope) things will be back to normal as soon as ZendCon ends. The ZF/Zend guys were probably focused on finishing the necessary talks/tools/goals etc. On Tue, Sep 16, 2008 at 5:35 AM, Patrick Schulz <[EMAIL PROTECTED]> wrote: > Hi, > > I'm not sure if there are any infrast

Re: [fw-general] Passing an array from PHP to Javascript

2008-09-16 Thread dele454
Thanks for the tips. But i CAN'T apply any of them now. The design has been approved and i need to i implement things as they are. 'Over engineered' - I dont care. As long my code works as expected. I simply want to pass my PHP array into my javascript function. - very simple code i dont see why i

Re: [fw-general] zend dojo text area- how that work?

2008-09-16 Thread Themodem
Howdy, it appears to be a bug with Firefox 3 and the tag http://dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/dijit-form-textarea-firefox3-enter-key-does-not-work http://dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/dijit-form-textarea-firefox3-enter-key-does-not-work vladimirn w

Re: [fw-general] Zend_Pdf::load($pdf), Exception - Unsupported PDF Version

2008-09-16 Thread Kevin McArthur
That comment is a code todo. It means that new php code will have to be added to Zend_Pdf to support. Currently, in order to get your PDF to work with Zend_Pdf, you'll have to save it to PDF version 1.6. Kevin Jonathan wrote: This is the code that is in Zend/Pdf/Parser.php if ($pdfVersion

Re: [fw-general] Passing an array from PHP to Javascript

2008-09-16 Thread Matthew Ratzloff
> > Thanks for the tips. But i CAN'T apply any of them now. The design has > been approved There are several things wrong with this statement... In any event, if you want to share data between PHP and JavaScript, look at Zend_Json and JSON in general. -Matt On Tue, Sep 16, 2008 at 8:16 AM, de

[fw-general] Re: Passing an array from PHP to Javascript

2008-09-16 Thread Colin Guthrie
dele454 wrote: Thanks for the tips. But i CAN'T apply any of them now. The design has been approved and i need to i implement things as they are. 'Over engineered' - I dont care. As long my code works as expected. I simply want to pass my PHP array into my javascript function. - very simple code

[fw-general] Re: [fw-announce] Zend Framework 1.6.1 is now available!

2008-09-16 Thread Matthew Ratzloff
A number of minor Zend_Paginator fixes have been made in this release, so it's recommended that users of that component upgrade. ZF-3804 Don't assume a fetch mode in the DbSelect adapter ZF-3822 Paginator Control Example error ZF-4037 Default scrolling style not honored ZF-4151 Iterator with zero i

Re: [fw-general] Why Dojo of All???

2008-09-16 Thread Matthew Weier O'Phinney
-- valugi <[EMAIL PROTECTED]> wrote (on Tuesday, 16 September 2008, 02:41 AM -0700): > Since now I was also using jQuery and decided to give a try to Dojo since > it's part of the ZF. > Doing simple things like an ajax request and fill some data into a table are > incredible complex in Dojo. I b

RE: [fw-general] Why Dojo of All???

2008-09-16 Thread S. Alexandre M. Lemaire
When we last used Dojo, it would load things 'on demand'; meaning that if you were to request a certain dojo.* package during usage, it would dynamically load the package into the mix. The result was a LARGE number of IO calls solely for loading, this caused great startup delays, and very a high a

[fw-general] Question about Quickstart tutorial

2008-09-16 Thread springgrass
Hi, I have a couple of issues following the steps in the tutorial due to the fact that I am using Plesk 8.4 and have limited permission. I followed steps in the tutorial and it was great up until the database portion. Is there a way for me to create the database table without go thru the comman

Re: [fw-general] Question about Quickstart tutorial

2008-09-16 Thread Ralph Schindler
While I have not tried it, you should be able to load the sql files located in the scripts directory into mysql via the phpmyadmin in the plesk control panel. You will also have to alter the config script to be able to connect to this database, and it would look something like this: database.adap

Re: [fw-general] Why Dojo of All???

2008-09-16 Thread Tobias Gies
Hey Alexandre, 2008/9/16 S. Alexandre M. Lemaire <[EMAIL PROTECTED]> > > [...snip...] > > Does Dojo still behave this way? Does it offer any kind of 'roll your own' > like Ext does with JSBuilder so that you can foresee inclusions and reduce > during-operation IO overhead? There is a tool in doj

Re: [fw-general] Why Dojo of All???

2008-09-16 Thread Benjamin Eberlei
Hello Bart, i have already put together two proposal concerning jQuery support, one for a generic helper that takes care of loading jQuery from CDN or local path and takes care of a document ready (on load) execution stack. http://framework.zend.com/wiki/display/ZFPROP/ZendX_JQuery_View_Helper_

Re: [fw-general] Why Dojo of All???

2008-09-16 Thread mothmenace
Just wanted to add another vote for jQuery, I started JS frameworks with Prototype, found jQuery a little hard to get my head around at first but now it's clearly the leading js-f. Not sure exactly how jQuery would be integrated with zf, it's more a case of writing some specific jQuery plugins I t

Re: [fw-general] Passing an array from PHP to Javascript

2008-09-16 Thread dele454
hi Colin, My apologies if i came out as been naive and ungrateful. I was just under a lot of presssure here and just wanted a quick fix - my apologies sincerely. After taking a break off the work load and having my mind cleared i feel so stupid for such a reply from me. So i retract my initial c

Re: [fw-general] Passing an array from PHP to Javascript

2008-09-16 Thread dele454
I see exactly what you have been saying - again my mind was too saturated to see clearly! :( Anyway, just to reply one some of the questions you asked. The intention is that the user can either delete the picture indivually using the delete button next to each picture or select all and delete al

Re: [fw-general] Why Dojo of All???

2008-09-16 Thread Bart McLeod
Hello Benjamin, Thanks a lot for pointing this out - and Matthew, sorry for not stopping the thread. It's just freaking hard to keep up with all the development going on :-) . I will take a look at it for sure. However, the links you provide are dead: www.beberlei.de/jquery/demo/ www.beberle

[fw-general] programmers fyi

2008-09-16 Thread Terre Porter
Hey all, Just thought I'd pass on this observation though not related directly to the framework but this happens to be the only list I'm on anymore. Anyways, I've been monitoring a large influx of code injection attempts by inserting php code in the server variables, HTTP_USER_AGENT mostly. These

Re: [fw-general] Slimming library to classes used on project

2008-09-16 Thread Giuliano Riccio
I think you should try "inclued". It makes a http://talks.php.net/show/drupal08/14 graph of the include hierarchy so it can help you somehow. You can find it here: http://pecl.php.net/package/inclued http://pecl.php.net/package/inclued I never used it personally so I cannot help you more than

Re: [fw-general] programmers fyi

2008-09-16 Thread Matthew Ratzloff
OK, I can see how this would be a problem if you logged user agents in the database, someone sent an SQL injection attempt, and you didn't use prepared statements or escape those values. But... uh... how is PHP "injection" supposed to do anything? Is someone eval-ing the user agent or what? Mayb

[fw-general] Re: Passing an array from PHP to Javascript

2008-09-16 Thread Colin Guthrie
dele454 wrote: I see exactly what you have been saying - again my mind was too saturated to see clearly! :( Anyway, just to reply one some of the questions you asked. The intention is that the user can either delete the picture indivually using the delete button next to each picture or select a

RE: [fw-general] programmers fyi

2008-09-16 Thread Terre Porter
The code was encoded, and after decoding it, all it does is echo a statement back. Some searching online, I found a write up on it - http://hphosts.blogspot.com/2008/09/alas-another-exploit-attempt-rfiphp.html - if y

Re: [fw-general] Slimming library to classes used on project

2008-09-16 Thread mothmenace
Heheh, sweet! I guess you could subtract the found files from the total list of files found under zf/library/, and that would give you what can be successfully removed from the lib. I'll give it a try as soon as work is less hectic. Thanks again Riccio! -- View this message in context: http://

Re: [fw-general] Passing an array from PHP to Javascript

2008-09-16 Thread dele454
Hi Colin, Am not really bent of having the form process on GET. My forms use the POST method and i am changing it to GET. I simply used the URL path i posted earlier as a way of idenitfying which of the pics need to be deleted as a parameter. Colin Guthrie-6 wrote: > > dele454 wrote: >> I s