[fw-general] Displaying errors in front of element

2008-06-15 Thread Rohit83
Hi All, I want to know how we display errors in front of element,instead of displaying it below that element Thanks Rohit -- View this message in context: http://www.nabble.com/Displaying-errors-in-front-of-element-tp17795996p17795996.html Sent from the Zend Framework mailing list archive at Nab

[fw-general] Zend Framework and Sproutcore

2008-06-15 Thread Robert Castley
Just discovered Sproutcore - http://sproutcore.com Apple backed javascript MVC. Seems to use Ruby for building etc. Would be really neat if the PHP world could have something like this! Just thought I would share this. Cheers, - Robert ___

[fw-general] New Component: Zend_Debug_FirePhp

2008-06-15 Thread Christoph Dorn
Hi All, I have completed a proposal for a Zend_Debug_FirePhp component. You can find the proposal here: http://framework.zend.com/wiki/display/ZFPROP/Zend_Debug_FirePhp+-+Christoph+Dorn In essence it allows you to send debug data to the Firebug Console. I have included some screenshots in the pr

[fw-general] New Component: Zend_Debug_FirePhp

2008-06-15 Thread Christoph Dorn
Hi All, I have completed a proposal for a Zend_Debug_FirePhp component. You can find the proposal here: http://framework.zend.com/wiki/display/ZFPROP/Zend_Debug_FirePhp+-+Christoph+Dorn In essence it allows you to send debug data to the Firebug Console. I have included some screenshots in the pr

Re: [fw-general] Several questions on ZF

2008-06-15 Thread Neriodavid(Wei Dai)
Thanks for the replying. Regarding the Zend_Form decorators: I still don't know how to set a HtmlTag decorator to have a certain text node value, unlessI can use the Description decorator. On Sun, Jun 15, 2008 at 11:23 PM, Bart McLeod <[EMAIL PROTECTED]> wrote: > 1. Use setOption('placement','

Re: [fw-general] Zend_Db_Rowset / Row quick question

2008-06-15 Thread Jason Webster
Simon, Thanks a ton for the help, your first observation was correct. It took me a while to notice, due to the fact the it was only one malformed row in a dataset of tens of thousands, but one field in one row had a invalid value which I was depending on, and was causing the error. Thanks aga

Re: [fw-general] Zend_Db_Rowset / Row quick question

2008-06-15 Thread Simon Mundy
Can you provide the output of the var_dump? Sadly, this is not the case. If I var_dump() the result from current(), I get the Row Object that I'm after. Also, I can successfully invoke toArray() on the Rowset, but I don't really want the extra containing array when I only want one row.

Re: [fw-general] Zend_Db_Rowset / Row quick question

2008-06-15 Thread Jason Webster
Sadly, this is not the case. If I var_dump() the result from current(), I get the Row Object that I'm after. Also, I can successfully invoke toArray() on the Rowset, but I don't really want the extra containing array when I only want one row. Simon Mundy wrote: Hi Jason If you call curre

Re: [fw-general] Zend_Paginator - Ready for Review

2008-06-15 Thread Jurriën Stutterheim
Hmm... I knew I forgot something :D Voila: http://framework.zend.com/wiki/pages/viewpage.action?pageId=43560 On Jun 15, 2008, at 21:56 , till wrote: Hey, maybe include a link. :) Till On Sun, Jun 15, 2008 at 9:49 PM, Jurriën Stutterheim <[EMAIL PROTECTED]> wrote: Hi all, Matthew Ratzloff

Re: [fw-general] Zend_Db_Rowset / Row quick question

2008-06-15 Thread Simon Mundy
Hi Jason If you call current() on an empty Rowset, you'll get a null value. That's why the toArray() method will fail - it's likely that your find method returned no matching results. Cheers Forgive me if this is obvious, however, I can't seem to see what the issue is here. This shou

[fw-general] Zend_Db_Rowset / Row quick question

2008-06-15 Thread Jason Webster
Forgive me if this is obvious, however, I can't seem to see what the issue is here. This should work: $this->_someTable->find(1234)->current()->toArray(); According to the API docs, the find() method of Zend_Db_Table returns a ..._Rowset, which then has the current() method, which returns a

[fw-general] Zend_Paginator - Ready for Review

2008-06-15 Thread Jurriën Stutterheim
Hi all, Matthew Ratzloff and I have been working on updating the proposal (and code) for Zend_Paginator. Because of extensive modifications to the proposal and the component itself, we've moved it back to the Ready for Review state. I would like to ask all of you to check out the proposal

Re: [fw-general] Zend_Log - data does not make into the table

2008-06-15 Thread Shekar C Reddy
Well, here is another strange thing: One of the statements is delete and that works without a transaction/commit but the insert needs transaction/commit to work. On Sun, Jun 15, 2008 at 3:46 AM, Shekar C Reddy <[EMAIL PROTECTED]> wrote: > No, it uses the same db-adapter that is also used across a

Re: [fw-general] Zend_Log - data does not make into the table

2008-06-15 Thread Shekar C Reddy
No, it uses the same db-adapter that is also used across all the app but the app modules use the adapter wrapped with begin-transaction/commit statements whereas the logger does not use transaction. I just tried wrapping the log() method with begin-transaction/commit combo and now it works! Don't k