Re: [fw-general] Trouble with on Change in Zend_Form_Element_Select

2008-11-10 Thread Cameron
Simple, really - dropdown lists that change their options depending on other dropdown lists, but all done through Zend Dojo and using a nice clean MVC interface. The classic example is Country / State - when you select the Country from a dropdown, it refreshes the options available in the State lis

[fw-general] Session DB Save Handler Lifetime Override

2008-11-10 Thread Cory D. Wiles
In a global config file I have setup my zend session options: /var/www/zend_sessions/ 2592000 /** * Set the Zend session options (global config) */ Zend_Session::setOptions($globalConfig->session->params->toArray()); In my bootstrap I am pas

[fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 And the last component for 1.7 was just promoted to trunk. You have a few (6) days left to test it out, before the final release comes, so have fun. - -- ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread SiCo007
Sounds interesting, but how do I view (or where!) the manual on this? It would be quite useful if you linked to the proposal when you announce new promotions as well (mainly because I'm lazy mind you!). Thanks - Simon http://www.ajb007.co.uk/ -- View this message in context: http://www.n

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Don't you think that I'm as same lazy as you? ;) http://framework.zend.com/svn/framework/standard/trunk/documentation/manual/en/module_specs/Zend_Text_Table.xml ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __|

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Matthew Ratzloff
It used to be called Zend_Ascii: Zend_Ascii - Ben Scholzen - Zend Framework Wiki As is typical, I finally had time to play around with it only after it h

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Matthew Ratzloff
Actually, you could do the column values in the options hash as well: $options = array( 'columnWidths' => array(9, 8), 'separation' => 'header', 'decorator'=> 'Ascii', 'padding' => 1 ); $table = new Zend_Text_Table($options); By the way, in the future you should be able

[fw-general] Multi-Page forms

2008-11-10 Thread Ralf Eggert
Hi, I just had a closer look at the multi-page form example in the manual. Currently you need to add a good bit of code to get this running: http://framework.zend.com/manual/en/zend.form.advanced.html#zend.form.advanced.multiPage In the of the page end it says: Upcoming releases of Zend Frame

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread till
On Mon, Nov 10, 2008 at 5:17 PM, Ben Scholzen 'DASPRiD' <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > And the last component for 1.7 was just promoted to trunk. You have a > few (6) days left to test it out, before the final release comes, so > have fun. For star

Re: [fw-general] Multi-Page forms

2008-11-10 Thread Matthew Weier O'Phinney
-- Ralf Eggert <[EMAIL PROTECTED]> wrote (on Monday, 10 November 2008, 10:45 AM +0100): > I just had a closer look at the multi-page form example in the manual. > Currently you need to add a good bit of code to get this running: > > http://framework.zend.com/manual/en/zend.form.advanced.html#zend.

Re: [fw-general] Trouble with on Change in Zend_Form_Element_Select

2008-11-10 Thread Bart McLeod
Your problem looks interesting, and I would like to help you, but I am not sure if I fully understand what you are trying to achieve. Could you provide a full and exact functional description of what you are trying to accomplish? Bart Cameron schreef: You are going to have to do this with _j

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey Till, > 1) In Zend_Text_Table::__construct, the first else is not needed > (throw is good enough). Alright. > 2) I'd refactor the if/elseif/else for $drawSeperator (in > Zend_Text_Table::render()) into its own function. I'd also refactor > some

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey Matt, > - It desperately needs an option for padding. Having everything butt up > against the left or right (if not centered) doesn't look quite right. > I'd set the default padding to 1, so that things look like this: > > +-++

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey again, > Actually, you could do the column values in the options hash as well: > > $options = array( > 'columnWidths' => array(9, 8), > 'separation' => 'header', > 'decorator'=> 'Ascii', > 'padding' => 1 > ); > $table =

[fw-general] Zend_Form_Element_File

2008-11-10 Thread SiCo007
Is it possible to use filters with the file form element yet? I know you can do it directly on the transfer element and that's how I've been doing it, I just wondered if it's possible to pass them through Zend_Form yet? Thanks for any information. - Simon http://www.ajb007.co.uk/ -- View t

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Matthew Ratzloff
Well, the idea is you can add this improvement in the next release (1.7.1 perhaps) without breaking BC. Otherwise, it breaks BC. For now, you could just throw an exception if that value is not present. So if the columnWidths field is not present, use auto-sizing; if a null value is present in the

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The problem I see with auto-sizing is that currently every row is rendered one by one. So in the first row I don't even know, how large the other rows may get. I would have to do some re-writing, but basically you are right, better doing it now than no

