Re: [fw-general] Zend_Validate Zend_Filter and Ini's

2009-02-07 Thread Martijn Korse
Bob O wrote: > > I am stumped, if anyone can point me in a good direction where i can find > solid docs on using Zend validation and filters from an ini file that > would be super..Im not a Zend Guru, so sometimes deciphering what is being > presented is frustrating. > Hi Bob O I doubt there

Re: [fw-general] Data Enums

2009-02-07 Thread Martijn Korse
I think you meet most if not all of your requirements if you would put everything in an INI file and load them using http://framework.zend.com/manual/en/zend.config.adapters.ini.html For caching you could use memcache for example - http://devshed.excudo.net http://devshed.excudo.net -- View

Re: [fw-general] Why $form->getValue() is not working?

2009-02-07 Thread Deepak Shrestha
> plus I noticed something. > > I tried to enter the string "What da Hell" and it gives me invalid > string error? why I can't type a sentence? what's wrong with the > validation? Does this have something to do with the problem? > > Thank you for your patience. > Plus I noticed that it is causing

[fw-general] How to set option for 'Alnum' validator?

2009-02-07 Thread Deepak Shrestha
Hi, One quick question. How to set the option for 'Alnum' validator to accept white space? Thanks -- === Registered Linux User #460714 Currently Using Fedora 8, 10 ===

[fw-general] Re: How to set option for 'Alnum' validator?

2009-02-07 Thread Deepak Shrestha
On Sat, Feb 7, 2009 at 7:10 PM, Deepak Shrestha wrote: > Hi, > > One quick question. How to set the option for 'Alnum' validator to > accept white space? > > Thanks > Hi found the solution after digging inside "Alnum.php" itself: including the third parameter like this solved the problem ===

Re: [fw-general] Getting Text from a PDF

2009-02-07 Thread Shaun Farrell
I used XPDF - http://www.foolabs.com/xpdf/ for indexing PDFs with Zend http://www.kapustabrothers.com/2008/01/20/indexing-pdf-documents-with-zend_search_lucene/ Shaun On Fri, Feb 6, 2009 at 9:08 AM, Matthias Buesing < matthias.bues...@mediaraum.com> wrote: > Hi Jonathan, > I found pdftohtml whic

Re: [fw-general] Getting JSON data in ComboBox gives error

