Re: [fw-general] How to create select element of Zend_Form using xml

2009-01-30 Thread Jan Brucek
Hi, I don't know what component you are using to parse the xml, but I would suggest SimpleXML with Xpath query - http://cz2.php.net/manual/en/function.simplexml-element-xpath.php Thus, your query would be something like: $xml = new SimpleXMLElement($xml_string); $results =

Re: [fw-general] Re: Generate PDF, DOCX, DOC and RTF with ZF

2009-01-30 Thread Baptiste Placé
Hello Jonathan, Really great app, I will make sure to use it next time I'll be doing an eCommerce site. Generating PDF bills from scratch is really a hassle ! Baptiste Placé. Jonathan Maron a écrit : Hello all I have written quite a lot of e-mail off list in response to my original post.

[fw-general] Zend_Form_Element_Checkbox rendering via renderViewHelper

2009-01-30 Thread Jan Wagner-Rosenkranz
Hi all, Zend_Form_Element_Checkbox, does not render right when rendered via renderViewHelper(). The checked and unchecked values are both zero in that case. The problem seems to be that checkValue and unCheckedValue are passed to the decorators only in the render method of the element. Dont

[fw-general] ZendX_JQuery_View_Helper_AutoComplete does not work in current state

2009-01-30 Thread Jan Wagner-Rosenkranz
Hi there, ZendX_JQuery_View_Helper_AutoComplete does not render the javascript right, so the autocomplete element does not work. The autocomplete function expects the first paramter to be the url or the data, but the helper renders them in the options object. So url or data need to be

[fw-general] Zend_Config: merge and extends

2009-01-30 Thread Jan Pieper
Is it possible to use extends in an array? I need to merge X config files to one config. I currently convert them to an array to merge them, but then the extends will be lost. - this two config files - zend-config foo bar5/bar /foo /zend-config zend-config

[fw-general] Zend_Validate_Hostname and local names

2009-01-30 Thread Simon Corless
I think this is probably a modification / feature request, before making an issue I will just check if I should or not! This came about while using the email address validator. It uses the hostname validator, in it's default setup (which is what I want) to check an email address on a form, it

[fw-general] Zend_Form validation when 2 forms

2009-01-30 Thread Bertil Wergelius
I have a problem with validation when I try to make a form which upon a first submit will render a second conditional form. The rendering works all wright but only the first form seem to validate. What have I thought wrong here. In pseudo-code: create element hidden with name 'choose' and value

Re: [fw-general] Zend Layout problem with sub-actions

2009-01-30 Thread lkimme
Thanks Tobias. It was a path issue. I was not including the ending backslash ('/') with my baseUrl variable. It works fine now. regards, Tobias Gies wrote: most likely a path issue. Be sure to always use paths relative to the public folder of your ZF app (i.e.,

Re: [fw-general] Zebd_Form Select Element

2009-01-30 Thread maxarbos
Is it possible to send HTML to a zend form select element so that I can get this to work? How would you add blank / disabled rows to a list that is dynamically generated? maxarbos wrote: Hello, I am trying to create a select box that ends up lookign like this: option value=val1Top

Re: [fw-general] Some widget issues

2009-01-30 Thread Chris Weldon
I posted something in response to an SSL redirect question a couple of days ago. My .htaccess file should accomodate css, js, and img out of the box when your public folder structure looks like: /cs /img /js index.php ... .htaccess: RewriteEngine On RewriteRule ^.*/css/(.*)$ css/$1 RewriteRule

Re: [fw-general] Zend Cache instance PDO

2009-01-30 Thread Chris Weldon
On Thu, Jan 29, 2009 at 10:01 AM, Sébastien Couragier - DoYouSoft scourag...@doyousoft.com wrote: Is it impossible to cache a Zend_Db_Table_Abstract ? Why are you wanting to? -- Christopher Weldon http://chrisweldon.net ch...@chrisweldon.net

[fw-general] Application Ideas

2009-01-30 Thread Tom Printy
Hello Zenders, I was thinking about putting together some demo apps built on Zend. Does anyone know if there is a URL shortening app or invoice app build on top of the Zend framework? -Tom Printy

[fw-general] Zend_Dojo I18N

2009-01-30 Thread Kostyantyn Shakhov
I'm trying to setup I18N for Zend_Dojo namely for elements of Zend_Dojo_Form like drop-down calendar of DateTextBox etc. My steps are: 1) In the layout script: $this-dojo()-setDjConfigOption('extraLocale', 'fr-fr') -requireModule('dojo.i18n'); Nothing happened. The calendar's month name and

Re: [fw-general] Requested URL not found for all controllers except IndexController

2009-01-30 Thread Thomas VEQUAUD
That works on my new server... And I finally found the mistake : the rule AllowOverride All was not in the httpd.conf file. Anyway, thank you for your rule cause now I can see the phpinfo.php file! On Mon, Jan 26, 2009 at 8:59 AM, Thomas VEQUAUD thomas.vequ...@gmail.comwrote: No effect... I'm

[fw-general] Re[fw-general] ndering a sub form element in a view script

2009-01-30 Thread Colin J
I was wondering if anyone can help with how to render a single sub form element in a view script. I have a Zend_Form_SubForm and I am attaching this same sub form a number of times in the Controller, to a Zend_Form, e.g. $form = new Zend_Form(); for ($i = 1; $i = 5; ++$i) { $mysubform

Re: [fw-general] Zend_Config: merge and extends

2009-01-30 Thread Jason Webster
The built in merge method of Zend_Config is just what you're looking for: $config = new Zend_Config...; $config2 = new Zend_Config.; $config-merge($config2); // In this case, $config2 will be merged into $config. On 30/01/2009 2:49 AM, Jan Pieper wrote: Is it possible to use

Re: [fw-general] Zend_Config: merge and extends

2009-01-30 Thread Jan Pieper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Argh, thanks :-) - -- Jan The built in merge method of Zend_Config is just what you're looking for: $config = new Zend_Config...; $config2 = new Zend_Config.; $config-merge($config2); // In this case, $config2 will be merged into

Re: [fw-general] Zend_Dojo I18N

2009-01-30 Thread Matthew Weier O'Phinney
Kostyantyn -- Could you please not cross-post? I answered this one on fw-mvc, and now see it here. Dojo questions are best asked on fw-mvc. -- Kostyantyn Shakhov kshak...@gmail.com wrote (on Friday, 30 January 2009, 05:34 PM +0200): I'm trying to setup I18N for Zend_Dojo namely for elements of