Re: [fw-general] Zend_Form_Element_File

2008-11-10 Thread Thomas Weidner
I would use the addFilter method from the file form element in this case :-) Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "SiCo007" <[EMAIL PROTECTED]> To: Sent: Monday, November 10, 2008 9:19 PM Subject: [fw-genera

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Matthew Weier O'Phinney
-- Ben Scholzen 'DASPRiD' <[EMAIL PROTECTED]> wrote (on Monday, 10 November 2008, 09:05 PM +0100): > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Actually, you could do the column values in the options hash as well: > > > > $options = array( > > 'columnWidths' => array(9, 8), > > 's

[fw-general] Inner Join

2008-11-10 Thread Damian Adriel Perez Valdes
Hi peoples!!! I have two questions. 1- I need to know how to do a Inner join using a fetchAll. 2- I'm using ZF + Ext JS, I need to know how define a success:true. Best Regards, Damian. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to b

Re: [fw-general] Zend_Form_Element_File

2008-11-10 Thread SiCo007
I don't now seem to be able to set filters to run on my uploaded files. I used to run the filters after I had uploaded the files and validated the form. if ($form->isValid($this->_request->getPost())) { $filter = new SiCo_Filter_File_StoreByDate(DOC_IMAGES . config::get()->products->images->dire

[fw-general] Zend_Db_Table_Row(set)->toArray()

2008-11-10 Thread Vince42
Hi, I've been searching around, but didn't find a proper issue to this problem. Is it already addressed? It used to work like charme (integers were converted into integers etc) - but since something like 1.5.x it stopped working and I had to rewrite some quoteInto code in order to make it work aga

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alright, all modifications are done and comitted with regarding tests to SVN. Tho I didn't had time yet to update the documentation, could you maybe take that part, Matt? Ben PS: If you like, you can include the auto-sizing stuff. ...

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Matthew Ratzloff
I'll look at it tonight. -Matt On Mon, Nov 10, 2008 at 1:09 PM, Ben Scholzen 'DASPRiD' <[EMAIL PROTECTED]>wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Alright, all modifications are done and comitted with regarding tests to > SVN. Tho I didn't had time yet to update the documenta

Re: [fw-general] Zend_Form_Element_File

2008-11-10 Thread Thomas Weidner
The attached filters will automatically run when receiving the file. After the file has been received, they will not be attached anymore. So you must create your file element with all validators and filters attached so they will be processed when you receive the files. When you access the rena

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread till
I am just citing "open" parts. ;-) On Mon, Nov 10, 2008 at 9:00 PM, Ben Scholzen 'DASPRiD' <[EMAIL PROTECTED]> >> 2) I'd refactor the if/elseif/else for $drawSeperator (in >> Zend_Text_Table::render()) into its own function. I'd also refactor >> some of those large if/else's. > > Hm no, the drawSe

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Matthew Ratzloff
Quickly addressing some points... loadClass() is only for dynamically-generated class names. require_once is used in all other cases. No need for an interface if it doesn't solve a problem, right? I believe the framework has standardized on iconv. -Matt On Mon, Nov 10, 2008 at 1:42 PM, till <[

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I am just citing "open" parts. ;-) > > On Mon, Nov 10, 2008 at 9:00 PM, Ben Scholzen 'DASPRiD' > <[EMAIL PROTECTED]> >> 2) I'd refactor the if/elseif/else for > $drawSeperator (in >>> Zend_Text_Table::render()) into its own function. I'd also refact

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 By the way, I just saw that we are already in code freeze. So when you can't do the documentation part until tomorrow evening I will try to find some free time tomorrow. ... : ___ _ ___ ___ ___ _ ___: : | \ /_

[fw-general] help setDecorators for Zend_Form_Element_Captcha