2009-02-07 Thread Matthew Weier O'Phinney
-- sktib wrote (on Friday, 06 February 2009, 05:27 PM -0800): > > I played around with the Json a little and realized that if I change the Json > to > > { identifier: 'id', > items:[{"id":"1","name":"XBox"},{"id":"2","name":"XBox > 360"},{"id":"3","name":"Sony PSP"},{"id":"4","name":"Playstati

[fw-general] Re: Re[fw-general] writeRule and matching to Controller

2009-02-07 Thread retoreto
Ok, I have a (little different) solution now. I created a second bootstrap file "resource.php" which serves the dynamically generated CSS and JS. This content gets cached by the client and can reside on the same domain. Requests to "www.example.com/resource/*" go to the "resource.php" bootstrap,

[fw-general] ZF 1.6.2 not being maintained/supported for php 5.1.4+ users??

2009-02-07 Thread ardx
I reported a bug in 1.6.2 in jira: http://framework.zend.com/issues/browse/ZF-5429 In response, some time later I received two messages. The first says: "I just testing [sic] this code on my centos 4.5 server running php 5.1.6 and it worked just fine. I'm using the 1.7.2 code base. Is there any

Re: [fw-general] ZF 1.6.2 not being maintained/supported for php 5.1.4+ users??

2009-02-07 Thread Thomas Weidner
You did not read the complete response... You CAN use ZF 1.7+ with PHP 5.1.4... most components will run without problems. Also Zend_Date works with 5.1.4. But if you are using new features like Zend_Locale's "application wide locale", which was added with 1.7.0, you will notice problems as it

Re: [fw-general] ZF 1.6.2 not being maintained/supported for php 5.1.4+ users??

2009-02-07 Thread A.J. Brown
On Sat, Feb 7, 2009 at 9:59 AM, Thomas Weidner wrote: > You did not read the complete response... > > You CAN use ZF 1.7+ with PHP 5.1.4... most components will run without > problems. Also Zend_Date works with 5.1.4. But if you are using new features > like Zend_Locale's "application wide locale"

Re: [fw-general] Getting JSON data in ComboBox gives error

2009-02-07 Thread A.J. Brown
On Sat, Feb 7, 2009 at 7:54 AM, Matthew Weier O'Phinney wrote: > Use Zend_Dojo_Data, which was built precisely for this purpose. :) > > Simply do the following: > >$data = new Zend_Dojo_Data('id', $object->fetchAll(), 'name'); >echo $data; > > I'm assuming that the "fetchAll()" you referen

Re: [fw-general] ZF 1.6.2 not being maintained/supported for php 5.1.4+ users??

2009-02-07 Thread ardx
You did not read the complete response... You CAN use ZF 1.7+ with PHP 5.1.4... most components will run without problems. Also Zend_Date works with 5.1.4. But if you are using new features like Zend_Locale's "application wide locale", which was added with 1.7.0, you will notice problems as i

Re: [fw-general] Zend_Validate Zend_Filter and Ini's

2009-02-07 Thread A.J. Brown
Hi Martijn, It would be helpful if you could define "barfing" for us. Is an exception being thrown? Is a validator not being added? Are none of the validators being added? On Sat, Feb 7, 2009 at 3:49 AM, Martijn Korse wrote: > > > Bob O wrote: > > > > I am stumped, if anyone can point me in a

Re: [fw-general] Why $form->getValue() is not working?

2009-02-07 Thread A.J. Brown
Alnum doesn't allow spaces by default. You can change this behaviour by passing in array( "allowWhiteSpace" => true ) as the 3rd parameter. On Sat, Feb 7, 2009 at 4:07 AM, Deepak Shrestha wrote: > > plus I noticed something. > > > > I tried to enter the string "What da Hell" and it gives me in

Re: [fw-general] Why $form->getValue() is not working?

2009-02-07 Thread A.J. Brown
Hi Deepak, Can you pastebin both the controller and the form (in seperate pastes)? Attaching would be fine too. I'll help you debug it. -- A.J. Brown web | http://ajbrown.org phone | (937) 660-3969

Re: [fw-general] ZF 1.6.2 not being maintained/supported for php 5.1.4+ users??

2009-02-07 Thread Thomas Weidner
The problem is not to support old releases, the problem is that this would mean to release a new 1.6 a new 1.5, a new 1.4 whatever release... because bugs are always reported to outdated releases. There are even bugs for 0.9 within the bug tracker. I don't think that this is really maintainabl

[fw-general] Zend_Validate translations

2009-02-07 Thread Christian Münch
Hi, i have an question about Zend_Validate. The validate classes are shipped with english message as default. It would be nice to offer some language files which can be used with Zend_Translate in some other languages. Is there any official/unofficial language file for german? Thanks Christian

Re: [fw-general] ZF 1.6.2 not being maintained/supported for php 5.1.4+ users??

2009-02-07 Thread ardx
thomasW wrote: > > The problem is not to support old releases, the problem is that this would > mean to release a new 1.6 a new 1.5, a new 1.4 whatever release... because > bugs are always reported to outdated releases. There are even bugs for 0.9 > within the bug tracker. > My question is

Re: [fw-general] ZF 1.6.2 not being maintained/supported for php 5.1.4+ users??

2009-02-07 Thread till
On Sat, Feb 7, 2009 at 8:16 PM, ardx wrote: > > > > thomasW wrote: >> >> The problem is not to support old releases, the problem is that this would >> mean to release a new 1.6 a new 1.5, a new 1.4 whatever release... because >> bugs are always reported to outdated releases. There are even bugs fo

Re: [fw-general] ZF 1.6.2 not being maintained/supported for php 5.1.4+ users??

2009-02-07 Thread Tim Fountain
On 07/02/2009, ardx wrote: > > > My question is whether there will be support for ver 1.6x, the last release > of ZF that purported to be compatible with php 5.1.6, which is the php > version that (with security backports) will be provided on centos 5 for > some > time yet. I would suggest, if a

[fw-general] Zend Dojo Beginner Help

2009-02-07 Thread buzzoff101
Hey all, I'm quite new to Zend Framework so I apologize in advance, please bear with me. I'm trying to create an application that searches through a database of users and returns matches based on the search query given without the need to submit a form or refresh the page. I've successfully creat

[fw-general] Zend_Form and submit butons in DLs

2009-02-07 Thread Joó Ádám
Hi, Using a definition list with Zend_Form works fine with most elements but when it comes to submit buttons, it just doesn't have any semantics. Therefore I created a decorator to cut those out and place into a div outside the list (closing the list and opening a new after, if there are other ele

Re: [fw-general] ZF 1.6.2 not being maintained/supported for php 5.1.4+ users??

2009-02-07 Thread A.J. Brown
On Sat, Feb 7, 2009 at 12:03 PM, Thomas Weidner wrote: > I don't think that this is really maintainable by the dev team or the > community, but that's only my opinion. Maybe there's something specific to this dev team, but why not handle this by fixing all bugs in the release branch matching th

Re: [fw-general] ZF 1.6.2 not being maintained/supported for php 5.1.4+ users??

2009-02-07 Thread A.J. Brown
IMHO the ZF team can't be expected to try and support previous releases. PHP > 5.1.6 is well over two years old. > I agree with not supporting something 2 years old, but it sounds like there's no support for ANY previous version. If the later is the case, I disagree. M

Re: [fw-general] ZF 1.6.2 not being maintained/supported for php 5.1.4+ users??

2009-02-07 Thread ardx
Tim Fountain wrote: > > I would suggest, if at all possible, you try and get the remi repositories > ( > http://blog.famillecollet.com/pages/Config-en) enabled on your server. > These > will allow you to install a more recent version of PHP on CentOS. > > IMHO the ZF team can't be expected to

Re: [fw-general] ZF 1.6.2 not being maintained/supported for php 5.1.4+ users??

2009-02-07 Thread Jordan Moore
Why should Zend (or the Zend Framework community) support a version of the Zend Framework that runs on a version of PHP (5.1.x) that the PHP community doesn't even support? On Sat, Feb 7, 2009 at 3:03 PM, ardx wrote: > > > > Tim Fountain wrote: >> >> I would suggest, if at all possible, you try a

[fw-general] Default for DateTextBox form element?

2009-02-07 Thread A.J. Brown
I want to set the default for a Dojo DateTextBox element to the current date. I thought the following would work, but it doesn't seem to: $this->addElement( 'DateTextBox', 'publishDate', array( 'label'=> 'Publish Date', 'default'=> date( 'm/d/Y' ), ) );

Re: [fw-general] Zend Dojo Beginner Help

2009-02-07 Thread A.J. Brown
Hi , You can use Zend_Dojo_Form elements to do what you want. Here's code which accomplishes exactly what you're wanting to do (but in one of my projects, of course): http://pastebin.com/m5765a1ca storeId can be any unique name you want The url under storeParams should be a URL which returns a

Re: [fw-general] Zend Dojo Beginner Help

2009-02-07 Thread buzzoff101
AJ: Thanks for the response! This looks like what I did to create autocomplete dropdowns, but can this help me output the results from the filter in a table or a div located outside of the form? Thats the main part I'm having trouble figuring out... A.J. Brown-3 wrote: > > Hi , > > You can u