Re: [fw-general] Error in Zend Framework 1.6 RC1 ?

2008-07-31 Thread agatone
Bug is still there. I've attached ZIP on that ticket. Use zip to recreate the bug. Matthew Weier O'Phinney-3 wrote: -- Matthew Weier O'Phinney [EMAIL PROTECTED] wrote (on Monday, 28 July 2008, 01:37 PM -0400): -- Michael Depetrillo [EMAIL PROTECTED] wrote (on Monday, 28 July 2008, 10:09

[fw-general] Re: Zend_Form Array notation

2008-07-31 Thread Sudheer
Sudheer wrote: Hello, I have come across a situation where I have to create form elements based on information stored in the database. For each value I want to create a checkbox form field element. Without Zend_Form I would do something like this: [snip] form name=edituser

Re: [fw-general] ZF + AMF

2008-07-31 Thread Pádraic Brady
This is actually great news. AMFPHP has been somewhat idle on the development front with a 2.0 version planned. May I take this as Wade's intention to divert resources for AMFPHP 2.0 into the Zend Framework? Or will AMFPHP 2.0 still make an appearance independently? Maybe not - Wade has been

Re: [fw-general] ZF + AMF

2008-07-31 Thread Pádraic Brady
Should have read Wade's blog comments. AMFPHP will continue in development. I guess Wade, a bit like me, is happy to maintain two branches of some contributions so there is also a non-ZF version for those not utilising the framework. Pádraic Brady http://blog.astrumfutura.com

RE: [fw-general] ZF + AMF

2008-07-31 Thread Wil Sinclair
I think you might be reading a bit more in to that statement than is really there. I intended to say Adobe has chosen ZF as the vehicle ithat Adobe will use/i to deliver AMF support to the community. I didn't mean to snub AMFPHP or any other project. It's simply that- to my knowledge- this is the

RE: [fw-general] zend translate and zend form

2008-07-31 Thread Samuel Verdier
I have two adapters one for all errors and one by module because my application is modular. In every module the file language is include in a subdirectory. The file of error is for all application Cordialement, Samuel verdier – Directeur technique [EMAIL PROTECTED] -Message d'origine-

[fw-general] Zend_Form populate and getValue