2008-11-10 Thread Terre Porter
I'm trying to create a captcha form element in a table row. I have this for a text element. // set wrapper around element $email->setDecorators(array( 'ViewHelper', 'Description', 'Errors', array(array('data'=>'HtmlTag'), array('tag' => 'td')), array('Label', array('tag' => 'td')),

[fw-general] Interface 'IteratorAggregate' not found error in production server

2008-11-10 Thread kirpit
Hello, I've developed some community application with ZF 1.6.0. So far it has gone great (except with Zend_Search_Lucene performance and pagination). So it was ready for first tests in production server. I've uploaded all the structure and db. But when i try to open the site, it gives error 500. T

[fw-general] Alternating row colors in a Zend_Form

2008-11-10 Thread DorkFest
Anyone have any simple strategies for providing alternative row CSS classes (eg: "odd-row", "even-row") in a Zend_Form? Thanks! -- View this message in context: http://www.nabble.com/Alternating-row-colors-in-a-Zend_Form-tp20431687p20431687.html Sent from the Zend Framework mailing list archive

Re: [fw-general] Zend_Text_Table promted to trunk

2008-11-10 Thread Matthew Weier O'Phinney
-- till <[EMAIL PROTECTED]> wrote (on Monday, 10 November 2008, 10:42 PM +0100): > On Mon, Nov 10, 2008 at 9:00 PM, Ben Scholzen 'DASPRiD' > <[EMAIL PROTECTED]> >> 2) I'd refactor the if/elseif/else for > $drawSeperator (in > >> 4) No idea what the convention is, but what about using > >> Zend_Load

[fw-general] Zend_Dom_Query and XML

2008-11-10 Thread Hector Virgen
I am using the 1.6.2 branch of ZF, and I'm having trouble using Zend_Dom_Query with a simple XML file. I have followed the example from http://framework.zend.com/manual/en/zend.dom.query.html#zend.dom.query.methods.zenddomquerybut it doesn't seem to be working for me. Am I doing something wrong? He

[fw-general] Re: Zend_Dom_Query and XML

2008-11-10 Thread Hector Virgen
I just tried the same thing with Zend_Dom_Query::queryXpath(), and I got the same results: $listings = $dom->queryXpath('/Manifest/Listings/ListingDocument'); Maybe there is something wrong with my XML? -Hector On Mon, Nov 10, 2008 at 8:53 PM, Hector Virgen <[EMAIL PROTECTED]> wrote: > I am us

[fw-general] without htaccess?

2008-11-10 Thread Hoena
Is there any way to use ZF URL rewriting without the use of htaccess files if the web server does not support it? The question begins from digitaluscms forum http://forum.digitaluscms.com/comments.php?DiscussionID=132&page=1#Item_0 -- View this message in context: http://www.nabble.com/without-

Re: [fw-general] Zend PDT 2.0 all-in-one available (BETA)

2008-11-10 Thread Bruno Friedmann
Hi Karol, like previous version, it's only 32bits. Normally it has it's own java32 bits engine include. So you should take care of any path or env vars that would alter the embedded java engine to start. take a look at all your env java env | grep JAV It would be a great enhancement to have a n

Re: [fw-general] Re: Zend_Dom_Query and XML

2008-11-10 Thread Mon Zafra
Two things: - Query must be in lowercase. I guess case-folding is enabled by default. - It seems that Zend_Dom_Query doesn't like the xml prolog. On Tue, Nov 11, 2008 at 1:04 PM, Hector Virgen <[EMAIL PROTECTED]> wrote: > I just tried the same thing with Zend_Dom_Query::queryXpath(), and I go

Re: [fw-general] without htaccess?

2008-11-10 Thread Bruno Friedmann
Hoena wrote: > Is there any way to use ZF URL rewriting without the use of htaccess files if > the web server does not support it? > > The question begins from digitaluscms forum > http://forum.digitaluscms.com/comments.php?DiscussionID=132&page=1#Item_0 Really all answers given in the linked for

[fw-general] $form->populate and FilteringSelect using Dojo datastore doesn't work, issue tracker won't let me submit bug, nowhere else to turn

2008-11-10 Thread Cameron
I'm really stumped with this one, it flat out doesn't work in anything like the way you'd expect / want it to, and I can't find a single piece of documentation on this anywhere. I'm not even talking about dependent dropdowns here, all I am trying to do is get $form->populate to correctly work in my