[fw-general] Pagination with routes not working.

2008-11-24 Thread Ace Paul
Hi all. I'm having a bit of a problem trying to get the pagination working using a route. It is not printing the page numbers in the a href of the urls. so it just goes to wedding/bouquets/category instead of wedding/bouquets/category/2 etc The pagination shows, but I do not get the correct

RE: [fw-general] Zend_Feed Error

2008-11-24 Thread Robert Castley
Hi, I can't duplicate the problem on my ZF 1.7 environment. The only thing I am doing different is assigning the results to a variable rather than the view E.g. try { $rss = Zend_Feed::import('http://feedproxy.google.com/francaistechcrunch'); } catch (Zend_Feed_Exception $e) {

Re: [fw-general] Pagination with routes not working.

2008-11-24 Thread keith Pope
Hi, Have you tried: $route = new Zend_Controller_Router_Route( 'wedding/bouquets/:bouquet', array( 'controller' = 'wedding', 'action' = 'bouquet', 'page' = 1 ) ); So this makes page default to 1 if not set. You may also want to be careful with

Re: [fw-general] Pagination with routes not working.

2008-11-24 Thread Ace Paul
thanks for the quick response Keith. I gave that one a go, but no luck unfortunately. Will look into the tableSelectAdapter also. Still very new to ZF so taking baby steps at the moment. thanks for your help -- View this message in context:

RE: [fw-general] Zend_Feed Error

2008-11-24 Thread Maxime P
It 's wired! I'm going to check the php.ini and httpd.conf... Thks, rcastley wrote: Hi, I can't duplicate the problem on my ZF 1.7 environment. The only thing I am doing different is assigning the results to a variable rather than the view E.g. try { $rss =

[fw-general] PHPUnit and ZF

2008-11-24 Thread CatharsisJelly
Hello I'm using PHPUnit to test my models in ZF and came across a bit of an issue with it on Friday. So I have a Rowclass designated for a particular table class. Inside this row class I had made a syntax error that I didn't see and it did something weird to my test suite. Below is the

[fw-general] Zend_Soap_Wsdl: nested objects possible?

2008-11-24 Thread Jan Pieper
Is it possible to create nested objects with Zend_Soap_Wsdl to use for WSDL generation? I tried someting like this: --- SNIP --- class MyFooResult { /** * @var MyFooSubResult[] */ public $sub; /* ... */ } --- SNAP --- ...but I am getting an Zend_Soap_Wsdl_Exception

Re: [fw-general] Zend_Soap_Wsdl: nested objects possible?

2008-11-24 Thread Jan Pieper
My first parameter for Zend_Soap_AutoDiscover is an instance of Zend_Soap_Wsdl_Strategy_ArrayOfTypeComplex. But it seems that it will only be used for top-level classes. Not for its properties. Original-Nachricht Datum: Mon, 24 Nov 2008 13:32:21 +0100 Von: Benjamin Eberlei

[fw-general] Size Validator Zend 1.7.0 - bytestring problem

2008-11-24 Thread Nick17
In Zend framework 1.7.0 the file size validator doesn't work as in 1.6.2. The conversion of the Byte length to String doesn't take place in the validation message. In the setMin and setMax method a conversion from _fromByteString take place. Then in the isValid method the converted

Re: [fw-general] Size Validator Zend 1.7.0 - bytestring problem

2008-11-24 Thread Thomas Weidner
This issue has already been told a few days ago and fixed in trunk. You see, we're quicker than your mail ;-))) Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: Nick17 [EMAIL PROTECTED] To: fw-general@lists.zend.com

Re: [fw-general] Pagination with routes not working.

2008-11-24 Thread vladimirn
Hey Ace, i had the same problem. I solved it by making a link which leading me to the page with pagination like this before: wedding/bouquets/category (above wasnt work for me) and this one works: wedding/bouquets/category/1 //in bootstrap $route3 = new Zend_Controller_Router_Route(

[fw-general] Zend_Uri_Http OR Zend_Validate_Hostname BUG