2008-07-31 Thread Samuel Verdier
Hi, How can I recupe values $formData with populate function ( without using addValue) ? $form-populate($formData); $titre = $this-createElement('text', 'titre'); $titre-setLabel('title'); echo $titre-getValue(); /*display nothing*/ But if I do : $titre = $this-createElement('text',

[fw-general] Problem Unsubscribing from this list

2008-07-31 Thread James Benson
I tried unsubscribing from this list a few weeks ago, ezmlm said I was not subscribed yet I'm quite sure Iam since I keep receiving email and quite clearly remember subscribing myself a couple of years ago. I tried emailing the list owner like ezmlm mentions but it bounced back. If anyone with

Re: [fw-general] Error in Zend Framework 1.6 RC1 ?

2008-07-31 Thread Matthew Weier O'Phinney
-- agatone [EMAIL PROTECTED] wrote (on Wednesday, 30 July 2008, 11:40 PM -0700): Bug is still there. I've attached ZIP on that ticket. Use zip to recreate the bug. I'll look into it today. Matthew Weier O'Phinney-3 wrote: -- Matthew Weier O'Phinney [EMAIL PROTECTED] wrote (on Monday,

Re: [fw-general] Zend_Form populate and getValue

2008-07-31 Thread Matthew Weier O'Phinney
-- Samuel Verdier [EMAIL PROTECTED] wrote (on Thursday, 31 July 2008, 12:59 PM +0200): How can I recupe values $formData with populate function ( without using addValue) ? $form-populate($formData); $titre = $this-createElement('text', 'titre'); $titre-setLabel('title'); echo

Re: [fw-general] Adding HTML Elements to Zend_Form_Elements

2008-07-31 Thread dragonmantank
Thanks, this worked like a charm! Chris Matthew Weier O'Phinney-3 wrote: -- Chris Tankersley [EMAIL PROTECTED] wrote (on Wednesday, 30 July 2008, 12:30 PM -0400): I have a few form elements where I want a small 'info' button (just an image with an onClick trigger) to appear next to the

RE: [fw-general] IP calculations

2008-07-31 Thread Vincent de Lau
-Original Message- From: Bill Karwin [mailto:[EMAIL PROTECTED] I would guess that most people who need to do range matching, subnets, etc. simply convert an IP address string to its packed binary equivalent, and then use PHP bitwise operators. No need to have an OO interface for

[fw-general] OT: Good Docbook Editor

2008-07-31 Thread Keith Pope
Hey guys, Do you use a docbook editor for writing the zf docs? If so whats a good editor to use? Thx Keith Pope -- allpay.net Limited, Fortis et Fides, Whitestone Business Park, Whitestone, Hereford, HR1 3SE. Registered in England No. 02933191. UK VAT Reg. No. 666 9148 88. Telephone:

Re: [fw-general] OT: Good Docbook Editor

2008-07-31 Thread Bradley Holt
Keith, I haven't used it for ZF docs, but XMLmind XML Editorhttp://www.xmlmind.com/xmleditor/(XXE) makes a really nice DocBook editor. I don't know how well it plays with the specific format used for ZF docs, though. Has anyone tried it on the ZF docs? On Thu, Jul 31, 2008 at 9:41 AM, Keith Pope

Re: [fw-general] OT: Good Docbook Editor

2008-07-31 Thread Simone Carletti
I usually edit docbook files by hand with TextMate. I created a custom DocBook bundle with a couple of snippets and scripts. However, if you have to write large documentation files, I suggest you to give a look at * http://www.xmlmind.com/xmleditor/ * http://www.oxygenxml.com/ I've tried both

Re: [fw-general] OT: Good Docbook Editor

2008-07-31 Thread Matthew Weier O'Phinney
-- Keith Pope [EMAIL PROTECTED] wrote (on Thursday, 31 July 2008, 02:41 PM +0100): Do you use a docbook editor for writing the zf docs? If so whats a good editor to use? I use vim. It has good syntax highlighting, completes tags, and creates end tags. -- Matthew Weier O'Phinney Software

RE: [fw-general] OT: Good Docbook Editor

2008-07-31 Thread Keith Pope
I was never very good with vi hehe :) Maybe its time to learn it... - Original Message - From: Matthew Weier O'Phinney [EMAIL PROTECTED] Sent: Thu, 7/31/2008 2:59pm To: fw-general@lists.zend.com Subject: Re: [fw-general] OT: Good Docbook Editor -- Keith Pope [EMAIL PROTECTED] wrote (on

[fw-general] Zend_Feed_Reader Proposal for Community Comment

2008-07-31 Thread Pádraic Brady
Following my email of yesterday which I'm sure you all read (right? ;)), I've posted a new formal proposal for it all. Your review is appreciated, and do post all your comments to the proposal page where they are all linked together.

[fw-general] ZFWiki - Development update and community input required

2008-07-31 Thread Robert Castley
Hi All, ZFWiki has been coming on quite nicely of late, some new features and a whole brand new look. GeSHi for code syntax highlighting is integrated and Textile is now the chosen markup. I would be most grateful if I could have some UI (User Interface) feedback. Any feedback should be

RE: [fw-general] Problem Unsubscribing from this list

2008-07-31 Thread Wil Sinclair
Could you be subscribed to fw-all? Please check try fw-all-unsubscribe, if that doesn't work, I'll do it manually. My apologies, but manually removing people from all of the lists isn't particularly easy. ,Wil -Original Message- From: James Benson [mailto:[EMAIL PROTECTED] Sent:

[fw-general] How to inject script using headScript from a custom view helper?

2008-07-31 Thread derek fong
Hi, I have a custom view helper from which I'd like to inject some code into the head of my page using the Zend_View_Helper_HeadScript helper. I have the following code in my custom helper: if (!$this-init) { $this-view-headScript()-appendFile('/assets/js/tree.js'); } However, while

Re: [fw-general] How to inject script using headScript from a custom view helper?

2008-07-31 Thread Taco Jung
Hi, Use the following function in your custom view helper to get the global view: public function setView(Zend_View_Interface $view){ $this-view = $view; } Then using $this-view-headScript() in your helper will work. Regards, TJ. On Thu, Jul 31, 2008 at 7:41 PM, derek fong [EMAIL

Re: [fw-general] How to inject script using headScript from a custom view helper?

2008-07-31 Thread derek fong
Excellent, thanks! Worked like a charm. =) -f- On 31 Jul 2008, at 13:52, Taco Jung wrote: Hi, Use the following function in your custom view helper to get the global view: public function setView(Zend_View_Interface $view){ $this-view = $view; } Then using $this-view-headScript()

Re: [fw-general] OT: Good Docbook Editor

2008-07-31 Thread Matthew Ratzloff
Microsoft Word, and then translated into DocBook by hand. This is the quickest way for me that I've found. The first part I worry about the content. Only then do I worry about the semantics and formatting. I tried using XMLmind's editor once for client documentation at work. I dumped it. The

Re: [fw-general] How to inject script using headScript from a custom view helper?

2008-07-31 Thread derek fong
Hi, Looks like I spoke too soon. :( The reason it worked for me before was because I still had another call to the same helper in my controller, which is what was actually causing the headScript call to work as expected, but since removing that from my controller, headScript will still

Re: [fw-general] OT: Good Docbook Editor

2008-07-31 Thread Bradley Holt
Matt, Sorry about continuing an OT discussion, but I'm curious what you mean when you say the XML from XMLmind XML Editor (XXE) wasn't good enough? My experience with XXE has been that the XML was perfectly valid, well formatted in respect to whitespace, and met the DocBook specs. I find it

Re: [fw-general] How to inject script using headScript from a custom view helper?

2008-07-31 Thread Matthew Weier O'Phinney
-- derek fong [EMAIL PROTECTED] wrote (on Thursday, 31 July 2008, 02:47 PM -0400): Looks like I spoke too soon. :( The reason it worked for me before was because I still had another call to the same helper in my controller, which is what was actually causing the headScript call to work as

Re: [fw-general] zend translate and zend form

2008-07-31 Thread samuel verdier
Ok but i think that do two different functions for tranlate label and error would be nice : $this-form-setLabelTranslators($this-translateFormLabel); $this-form-setErrorTranslators($this-translateFormError); no ? - Original Message - From: Thomas Weidner [EMAIL PROTECTED] To:

Re: [fw-general] zend translate and zend form

2008-07-31 Thread Matthew Weier O'Phinney
-- samuel verdier [EMAIL PROTECTED] wrote (on Thursday, 31 July 2008, 10:10 PM +0200): Ok but i think that do two different functions for tranlate label and error would be nice : $this-form-setLabelTranslators($this-translateFormLabel);

Re: [fw-general] OT: Good Docbook Editor

2008-07-31 Thread Simon Mundy
Hi Brad, FWIW I began using XMLMind to create and update entries in the ZF documentation. It had a tendency to mash existing code examples (e.g. converting all to lt; and removing CDATA instructions) and muck around with every single line re: whitespace. In turn this meant the

Re: [fw-general] OT: Good Docbook Editor

2008-07-31 Thread Bradley Holt
Simon, That's exactly what I was wondering - if XXE played well with the current ZF doc setup (apparently it doesn't). I've only used it for documentation that I created (but I have kept a close eye on the XML output and have been happy with what I've seen). For non-programmers (or people who

Re: [fw-general] ZFWiki - Development update and community input required

2008-07-31 Thread till
On Thu, Jul 31, 2008 at 12:12 PM, Robert Castley [EMAIL PROTECTED] wrote: Hi All, ZFWiki has been coming on quite nicely of late, some new features and a whole brand new look. GeSHi for code syntax highlighting is integrated and Textile is now the chosen markup. I would be most grateful

Re: [fw-general] Zend_Log_Writer_Firebug Zend_Db_Profiler_Firebug

2008-07-31 Thread Christoph Dorn
This does not need to go into the trunk for 1.6 but if there is interest I can complete tests and documentation for it and we can include it as well. All tests and documentation have been completed. Everything is ready for merging now. Christoph

[fw-general] Weird error using Prototype for Ajax in ZF - action does not exist!

2008-07-31 Thread nolner
My layout file starts thus: ?php echo $this-doctype() ?html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / script src=libajax/scriptaculous-js-1.8.1/prototype.js type=text/javascript/script script

Re: [fw-general] Weird error using Prototype for Ajax in ZF - action does not exist!

2008-07-31 Thread till
On Thu, Jul 31, 2008 at 9:42 PM, nolner [EMAIL PROTECTED] wrote: My layout file starts thus: ?php echo $this-doctype() ?html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / script src=libajax/scriptaculous-js-1.8.1/prototype.js

Re: [fw-general] Weird error using Prototype for Ajax in ZF - action does not exist!

2008-07-31 Thread Matthew Weier O'Phinney
-- nolner [EMAIL PROTECTED] wrote (on Thursday, 31 July 2008, 06:42 PM -0700): My layout file starts thus: ?php echo $this-doctype() ?html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=utf-8 / script

[fw-general] How are you using Zend_Pdf?

2008-07-31 Thread Willie Alberty
Kevin and I are about ready to introduce the comprehensive Zend_Pdf updates I described last week for community review and early testing. I am working on shoring up the documentation now and could use some feedback: In what ways are you are currently using Zend_Pdf? I don't necessarily

Re: [fw-general] Weird error using Prototype for Ajax in ZF - action does not exist!

2008-07-31 Thread nolner
Ok - well just adding the '/' prefix to the filepaths removed the errors - but the js is still not being loaded. Here's my .htaccess : # Rewrite rules for Zend Framework RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* index.php # Security: Don't allow browsing of

Re: [fw-general] Weird error using Prototype for Ajax in ZF - action does not exist!

2008-07-31 Thread nolner
Ok, path was wrong - sorted now - thx all nolner wrote: Ok - well just adding the '/' prefix to the filepaths removed the errors - but the js is still not being loaded. Here's my .htaccess : # Rewrite rules for Zend Framework RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f