[fw-general] RE: RE: RE: RE: Zend Search Lucene demo - first Text field not searchable

2007-09-21 Thread hhege
I am using PHP 5.1.4. See index in attached zip file. Thanks, Harry Hege Alexander Veremyev wrote: > > I test it using command line. > > Which PHP version do you use? > > Please also send me your index for testing (possibly problem appears > during index creation). > > With best regards, >

RE: [fw-general] RE: RE: RE: Zend Search Lucene demo - first Text field not searchable

2007-09-21 Thread Alexander Veremyev
I test it using command line. Which PHP version do you use? Please also send me your index for testing (possibly problem appears during index creation). With best regards, Alexander Veremyev. > -Original Message- > From: hhege [mailto:[EMAIL PROTECTED] > Sent: Saturday, September 2

[fw-general] RE: RE: RE: Zend Search Lucene demo - first Text field not searchable

2007-09-21 Thread hhege
I have not found the problems you suggested. Do you still get a correct result after refreshing your browser? Thanks, Harry Hege Alexander Veremyev wrote: > > ZendFramework-20070918-6394-en.tar.gz is one of the latest revisions (rev. > 6394 generated at 09/18/2007). > > I checked it with this

RE: [fw-general] RE: RE: Zend Search Lucene demo - first Text field not searchable

2007-09-21 Thread Alexander Veremyev
ZendFramework-20070918-6394-en.tar.gz is one of the latest revisions (rev. 6394 generated at 09/18/2007). I checked it with this version, but still have correct result. There was a bug which produce similar behavior, but it was fixed long time ago (http://framework.zend.com/issues/browse/ZF-955

[fw-general] RE: RE: Zend Search Lucene demo - first Text field not searchable

2007-09-21 Thread hhege
Not exactly. I was showing you what my browser displayed. The results behind the browser were: --- (path:co*) (path:contributing path:copyright path:core) --- I am not sure how svn works, but I am using nightly snapshot code

[fw-general] Reminder: 1.0.2 code freeze today, 21:00 PDT

2007-09-21 Thread Darby Felton
Hi everyone, I wanted to send one last reminder for the 1.0.2 code freeze scheduled for today at 21:00 (9:00 pm) Pacific time (PDT). If there are any last-minute changes that need to be in the 1.0.2 release, please have the specific revisions reviewed by another community member or Zend team memb

Re: [fw-general] Euro sign in Zend_Pdf.

2007-09-21 Thread Pádraic Brady
Tiny addition for encodings supporting the EUR symbol. The € symbol is also part of the updated ISO 8859-15 encoding. Paddy Pádraic Brady http://blog.astrumfutura.com http://www.patternsforphp.com OpenID Europe Foundation Member-Subscriber - Original Message From: Alexander Veremyev

RE: [fw-general] RE: Zend Search Lucene demo - first Text field not searchable

2007-09-21 Thread Alexander Veremyev
It must be --- (path:co*) (path:contributing path:copyright path:core) path:contributing path:copyright path:core -- Please let me know, which SVN revision do you use? (it can be optained with 'svn info' command) With best regards, Alexander Verem

Re: [fw-general] 19/11/2001 a valid date for the format 'm/d/yyyy' by using Zend_Date::isDate

2007-09-21 Thread Thomas Weidner
Please see the documentation... http://framework.zend.com/manual/en/zend.date.constants.html#zend.date.constants.selfdefinedformats I coded the class and I think I know what the constants mean ;-) And you can believe me... in ISO the value 'm' stands for minute and not for month... Excerpt from t

Re: [fw-general] Zend_Session_Namespace namespace string getter

2007-09-21 Thread Johannes H. Jensen
Thank you for your quick reply, Darby! When I read it could take a maximum of 5 business days to get a CLA verified I assumed this might be the case for the write access to the bug tracker as well, but that was surely not the case :) Anyhow, I believe a good CAPTCHA plugin would help a lot

Re: [fw-general] Validate input data from POST variable

2007-09-21 Thread Matthew Weier O'Phinney
-- Drew Bertola <[EMAIL PROTECTED]> wrote (on Friday, 21 September 2007, 11:52 AM -0700): > Kexiao Liao wrote: > > Where is the best place to do the input data(from POST variables) validation > > in the Zend Framework? > > > > We can do the validation in following places: > > 1. Controller Class f

Re: [fw-general] Validate input data from POST variable

2007-09-21 Thread Drew Bertola
Kexiao Liao wrote: > Where is the best place to do the input data(from POST variables) validation > in the Zend Framework? > > We can do the validation in following places: > 1. Controller Class file > 2. Use Defined Models Class file > > Which one is the better choice? Good question. I've been

[fw-general] RE: Zend Search Lucene demo - first Text field not searchable

2007-09-21 Thread hhege
Your test code produced the following result: (path:co*) (path:contributing path:copyright path:core) My original search code was: "$hits = $index->find(strtolower($search));" Thanks, Harry Hege Alexander Veremyev wrote: > > Just checked this in my environment. Works as expected. > > Could

Re: [fw-general] 19/11/2001 a valid date for the format 'm/d/yyyy' by using Zend_Date::isDate

2007-09-21 Thread Thomas Weidner
Of course it's true... What would you have expected ? Please see the documentation of Zend_Date for details of what you've defined... m = Minute... minimum one digit d = Day... minimum one digit = ISO Year... minimum 4 digits Minute= 19, Day = 11, Year = 2001... is a valid date as all ot

Re: [fw-general] Zend_Date and MySQL datetime

2007-09-21 Thread Thomas Weidner
This could be done without heavy additions... Each Adapter would just have to know it's specific date format. f.e. $dateformat = "-MM-dd HH:mm:ss" for MySQL or "-MM-ddTHH:mm:ss" for MsSQL and so on... Just add an issue to jira and it will be discussed within the dev-team. Greetings Tho

RE: [fw-general] Euro sign in Zend_Pdf.

2007-09-21 Thread Alexander Veremyev
Hi, You could find some info here http://framework.zend.com/issues/browse/ZF-588 It's also possible, that you have to specify string encoding: -- $pdf->pages[] = ($page = $pdf->newPage('A4')); $font = Zend_Pdf_Font::fontWithName(Zend_Pdf_Font::FONT_HELVETICA); $page->setF

RE: [fw-general] Zend Search Lucene demo - first Text field not searchable

2007-09-21 Thread Alexander Veremyev
Just checked this in my environment. Works as expected. Could you give a result of the following code: -- $query = Zend_Search_Lucene_Search_QueryParser::parse('path:co*'); echo $query->__toString() . "\n"; echo $query->rewrite($index)->__toString() . "

[fw-general] 19/11/2001 a valid date for the format 'm/d/yyyy' by using Zend_Date::isDate

2007-09-21 Thread Kexiao Liao
I am not sure if this is a bug for Zend_Date::isDate method, for the following testing date the $result is true. $zDate = new Zend_Date(); $input = '19/11/2001'; $result = $zDate->isDate($input,'m/d/'); -- View this message in context: http://www.nabble.com/19-11-2001-a-valid-date-for-the-f

[fw-general] Validate input data from POST variable

2007-09-21 Thread Kexiao Liao
Where is the best place to do the input data(from POST variables) validation in the Zend Framework? We can do the validation in following places: 1. Controller Class file 2. Use Defined Models Class file Which one is the better choice? -- View this message in context: http://www.nabble.com

Re: [fw-general] Zend Framework Web Application (best practices, structure, skeleton)

2007-09-21 Thread Ralf Kramer
> It would be nice to have a "Best practises" page on the Wiki and also a > basic but powerful "skeleton" demo capable of handling large web > applications. > I feel the Zend Framework would benefit from a such 'one-stop-shop' for new > developers who would like to use it as their framework of ch

[fw-general] Zend Search Lucene demo - first Text field not searchable

2007-09-21 Thread hhege
Using the ZSL indexing demo with CreateIndex (4/5/07) and search-index.php (11/15/06), I am searching the "contents" and "modified" fields successfully, but having trouble searching the "path" field. The "path" field displays in the search output, but it does not seem to be searchable in the usual

Re: [fw-general] Zend_Session_Namespace namespace string getter

2007-09-21 Thread Darby Felton
Hi Johannes, Yes, sorry for the extra step of requesting access. We were forced to do this because spammers would sign up for an account and then post comments with links to irrelevant sites. Many of these comments were posted using automation once an authorized account had been established; perha

[fw-general] Zend Framework Web Application (best practices, structure, skeleton)

2007-09-21 Thread JARUZ
Hi: I have looked around and found several tutorials on the Zend Framework (some a bit outdated and not working with the stable release). But they all seem to handle basic issues in different ways. It would be nice to have a "Best practises" page on the Wiki and also a basic but powerful "skelet

Re: [fw-general] Zend_Session_Namespace namespace string getter

2007-09-21 Thread Johannes H. Jensen
Darby, Thanks for your reply. I will surely post an issue for this! I just have to wait for the guys at Zend to get my mail and grant my account with write-access. *sigh* Put up a spam filter? Best regards, Johannes H. Jensen [EMAIL PROTECTED] On Sep 21, 2007, at 3:28 :49, Darby Felton

Re: [fw-general] Conventional Modular Directory Layout and multiple actions on the IndexController

2007-09-21 Thread JARUZ
> The route behaves like this: /module/controller/action/*. You need to > have the name of the controller between the module and action: > >http://localhost/rictloader/index/another You are right: Does not work: http://localhost/another http://localhost/rictloader/another Works: http://loca

Re: [fw-general] Zend_Date and MySQL datetime

2007-09-21 Thread Tobias Gies
Hi list, Before DB-specific code is added to the i18n components, why don't we do it the other way round and simply add about 5 lines of code in the abstract or concrete database adapters, to allow them to accept an instance of Zend_Date as parameter for a query and simply turn it into the date fo

Re: [fw-general] Conventional Modular Directory Layout and multiple actions on the IndexController

2007-09-21 Thread Matthew Weier O'Phinney
-- JARUZ <[EMAIL PROTECTED]> wrote (on Friday, 21 September 2007, 04:27 AM -0700): > I am using the Conventional Modular Directory Layout and am not able to > execute additional Actions belonging to the IndexController of any module. > Additional Actions belonging to any other controller work just

Re: [fw-general] Zend_Session_Namespace namespace string getter

2007-09-21 Thread Darby Felton
Hi Johannes, It appears to me also that the $_namespace property is not made available. A workaround might be to extend the class and provide such a getter method, but in my opinion this should be built-in. Please file a JIRA issue for this: http://framework.zend.com/issues/secure/CreateIssue!def

Re: [fw-general] using pack function of php

2007-09-21 Thread Thomas Weidner
You probably should write your question to the php general list and not to the Zend Framework list... And also to mention... the pack function has nothing to do with text formatting in excel... You should probably look for detailed excel internals about their format... Greetings Thomas I18N T

[fw-general] Conventional Modular Directory Layout and multiple actions on the IndexController

2007-09-21 Thread JARUZ
Hi! I am using the Conventional Modular Directory Layout and am not able to execute additional Actions belonging to the IndexController of any module. Additional Actions belonging to any other controller work just fine. I.e. indexAction from IndexController from Default module works: http://loca

[fw-general] wiki down

2007-09-21 Thread Graham Anderson
Please restart, thanks :)

[fw-general] using pack function of php

2007-09-21 Thread rdpweb
Hi All I have developed an application in that i have generated report of some 500 employees in excel using pack function of php. I want some of text in the file in bold and having different colors.How to do that. Will anybody help me. Regards, Rohit -- View this message in context: http

RE: [fw-general] Base view in modular design

2007-09-21 Thread Michael Raymond
> > > > What is the best way to achieve this? > > In your bootstrap or an early-running plugin (routeStartup(), > routeShutdown(), dispatchLoopStartup()), either create your > own view object and feed it into the ViewRenderer, or pull > the view object from the ViewRenderer and set a base pa

[fw-general] Euro sign in Zend_Pdf.

2007-09-21 Thread ArticSun
Hi all! I was trying to add an euro sign (€) into the Zend Framework but it didn't appear. Now I've found some information on the internet that this is due to somekind of character map Zend_Pdf uses. There was a solution to alter the Zend_Pdf class itself, but I would like to know if there is

Re: [fw-general] Using a complete HTML Template

2007-09-21 Thread Pádraic Brady
Hi, A good place would be the IRC #zftalk channel on Freenode - a few folk there have been using Zend_Layout for a while so you can probably get some live help. They're a very helpful crowd there and won't mind offering guidance. Ralph might even be around ;). So you can ask him directly. Padd

[fw-general] Zend_Session_Namespace namespace string getter

2007-09-21 Thread Johannes H. Jensen
Hello, Is there any way to get the namespace string of a Zend_Session_Namespace instance? It would be nice to have at least a getter method for this. Not sure if it would make any sense to have a setter though. Unless I've overlooked something completely in the code, I'd be happy to add