2008-11-24 Thread Vladas Diržys
Hello, I try to pass a local http uri (http://my.prj.lh;) to Zend_Uri, but it brings me an exception Invalid URI supplied. I can see in Zend_Http_Uri file, that it tries to validate with constant ALLOW_ALL code snippet: $validate = new Zend_Validate_Hostname(Zend_Validate_Hostname::ALLOW_ALL);

[fw-general] Fwd: Dijit Textarea functionality

2008-11-24 Thread Daniel Latter
Hi, I am aware that this element (Dijit Textarea) grows vertically when text is added, after only specifying a width for the element. My observation is that if you don't include a space when typing in the textarea, on the first 'line' the textarea will not grow vertically and continue to grow

[fw-general] Dijit Textarea functionality

2008-11-24 Thread Daniel Latter
Hi, I am aware that this element (Dijit Textarea) grows vertically when text is added, after only specifying a width for the element. My observation is that if you don't include a space when typing in the textarea, on the first 'line' the textarea will not grow vertically and continue to grow

Re: [fw-general] .phtml and .phtml(xforms)

2008-11-24 Thread nolnor
Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend Framework | http://framework.zend.com/ thank you very much! -- View this message in context: http://www.nabble.com/.phtml-and-.phtml%28xforms%29-tp20653857p20661911.html Sent from the Zend Framework

Re: [fw-general] .phtml and .phtml(xforms)

2008-11-24 Thread nolnor
thank you very much! Matthew Weier O'Phinney-3 wrote: -- nolnor [EMAIL PROTECTED] wrote (on Sunday, 23 November 2008, 06:26 PM -0800): -- Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend Framework | http://framework.zend.com/ -- View this

Re: [fw-general] PHPUnit and ZF

2008-11-24 Thread Matthew Weier O'Phinney
-- CatharsisJelly [EMAIL PROTECTED] wrote (on Monday, 24 November 2008, 03:06 AM -0800): I'm using PHPUnit to test my models in ZF and came across a bit of an issue with it on Friday. So I have a Rowclass designated for a particular table class. Inside this row class I had made a syntax error

RE: [fw-general] Zend_Feed Error

2008-11-24 Thread Maxime P
It seems that the problem come from Zend_http_client -- View this message in context: http://www.nabble.com/Zend_Feed-Error-tp20622594p20662128.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Dijit Textarea functionality

2008-11-24 Thread Matthew Weier O'Phinney
-- Daniel Latter [EMAIL PROTECTED] wrote (on Monday, 24 November 2008, 02:23 PM +): I am aware that this element (Dijit Textarea) grows vertically when text is added, after only specifying a width for the element. My observation is that if you don't include a space when typing in the

Re: [fw-general] PHPUnit and ZF

2008-11-24 Thread CatharsisJelly
Thanks for the comment Matthew, I'm using an example from your site in fact ffor test, the TestHelper that gets included with every test. Matthew Weier O'Phinney-3 wrote: A couple things to note. First, when testing, make sure that error_reporting is set to E_ALL|E_STRICT (8191), and that

Re: [fw-general] Dijit Textarea functionality

2008-11-24 Thread Graham Anderson
On Monday 24 November 2008 15:23:34 Daniel Latter wrote: Hi, I am aware that this element (Dijit Textarea) grows vertically when text is added, after only specifying a width for the element. My observation is that if you don't include a space when typing in the textarea, on the first

[fw-general] Zend_Acl howto know isAllowed is false due to assert fail?

2008-11-24 Thread Julian Davchev
Hi, Lets say I have this snippet some code already for creating acl object $acl-allow('baby','house','break',$hadMilk); So how do I know i $isAllowed = $acl-isAllowed('baby','house','break'); // so if $isAllowed === falsehow do I know this is due to $hadMilk assert is false or

Re: [fw-general] Dijit Textarea functionality

2008-11-24 Thread Daniel Latter
Hi Graham, Thanks for the reply. Im new to ZF and have added the following line as you suggested, this is what I now have: $this-addElement( 'Textarea', 'message', array( 'label' = 'Message * (will grow

Re: [fw-general] Dijit Textarea functionality

2008-11-24 Thread Graham Anderson
On Monday 24 November 2008 17:01:46 you wrote: Hi Graham, Thanks for the reply. Im new to ZF and have added the following line as you suggested, this is what I now have: $this-addElement( 'Textarea', 'message', array(

[fw-general] Re: Zend_Acl howto know isAllowed is false due to assert fail?

2008-11-24 Thread Colin Guthrie
Julian Davchev wrote: Hi, Lets say I have this snippet some code already for creating acl object $acl-allow('baby','house','break',$hadMilk); So how do I know i $isAllowed = $acl-isAllowed('baby','house','break'); // so if $isAllowed === falsehow do I know this is due to

[fw-general] New To PHP Zend

2008-11-24 Thread Django Woolf
Hi All Am new to php/mysql and am looking to use Zend Framework as the backbone of my introduction into such application design, for the purposes of building dynamic web sites. I have made myself sufficiently familair with HTML as the first part of my learning and now wish to step up to

Re: [fw-general] Dijit Textarea functionality

2008-11-24 Thread Daniel Latter
Hi Graham, Indeed, your version worked, not shure why mine did not, anyhow it still doesnt solve the problem with in the cases where there are no spaces in the text to make the textarea drop down to the next line. I posted the same q on the Dijit mailing list, fyi, heres the response: We are

Re: [fw-general] New To PHP Zend

2008-11-24 Thread Carlton Gibson
On 24 Nov 2008, at 16:55, Django Woolf wrote: Hi All Am new to php/mysql and am looking to use Zend Framework as the backbone of my introduction into such application design, for the purposes of building dynamic web sites. I have made myself sufficiently familair with HTML as the first

Re: [fw-general] zend_date with milliseconds question

2008-11-24 Thread Thomas Weidner
Milliseconds are not supported in a default date/time string. But you can set them with setMillisecond. S is the millisecond part of a date (as set with setMillisecond) But A are the elapsed seconds of the actual day within the set timestamp. Greetings Thomas Weidner, I18N Team Leader, Zend

[fw-general] Our BugHunt winners. . .

2008-11-24 Thread Wil Sinclair
Here are the top 3 from JIRA: Thomas Weidner- 18 fixed bugs Ben Eberlei - 14 fixed bugs Mickael Perraud - 3 fixed bugs Matthew fixed 15, but Zend employees aren't eligible. Besides, he already has a ZF shirt. :) There were a total of 59 bugs fixed that week, which is several times our weekly

[fw-general] White / Blank Screen when using MAMP

2008-11-24 Thread boxers999
Hi, All I can get is a white screen when trying the framework. I have a .htaccess and it does appear to be working as I can cause 500 server errors when I chuck in some random text. Here is is anyway:- RewriteEngine on RewriteBase /zend/ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .*

Re: [fw-general] zend_date with milliseconds question

2008-11-24 Thread Tim Rupp
Thanks Thomas for that clarification. That would lead me to believe the documentation for A is incorrect then? -Tim On Mon, Nov 24, 2008 at 1:59 PM, Thomas Weidner [EMAIL PROTECTED] wrote: Milliseconds are not supported in a default date/time string. But you can set them with setMillisecond.

Re: [fw-general] zend_date with milliseconds question

2008-11-24 Thread Thomas Weidner
Yes... Elapsed seconds of this day is the correct description. Please add a issue ot jira so we can fix it. Thnx Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: Tim Rupp [EMAIL PROTECTED] To: Thomas Weidner [EMAIL

Re: [fw-general] Our BugHunt winners. . .

2008-11-24 Thread Tobias Gies
Congratulations, everyone! And of course, thanks to everyone who participated, also those that aren't mentioned here. :-) Best regards, Tobias 2008/11/24 Wil Sinclair [EMAIL PROTECTED] Here are the top 3 from JIRA: Thomas Weidner- 18 fixed bugs Ben Eberlei - 14 fixed bugs Mickael Perraud

Re: [fw-general] FCKEditor and Zend_Form integration

2008-11-24 Thread aSecondWill
Thanks for your help guys, i got it working just using the jquery (using the new 1.7 zendx jquery) to change all textarea's with class wysiwyg to fckeditor boxes, as sugested. Didn't use the plugin. easy peasy once pointed the right way. ta. -- View this message in context:

Re: [fw-general] New To PHP Zend

2008-11-24 Thread Cameron
I would also recommend a basic guide to OO programming, as much of Zend takes advantage of PHP5's OO features, and unless you spend the time to formally learn OO it can be somewhat confusing. There are a number of fantastic tutorials out there on the Googles, but I personally read the first 2

RE: [fw-general] White / Blank Screen when using MAMP

2008-11-24 Thread Robert Castley
Hi You probably want to enable display_errors in your php.ini and also set error_reporting(E_ALL | E_STRICT). Then you might get something in your browser to let you know what has gone wrong. - Robert -Original Message- From: boxers999 [mailto:[EMAIL PROTECTED] Sent: 24 November 2008

[fw-general] Re: Zend_Uri_Http OR Zend_Validate_Hostname BUG

2008-11-24 Thread Vladas Diržys
Sorry, in my example I didn't check the Uri I have wrote. In my tests it was not exactly http://my.prj.lh but http://my_2008.prj.lhhttp://my.prj.lh and I can see that hostname validator doesn't supports underscores. So as I understand, this is not a bug, because underscore is not allowed hostname