[fw-general] VO Mapping not working from PHP to AS

2009-12-14 Thread shivik
Hello all I am trying to map value objects on php side and flex side. I am using Zend_AMF as the AMF server. The mapping from flex to php is working fine, but the reverse is not working. Here is what I have done. Here are my project setups for flex and zend.

Re: [fw-general] There is no way to customize the validator messages?

2009-12-14 Thread Саша Стаменковић
Page http://framework.zend.com/manual/en/zend.validate.messages.html needs an update eg: Invalid type given, value should be string, integer or float is missing in Zend_Validate_Digits... So, it's worthless. Regards, Saša Stamenković On Mon, Nov 16, 2009 at 11:32 AM, whisher whis...@mp4.it

[fw-general] Zend_Controller_Router_Route_Regex and revers

2009-12-14 Thread PHPScriptor
Hello, I have build this router: $router-addRoute( 'network', new Zend_Controller_Router_Route_Regex('(nl|en)/(netwerk|network)(/([a-zA-Z0-9-_.]*))?(/(\d+))?', array( 'module'= 'default', 'controller'= 'network', 'action'= 'index' ), array( 1 =

[fw-general] Re: Zend_Config_Xml and PDO::MYSQL_ATTR_INIT_COMMAND

2009-12-14 Thread Christoph Löffler
Hi, i found the conversation http://n4.nabble.com/Zend-Config-Xml-and-PDO-MYSQL-ATTR-INIT-COMMAND-tp656930p656930.htmlin this mailing list. We have a similar problem here: We use XML Config an want to set db options as described in the manual in Example 15.6: *Passing the Auto-Quoting Option to

[fw-general] HTMLPurifier and autoloader

2009-12-14 Thread takeshin
How do you setup HTMLPurifier and ZF? Is require_once('HtmlPurifer.auto.php'); really needed? -- regards takeshin -- View this message in context: http://n4.nabble.com/HTMLPurifier-and-autoloader-tp963488p963488.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Troubles with custom captcha adapters

2009-12-14 Thread Alayn Gortazar
Hi everybody, I'm trying to use a custom captcha adapter extending and overriding the Zend_Captcha_Image adapter. The trouble is that when I try to use this adapter, Zend throws the next Exception: == Message: Plugin by name '' was not found in the registry; used

Re: [fw-general] HTMLPurifier and autoloader

2009-12-14 Thread Jurian Sluiman
I just read an article about the integration of HtmlPurifier and ZF (it's German): http://sorgalla.com/2009/12/09/htmlpurifier-mit-dem-zend-framework- nutzen/ Regards, Jurian -- Jurian Sluiman CTO Soflomo V.O.F. http://soflomo.com On Monday 14 Dec 2009 13:24:26 takeshin wrote: How do you

[fw-general] Good HTML to plain ASCII class

2009-12-14 Thread takeshin
Can you recommend valuable HTML to plain ASCII class, for use with Zend_Mail::setBodyHtml and Zend_Mail::setBodyText ? -- regards takeshin -- View this message in context: http://n4.nabble.com/Good-HTML-to-plain-ASCII-class-tp963569p963569.html Sent from the Zend Framework mailing list

Re: [fw-general] There is no way to customize the validator messages?

2009-12-14 Thread Thomas Weidner
Because 1 string out of more than 200 is missing the complete manual useless ? This is ridiculous. You could also use the translation ressource. *sarcasm* Oh, sorry... 10 strings are marked as duplicated within the ressources so they are also useless. Greetings Thomas Weidner, I18N Team

Re: [fw-general] Good HTML to plain ASCII class

2009-12-14 Thread Саша Стаменковић
You want to have html email templates and use them to set text body? I'm interested in this as well. And also for best practices on how to build powerful mailer with Zend_View and Zend_Layout. Regards, Saša Stamenković On Mon, Dec 14, 2009 at 3:35 PM, takeshin admi...@gmail.com wrote: Can

Re: [fw-general] There is no way to customize the validator messages?

2009-12-14 Thread Саша Стаменковић
You are right. The page is useful, but it needs update. Regards, Saša Stamenković On Mon, Dec 14, 2009 at 3:38 PM, Thomas Weidner thomas.weid...@gmx.atwrote: Because 1 string out of more than 200 is missing the complete manual useless ? This is ridiculous. You could also use the

Re: [fw-general] Good HTML to plain ASCII class

2009-12-14 Thread Jan Pieper
I am using following function to convert HTML to plain text: function stripHTML($text) { // lists $text = preg_replace(/li/i, * , $text); $text = preg_replace(/\/li/i, \r\n, $text); // tables $text = preg_replace(/\/td/i, \t, $text); $text = preg_replace(/\/th/i, \t,

Re: [fw-general] Good HTML to plain ASCII class

2009-12-14 Thread Саша Стаменковић
http://www.google.com/search?hl=srrlz=1C1GGLS_srRS291RS303q=php+html+to+textbtnG=Претражиlr=aq=foq=http://www.google.com/search?hl=srrlz=1C1GGLS_srRS291RS303q=php+html+to+textbtnG=%D0%9F%D1%80%D0%B5%D1%82%D1%80%D0%B0%D0%B6%D0%B8lr=aq=foq= Regards, Saša Stamenković On Mon, Dec 14, 2009 at 4:19

Re: [fw-general] Why do i get a Circular Dependency Exception with these Zend_Application_Resources?

2009-12-14 Thread Ant Cunningham
Finally tracked it down. It was actually a completely different resource (my cache manager). Ant Cunningham wrote: I keep getting the following exception with a new resource Im making and i cant figure out why: PHP Fatal error: Uncaught exception 'Zend_Application_Bootstrap_Exception'

Re: [fw-general] Problem with zend tool

2009-12-14 Thread Ralph Schindler
Do you have multiple Zend frameworks in your include_path? That is not supported if so. This is a known issue in 1.8-1.9 ZF's for people who have unconventional stuff in their include_path, or multiple copies of ZF laying around. -ralph Jigal sanders wrote: On my ubuntu machine when i try

Re: [fw-general] The postdispatch event of all action will be executed twice after integrating smarty.

2009-12-14 Thread Ralph Schindler
I am not understanding what you asking. postDispatch() and preDispatch() are Zend_Controller lifecycle hooks. They can be found either at the plugin layer, or the action helper layer. The only direct coupling you can find for these concepts, and Zend_View, would be inside Zend_Layout- which

[fw-general] Kudos to Dolf on the Zend_Validate_Ip rewrite

2009-12-14 Thread James Carr
After checking that there was no pending bug report, I was on the verge of filing a bug report against Zend_Validate_Ip (v1.9.6); that it doesn't validate all valid IPv6 addresses properly. On a last second whim, I checked the svn version and lo-and-behold it has been completely rewritten

Re: [fw-general] Kudos to Dolf on the Zend_Validate_Ip rewrite (and Thomas)

2009-12-14 Thread James Carr
James Carr wrote: After checking that there was no pending bug report, I was on the verge of filing a bug report against Zend_Validate_Ip (v1.9.6); that it doesn't validate all valid IPv6 addresses properly. On a last second whim, I checked the svn version and lo-and-behold it has been

[fw-general] Zend Search Lucene Text Analyzer with ISO-8859-1

2009-12-14 Thread Timido
Hello, have a question for Zend Lucen Analyzer. I see the framework is shipped default with Text and Utf8 analyzers. The text actually tokenize with ASCII, whereas Utf8 does use UTF8 of course. Well, since I unfortunately have a host with Unicode support for PCRE disabled, Ii was wandering if

[fw-general] s

2009-12-14 Thread Valentin Golev
-- - Valentin Golev

Re: [fw-general] Zend_Amf and Flash - Error #2044 NetConnection.Call.BadVersion

2009-12-14 Thread Joel
holografix wrote: Hi I think there's a problem with the example in the manual. public function onComplete( e:Event ):void{ var params = Sent to Server; connection.call(World.hello, responder, params); } I add a trace in the beginning of this function but it never get

Re: [fw-general] There is no way to customize the validator messages?

2009-12-14 Thread Chou Ken
to whisher: Zend_Translate work fine, thank you :) 2009/11/16 whisher whis...@mp4.it: Hi. You can put your value using Zend_Translate for instance: $translate = new Zend_Translate('array', APPLICATION_PATH . '/configs/lang/'. $locale . '.php' , $lang); in my it_IT.php return array( /*