<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-16154</id>
	<title>Nabble - Zend Framework Community</title>
	<updated>2009-11-10T02:54:14Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Zend-Framework-Community-f16154.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend-Framework-Community-f16154.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26281529</id>
	<title>Re: pear channel error</title>
	<published>2009-11-10T02:54:14Z</published>
	<updated>2009-11-10T02:54:14Z</updated>
	<author>
		<name>tfk</name>
	</author>
	<content type="html">On Tue, Nov 10, 2009 at 11:44 AM, scs &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281529&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sascoms@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; I think this may not be the right place for a question about pear
&lt;br&gt;&amp;gt; channel &amp;quot;pear.zfcampus.org&amp;quot;
&lt;br&gt;&amp;gt; but could not find any other place for asking.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The problem is the error I get while installing zend fw via the pear
&lt;br&gt;&amp;gt; channel of &amp;quot;pear.zfcampus.org&amp;quot;
&lt;br&gt;&amp;gt; Here is the output:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; pear install zfcampus/zf
&lt;br&gt;&amp;gt; downloading ZF-1.9.5.tgz ...
&lt;br&gt;&amp;gt; Starting to download ZF-1.9.5.tgz (3,285,836 bytes)
&lt;br&gt;&amp;gt; .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done:
&lt;br&gt;&amp;gt; 3,285,836 bytes
&lt;br&gt;&amp;gt; ERROR: pear.zfcampus.org/ZF not installed
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any comment, or direction to a source about this issue?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; sc
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Ubuntu 9.10? =) There's a zlib issue... Unless you updated of course.
&lt;br&gt;&lt;br&gt;Otherwise, try running with:
&lt;br&gt;pear -vvvv install etc.
&lt;br&gt;&lt;br&gt;Till
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pear-channel-error-tp26281399p26281529.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281399</id>
	<title>pear channel error</title>
	<published>2009-11-10T02:44:01Z</published>
	<updated>2009-11-10T02:44:01Z</updated>
	<author>
		<name>scss</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;I think this may not be the right place for a question about pear
&lt;br&gt;channel &amp;quot;pear.zfcampus.org&amp;quot;
&lt;br&gt;but could not find any other place for asking.
&lt;br&gt;&lt;br&gt;The problem is the error I get while installing zend fw via the pear
&lt;br&gt;channel of &amp;quot;pear.zfcampus.org&amp;quot;
&lt;br&gt;Here is the output:
&lt;br&gt;&lt;br&gt;pear install zfcampus/zf
&lt;br&gt;downloading ZF-1.9.5.tgz ...
&lt;br&gt;Starting to download ZF-1.9.5.tgz (3,285,836 bytes)
&lt;br&gt;.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done:
&lt;br&gt;3,285,836 bytes
&lt;br&gt;ERROR: pear.zfcampus.org/ZF not installed
&lt;br&gt;&lt;br&gt;&lt;br&gt;Any comment, or direction to a source about this issue?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;sc
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/pear-channel-error-tp26281399p26281399.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26280548</id>
	<title>Re: Zend_Dojo_Form with required elements cannot be sent when invalid</title>
	<published>2009-11-10T01:28:01Z</published>
	<updated>2009-11-10T01:28:01Z</updated>
	<author>
		<name>Ralf Eggert</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;has no one any idea for this issue?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Ralf
&lt;br&gt;&lt;br&gt;Ralf Eggert schrieb am 28.10.2009 13:29:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I noticed a weird problem with Zend_Dojo_Form and would like to know if
&lt;br&gt;&amp;gt; others have similar problems.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have a Zend_Dojo_Form with a couple of elements. Some of them are set
&lt;br&gt;&amp;gt; to be required. When I want to send this form it does not work until all
&lt;br&gt;&amp;gt; the required fields are filled with data. The submit button just does
&lt;br&gt;&amp;gt; not work. I would at least expect that a message is presented to the
&lt;br&gt;&amp;gt; user that he needs to fill out the required elements or otherwise the
&lt;br&gt;&amp;gt; form cannot be sent.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; How can I add this message to the form?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Or is it possible to deactivate the dojo client-side validation for some
&lt;br&gt;&amp;gt; of the elements?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for your kind help.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ralf Eggert
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ralf Eggert
&lt;br&gt;Geschäftsführer
&lt;br&gt;&lt;br&gt;Travello GmbH
&lt;br&gt;An der Eiche 15
&lt;br&gt;25421 Pinneberg
&lt;br&gt;&lt;br&gt;Geschäftsführer: Ralf Eggert
&lt;br&gt;Amtsgericht Pinneberg HRB 6112 PI
&lt;br&gt;&lt;br&gt;Tel: 04101/8529401
&lt;br&gt;Fax: 04101/8529402
&lt;br&gt;E-Mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26280548&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;info@...&lt;/a&gt;
&lt;br&gt;Web: &lt;a href=&quot;http://www.travello.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.travello.de&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Dojo_Form-with-required-elements-cannot-be-sent-when-invalid-tp26093783p26280548.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26280337</id>
	<title>Add class to a multi option in Zend_Dojo_Form_Element_FilteringSelect</title>
	<published>2009-11-10T01:12:02Z</published>
	<updated>2009-11-10T01:12:02Z</updated>
	<author>
		<name>Ralf Eggert</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I would like to set a css class for some of the options in a Dojo
&lt;br&gt;FilteringSelect form element. Is this possible with Zend_Dojo? And if
&lt;br&gt;not, is it somehow possible with Dojo FilteringSelect at all?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Ralf
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Add-class-to-a-multi-option-in-Zend_Dojo_Form_Element_FilteringSelect-tp26280337p26280337.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26280290</id>
	<title>Re: Incredible memory usage on public server, normal on dev server</title>
	<published>2009-11-10T01:08:18Z</published>
	<updated>2009-11-10T01:08:18Z</updated>
	<author>
		<name>drm-4</name>
	</author>
	<content type="html">Did you ever find out what was going on?
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Incredible-memory-usage-on-public-server%2C-normal-on-dev-server-tp26215767p26280290.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26280261</id>
	<title>Re: Zend_Controller_Router_Route_Hostname - getParams('id') not working</title>
	<published>2009-11-10T01:06:09Z</published>
	<updated>2009-11-10T01:06:09Z</updated>
	<author>
		<name>drm-4</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;jmazzi wrote:
&lt;br&gt;&amp;gt; routes.survey.type = Zend_Controller_Router_Route_Hostname
&lt;br&gt;&amp;gt; routes.survey.route = survey.mysite.com
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; survey.mysite.com/id/1
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;I'd say you need to chain the hostname route to a regular route
&lt;br&gt;containing '*' which will map remainder parts to key/value parameters...
&lt;br&gt;I'm not 100% sure though.
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;&lt;br&gt;drm / Gerard
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Controller_Router_Route_Hostname---getParams%28%27id%27%29-not-working-tp26272188p26280261.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26278229</id>
	<title>Re: What is the Session object member in Zend_Auth_Storage_Session?</title>
	<published>2009-11-09T20:45:36Z</published>
	<updated>2009-11-09T20:45:36Z</updated>
	<author>
		<name>ronnystalker</name>
	</author>
	<content type="html">yes. very helpful thanks.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;ronnystalker wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi
&lt;br&gt;I am just looking into the code of Zend_Auth_Storage_Session for ideas on how i can extend it to customise my own class. 
&lt;br&gt;&lt;br&gt;I see there is a property called $_member : 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Session object member
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* @var mixed
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; protected $_member;
&lt;br&gt;&lt;br&gt;The Doc description is a little bit vague.
&lt;br&gt;&lt;br&gt;Is this referring to a member in the sense of a 'user' who is a member of the site?
&lt;br&gt;OR
&lt;br&gt;Is this referring to a member in the sense of the class member/property name of the variable that holds the session object?
&lt;br&gt;&lt;br&gt;I will probably discover the answer soon enough through more research. 
&lt;br&gt;&lt;br&gt;However, it might be nice to explicitly have the answer to this question available 'on the web' somewhere to make code analysis quicker for those who are following my path.
&lt;br&gt;&lt;br&gt;Any way - i hope to reply to this when i find out more about this.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Auth-f16181.html&quot; embed=&quot;fixTarget[16181]&quot; target=&quot;_top&quot; &gt;Zend Auth&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What-is-the-Session-object-member-in-Zend_Auth_Storage_Session--tp26243400p26278229.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26275101</id>
	<title>1.8.3 Warning: include(Zend\Gdata\Media\Extension\MediaFileSource.php)</title>
	<published>2009-11-09T14:43:50Z</published>
	<updated>2009-11-09T14:43:50Z</updated>
	<author>
		<name>whisher</name>
	</author>
	<content type="html">&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I'm working on a project
with zf 1.8.3 and I get the error
in the subject (the script works with 1.9.*)&lt;/p&gt;
&lt;p&gt;I should upload a file the code is quite the same&lt;/p&gt;
&lt;pre&gt;
protected function _getFileSource(){
        $ext= ltrim(strtolower(strrchr($this-&gt;fileToUpload,'.')),'.');
        if($ext !== 'flv'){
           throw new Exception('Invalid extension'); 
        }
        $filesource = $this-&gt;yt-&gt;newMediaFileSource($this-&gt;fileToUpload);
        $filesource-&gt;setContentType('video/x-flv');
        $filesource-&gt;setSlug($this-&gt;fileToUpload);
        return $filesource;
    }
  
    protected function _uploadFile(){
        $myVideoEntry = new Zend_Gdata_YouTube_VideoEntry();
        /* ERROR */
        $myVideoEntry-&gt;setMediaSource($this-&gt;_getFileSource());
    }

&lt;p&gt;Both Zend_Gdata_YouTube and Zend_Gdata_ClientLogin works&lt;/p&gt;
&lt;p&gt;What's the 1.8.3 way ?&lt;/p&gt;

Thanks in advance.
Bye

 &lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-gdata-f16698.html&quot; embed=&quot;fixTarget[16698]&quot; target=&quot;_top&quot; &gt;Zend gdata&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/1.8.3-Warning%3A-include%28Zend%5CGdata%5CMedia%5CExtension%5CMediaFileSource.php%29-tp26275101p26275101.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26274618</id>
	<title>Re: Allowing .NET web service consumption, WSDL,  encoding styles, etc.</title>
	<published>2009-11-09T14:08:49Z</published>
	<updated>2009-11-09T14:08:49Z</updated>
	<author>
		<name>Richard Quadling</name>
	</author>
	<content type="html">2009/11/9 FredW &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26274618&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;woolardfa@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; While you can construct the WSDL from scratch, I'd suggest using a tool like
&lt;br&gt;&amp;gt; one found in Zend Studio for Eclipse. I've used it to (easily) generate WSDL
&lt;br&gt;&amp;gt; for a SOAP service, and then used it to add a web reference in Visual
&lt;br&gt;&amp;gt; Studio.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; RQuadling wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm creating web services using Zend_Soap_Server. I'm at the point where I
&lt;br&gt;&amp;gt;&amp;gt; need to test the services. With that, I'm constructing the WSDL file.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've read about some of the differences between Microsoft's .NET
&lt;br&gt;&amp;gt;&amp;gt; requirements and others (I'm a newbie - this may be FUD - looking for
&lt;br&gt;&amp;gt;&amp;gt; advice).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Assuming there are some differences, how do I create a WSDL file which
&lt;br&gt;&amp;gt;&amp;gt; will allow everyone to talk to my services (by everyone, I mean all the
&lt;br&gt;&amp;gt;&amp;gt; ways people can talk to me).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I wish I knew more about this. Is there a sensible start point for me to
&lt;br&gt;&amp;gt;&amp;gt; read about this issue?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In the main, I've found articles which are solely PHP orientated _OR_ .NET
&lt;br&gt;&amp;gt;&amp;gt; orientated.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Also, WSDL v2? Is that a concern?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any help would be appreciated.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Richard Quadling.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/Allowing-.NET-web-service-consumption%2C-WSDL%2C-encoding-styles%2C-etc.-tp26265426p26271643.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Allowing-.NET-web-service-consumption%2C-WSDL%2C-encoding-styles%2C-etc.-tp26265426p26271643.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Zend Web Services mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;I don't have Zend Studio. I do have Zend Framework and intended to use
&lt;br&gt;the WSDL auto discovery mechanism.
&lt;br&gt;&lt;br&gt;With all the ports/encodings/etc. options ... I'm hoping the framework
&lt;br&gt;knows its stuff and can build a working WSDL for all the consumers.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;-----
&lt;br&gt;Richard Quadling
&lt;br&gt;&amp;quot;Standing on the shoulders of some very clever giants!&amp;quot;
&lt;br&gt;EE : &lt;a href=&quot;http://www.experts-exchange.com/M_248814.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.experts-exchange.com/M_248814.html&lt;/a&gt;&lt;br&gt;Zend Certified Engineer : &lt;a href=&quot;http://zend.com/zce.php?c=ZEND002498&amp;r=213474731&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zend.com/zce.php?c=ZEND002498&amp;r=213474731&lt;/a&gt;&lt;br&gt;ZOPA : &lt;a href=&quot;http://uk.zopa.com/member/RQuadling&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://uk.zopa.com/member/RQuadling&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Web-Services-f16197.html&quot; embed=&quot;fixTarget[16197]&quot; target=&quot;_top&quot; &gt;Zend Web Services&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Allowing-.NET-web-service-consumption%2C-WSDL%2C-encoding-styles%2C-etc.-tp26265426p26274618.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26273981</id>
	<title>Doctrine backend scaffolding in Zend Framework</title>
	<published>2009-11-09T13:25:57Z</published>
	<updated>2009-11-09T13:25:57Z</updated>
	<author>
		<name>drm-4</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;&lt;br&gt;I am considering building an open source toolkit to easily generate back 
&lt;br&gt;ends for Doctrine (for now version 1), based on Zend Framework. I think 
&lt;br&gt;this is something that is missing still, but I am not really sure it is 
&lt;br&gt;really something people would welcome.
&lt;br&gt;&lt;br&gt;Some basic features would be generating lists and forms for any given 
&lt;br&gt;model. One design goal is that it easily portable to other frameworks 
&lt;br&gt;and data mapper paradigms, and that it chooses programmability over 
&lt;br&gt;configurability; meaning it would provide sensible entry points for your 
&lt;br&gt;own classes at any given level.
&lt;br&gt;&lt;br&gt;I have started writing some code and documenting some things already, as 
&lt;br&gt;I was fortunate to get some time from my employer to do this, but it 
&lt;br&gt;wouldn't be sensible to continue this before knowing there are people 
&lt;br&gt;out there feeling this would bring something good to the community :-)
&lt;br&gt;&lt;br&gt;Please feel free to share your opinion, I am all ears.
&lt;br&gt;&lt;br&gt;&lt;br&gt;drm / Gerard
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Doctrine-backend-scaffolding-in-Zend-Framework-tp26273981p26273981.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26273976</id>
	<title>Zend_Service_Salesforce ready for review</title>
	<published>2009-11-09T13:25:21Z</published>
	<updated>2009-11-09T13:25:21Z</updated>
	<author>
		<name>hunterjensen</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.5730.13&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=299170921-09112009&gt;Our 
Zend_Service_Salesforce proposal is ready for review. I would appreciate any and 
all feedback. The proposal can be found here - &lt;A title=http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_Salesforce+-+Barefoot+Solutions href=&quot;http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_Salesforce+-+Barefoot+Solutions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_Salesforce+-+Barefoot+Solutions&lt;/A&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=299170921-09112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=299170921-09112009&gt;This is a client for 
the Force.com Web Service API provided by Salesforce.com. Salesforce.com 
is&amp;nbsp; Customer Relationship Management (CRM) SAAS&lt;SPAN class=252372421-09112009&gt; &lt;/SPAN&gt;based in the United States. We have written the 
component and are working on the unit tests right now.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=299170921-09112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=299170921-09112009&gt;Thanks,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=299170921-09112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=299170921-09112009&gt;Hunter&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=299170921-09112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=299170921-09112009&gt;
&lt;DIV align=left&gt;&lt;FONT face=Arial size=2&gt;-----------------------&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=left&gt;&lt;FONT face=Arial size=2&gt;Hunter Jensen&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=left&gt;&lt;FONT face=Arial size=2&gt;Barefoot Solutions&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=left&gt;&lt;FONT face=Arial size=2&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273976&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hunter@...&lt;/a&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=left&gt;&lt;FONT face=Arial size=2&gt;858.442.0734&lt;/FONT&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Web-Services-f16197.html&quot; embed=&quot;fixTarget[16197]&quot; target=&quot;_top&quot; &gt;Zend Web Services&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Service_Salesforce-ready-for-review-tp26273976p26273976.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26273939</id>
	<title>Zend_Service_Salesforce ready for review</title>
	<published>2009-11-09T13:22:25Z</published>
	<updated>2009-11-09T13:22:25Z</updated>
	<author>
		<name>hunterjensen</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.5730.13&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=456321921-09112009&gt;The 
Zend_Service_Salesforce proposal I have created is ready for review. Any and all 
feedback would be appreciated. The proposal can be found here - &lt;A href=&quot;http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_Salesforce+-+Barefoot+Solutions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://framework.zend.com/wiki/display/ZFPROP/Zend_Service_Salesforce+-+Barefoot+Solutions&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=456321921-09112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=456321921-09112009&gt;The proposed 
component will serve as a client for utilizing the Force.com Web Service API 
provided by Salesforce.com. Salesforce.com is a SAAS Customer Relationship 
Management (CRM) software company based in the United States. The code for this 
component has been written and the documentation is available at the bottom of 
the proposal. Unit tests are in progress.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=456321921-09112009&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN class=456321921-09112009&gt;Thanks,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;FONT&gt;&lt;SPAN class=456321921-09112009&gt;
&lt;DIV&gt;&lt;BR&gt;&lt;SPAN class=456321921-09112009&gt;&lt;FONT face=Arial size=2&gt;Hunter&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=456321921-09112009&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class=456321921-09112009&gt;
&lt;DIV align=left&gt;&lt;FONT face=Arial size=2&gt;-----------------------&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=left&gt;&lt;FONT face=Arial size=2&gt;Hunter Jensen&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=left&gt;&lt;FONT face=Arial size=2&gt;Barefoot Solutions&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=left&gt;&lt;FONT face=Arial size=2&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273939&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hunter@...&lt;/a&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV align=left&gt;&lt;FONT face=Arial size=2&gt;858.442.0734&lt;/FONT&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Service_Salesforce-ready-for-review-tp26273939p26273939.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26272188</id>
	<title>Zend_Controller_Router_Route_Hostname - getParams('id') not working</title>
	<published>2009-11-09T11:24:45Z</published>
	<updated>2009-11-09T11:24:45Z</updated>
	<author>
		<name>jmazzi</name>
	</author>
	<content type="html">routes.survey.type = Zend_Controller_Router_Route_Hostname
&lt;br&gt;routes.survey.route = survey.mysite.com
&lt;br&gt;routes.survey.defaults.module = public
&lt;br&gt;routes.survey.defaults.controller = survey
&lt;br&gt;routes.survey.defaults.action = index
&lt;br&gt;&lt;br&gt;&amp;lt;?php
&lt;br&gt;&lt;br&gt;$router = $frontController-&amp;gt;getRouter();
&lt;br&gt;$router-&amp;gt;addConfig($configuration, 'routes');
&lt;br&gt;&lt;br&gt;&lt;br&gt;?&amp;gt;
&lt;br&gt;&lt;br&gt;survey.mysite.com/id/1
&lt;br&gt;&lt;br&gt;Id is blank, but if I access
&lt;br&gt;&lt;br&gt;survey.mysite.com/?id=1
&lt;br&gt;&lt;br&gt;That works just fine.
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Controller_Router_Route_Hostname---getParams%28%27id%27%29-not-working-tp26272188p26272188.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26271643</id>
	<title>Re: Allowing .NET web service consumption, WSDL, encoding styles, etc.</title>
	<published>2009-11-09T10:50:18Z</published>
	<updated>2009-11-09T10:50:18Z</updated>
	<author>
		<name>FredW</name>
	</author>
	<content type="html">While you can construct the WSDL from scratch, I'd suggest using a tool like one found in Zend Studio for Eclipse. I've used it to (easily) generate WSDL for a SOAP service, and then used it to add a web reference in Visual Studio.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;RQuadling wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi.
&lt;br&gt;&lt;br&gt;I'm creating web services using Zend_Soap_Server. I'm at the point where I need to test the services. With that, I'm constructing the WSDL file.
&lt;br&gt;&lt;br&gt;I've read about some of the differences between Microsoft's .NET requirements and others (I'm a newbie - this may be FUD - looking for advice).
&lt;br&gt;&lt;br&gt;Assuming there are some differences, how do I create a WSDL file which will allow everyone to talk to my services (by everyone, I mean all the ways people can talk to me).
&lt;br&gt;&lt;br&gt;I wish I knew more about this. Is there a sensible start point for me to read about this issue?
&lt;br&gt;&lt;br&gt;In the main, I've found articles which are solely PHP orientated _OR_ .NET orientated.
&lt;br&gt;&lt;br&gt;Also, WSDL v2? Is that a concern?
&lt;br&gt;&lt;br&gt;Any help would be appreciated.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Richard Quadling.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Web-Services-f16197.html&quot; embed=&quot;fixTarget[16197]&quot; target=&quot;_top&quot; &gt;Zend Web Services&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Allowing-.NET-web-service-consumption%2C-WSDL%2C-encoding-styles%2C-etc.-tp26265426p26271643.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26270330</id>
	<title>Re: Allowing .NET web service consumption, WSDL,  encoding styles, etc.</title>
	<published>2009-11-09T09:28:46Z</published>
	<updated>2009-11-09T09:28:46Z</updated>
	<author>
		<name>Richard Quadling</name>
	</author>
	<content type="html">2009/11/9 James Dempster &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26270330&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;letssurf@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I would LOVE to know all the same information. I've had no end of troubles
&lt;br&gt;&amp;gt; getting PHP WSDL stuff working with .NET
&lt;br&gt;&amp;gt; In the end I dropped it and used REST based. But that's not really the best
&lt;br&gt;&amp;gt; approach when clients what SOAP and WSDL's
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; /James
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Nov 9, 2009 at 12:12 PM, RQuadling &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26270330&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;RQuadling@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm creating web services using Zend_Soap_Server. I'm at the point where I
&lt;br&gt;&amp;gt;&amp;gt; need to test the services. With that, I'm constructing the WSDL file.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've read about some of the differences between Microsoft's .NET
&lt;br&gt;&amp;gt;&amp;gt; requirements and others (I'm a newbie - this may be FUD - looking for
&lt;br&gt;&amp;gt;&amp;gt; advice).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Assuming there are some differences, how do I create a WSDL file which
&lt;br&gt;&amp;gt;&amp;gt; will
&lt;br&gt;&amp;gt;&amp;gt; allow everyone to talk to my services (by everyone, I mean all the ways
&lt;br&gt;&amp;gt;&amp;gt; people can talk to me).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I wish I knew more about this. Is there a sensible start point for me to
&lt;br&gt;&amp;gt;&amp;gt; read about this issue?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In the main, I've found articles which are solely PHP orientated _OR_ .NET
&lt;br&gt;&amp;gt;&amp;gt; orientated.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Also, WSDL v2? Is that a concern?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Any help would be appreciated.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Richard Quadling.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/Allowing-.NET-web-service-consumption%2C-WSDL%2C-encoding-styles%2C-etc.-tp26265426p26265426.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Allowing-.NET-web-service-consumption%2C-WSDL%2C-encoding-styles%2C-etc.-tp26265426p26265426.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; Sent from the Zend Web Services mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;The issue is that I'm not a .NET person (assuming that's where the
&lt;br&gt;issue lies). I don't know SOAP very well.
&lt;br&gt;&lt;br&gt;So, I am really hoping the gurus on here can spend a few minutes
&lt;br&gt;trying to explain what the issues are and letting us know if they are
&lt;br&gt;surmountable.
&lt;br&gt;&lt;br&gt;I'm assuming the BIG players in this market don't have the problems,
&lt;br&gt;so what is the solutions?
&lt;br&gt;&lt;br&gt;Pointers/idea/etc.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Richard.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;-----
&lt;br&gt;Richard Quadling
&lt;br&gt;&amp;quot;Standing on the shoulders of some very clever giants!&amp;quot;
&lt;br&gt;EE : &lt;a href=&quot;http://www.experts-exchange.com/M_248814.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.experts-exchange.com/M_248814.html&lt;/a&gt;&lt;br&gt;Zend Certified Engineer : &lt;a href=&quot;http://zend.com/zce.php?c=ZEND002498&amp;r=213474731&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zend.com/zce.php?c=ZEND002498&amp;r=213474731&lt;/a&gt;&lt;br&gt;ZOPA : &lt;a href=&quot;http://uk.zopa.com/member/RQuadling&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://uk.zopa.com/member/RQuadling&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Web-Services-f16197.html&quot; embed=&quot;fixTarget[16197]&quot; target=&quot;_top&quot; &gt;Zend Web Services&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Allowing-.NET-web-service-consumption%2C-WSDL%2C-encoding-styles%2C-etc.-tp26265426p26270330.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26270041</id>
	<title>Re: Allowing .NET web service consumption, WSDL,  encoding styles, etc.</title>
	<published>2009-11-09T09:12:10Z</published>
	<updated>2009-11-09T09:12:10Z</updated>
	<author>
		<name>JDempster</name>
	</author>
	<content type="html">I would LOVE to know all the same information. I&amp;#39;ve had no end of troubles getting PHP WSDL stuff working with .NET&lt;br&gt;In the end I dropped it and used REST based. But that&amp;#39;s not really the best approach when clients what SOAP and WSDL&amp;#39;s&lt;br&gt;
&lt;br&gt;Thanks,&lt;br&gt;/James&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 9, 2009 at 12:12 PM, RQuadling &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26270041&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;RQuadling@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;&quot;&gt;
&lt;br&gt;
Hi.&lt;br&gt;
&lt;br&gt;
I&amp;#39;m creating web services using Zend_Soap_Server. I&amp;#39;m at the point where I&lt;br&gt;
need to test the services. With that, I&amp;#39;m constructing the WSDL file.&lt;br&gt;
&lt;br&gt;
I&amp;#39;ve read about some of the differences between Microsoft&amp;#39;s .NET&lt;br&gt;
requirements and others (I&amp;#39;m a newbie - this may be FUD - looking for&lt;br&gt;
advice).&lt;br&gt;
&lt;br&gt;
Assuming there are some differences, how do I create a WSDL file which will&lt;br&gt;
allow everyone to talk to my services (by everyone, I mean all the ways&lt;br&gt;
people can talk to me).&lt;br&gt;
&lt;br&gt;
I wish I knew more about this. Is there a sensible start point for me to&lt;br&gt;
read about this issue?&lt;br&gt;
&lt;br&gt;
In the main, I&amp;#39;ve found articles which are solely PHP orientated _OR_ .NET&lt;br&gt;
orientated.&lt;br&gt;
&lt;br&gt;
Also, WSDL v2? Is that a concern?&lt;br&gt;
&lt;br&gt;
Any help would be appreciated.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Richard Quadling.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
View this message in context: &lt;a href=&quot;http://old.nabble.com/Allowing-.NET-web-service-consumption%2C-WSDL%2C-encoding-styles%2C-etc.-tp26265426p26265426.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Allowing-.NET-web-service-consumption%2C-WSDL%2C-encoding-styles%2C-etc.-tp26265426p26265426.html&lt;/a&gt;&lt;br&gt;

Sent from the Zend Web Services mailing list archive at Nabble.com.&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Web-Services-f16197.html&quot; embed=&quot;fixTarget[16197]&quot; target=&quot;_top&quot; &gt;Zend Web Services&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Allowing-.NET-web-service-consumption%2C-WSDL%2C-encoding-styles%2C-etc.-tp26265426p26270041.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26269246</id>
	<title>Setting custom dispatcher in bootstrap</title>
	<published>2009-11-09T08:25:56Z</published>
	<updated>2009-11-09T08:25:56Z</updated>
	<author>
		<name>Avi Block</name>
	</author>
	<content type="html">Is there a way to set a custom Dispatcher in the bootstrap? Since it&amp;#39;s an object you need to pass, obviously there&amp;#39;s no way to pass it in application.ini (or at least not that I know of). If I try $this-&amp;gt;getResource(&amp;#39;FrontController&amp;#39;), it looks like some initialization has already been done, because I get errors that it can&amp;#39;t find the controller directory. The only way that seems to work is by cheating and calling the getInstance() method.
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-MVC-f16155.html&quot; embed=&quot;fixTarget[16155]&quot; target=&quot;_top&quot; &gt;Zend MVC&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Setting-custom-dispatcher-in-bootstrap-tp26269246p26269246.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26268936</id>
	<title>Zend Search Lucene and dynamic facet counts</title>
	<published>2009-11-09T07:29:44Z</published>
	<updated>2009-11-09T07:29:44Z</updated>
	<author>
		<name>James Grimster</name>
	</author>
	<content type="html">Hello
&lt;br&gt;&lt;br&gt;We're trying to implement 'facet counting' on top of
&lt;br&gt;Zend_Search_Lucene - wondering if anyone else has tried? We're aiming
&lt;br&gt;for a facets response similar to Solr's but using only
&lt;br&gt;Zend_Search_Lucene.
&lt;br&gt;&lt;br&gt;Challenges:
&lt;br&gt;We've 100,000s of documents, all unstored fields except database id
&lt;br&gt;(to reduce index size), but we've found in our array of
&lt;br&gt;Zend_Search_Lucene_Search_QueryHit only stored fields can be obtained
&lt;br&gt;from the document.
&lt;br&gt;We've about 8 different field types - but even if we store (go from
&lt;br&gt;unStored to text), to produce a facet view (terms list, with count N,
&lt;br&gt;of FieldType X in result set) we would have to traverse the entire
&lt;br&gt;result set, even if we are only presenting say 15 hits per 'page'.
&lt;br&gt;&lt;br&gt;What we want is to somehow create an array merge of a dynamically
&lt;br&gt;created Terms Frequency for the entire result set against the
&lt;br&gt;dictionary to get the actual (unstored values).  But I don't think
&lt;br&gt;that there is any reference to unstored fields, nor any direct access
&lt;br&gt;to dictionary / segments &amp;nbsp;at the moment at which an array of hits is
&lt;br&gt;produced from
&lt;br&gt;&lt;br&gt;$index = Zend_Search_Lucene::open('/data/my_index');
&lt;br&gt;$hits = $index-&amp;gt;find($query);
&lt;br&gt;&lt;br&gt;or am I missing something?
&lt;br&gt;&lt;br&gt;kindest regards
&lt;br&gt;&lt;br&gt;James
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend-Search-Lucene-and-dynamic-facet-counts-tp26268936p26268936.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26267562</id>
	<title>Re: How to:  Zend Dojo Form Dependent Selects (e.g. Country/City)</title>
	<published>2009-11-09T06:59:48Z</published>
	<updated>2009-11-09T06:59:48Z</updated>
	<author>
		<name>zig2na</name>
	</author>
	<content type="html">Thanks for your quick responds. I am able to list items using the 'Zend_Dojo_Form_Element_FilteringSelect' fields with 'autoCompleteDojo' which outputs json in my controller action. What I need now is to understand the following line of code so that I can supply the correct URL for the filtering to work:
&lt;br&gt;&lt;br&gt;-&amp;gt;setAttrib('onchange', 'dijit.byId(&amp;quot;cityId&amp;quot;).store = new dojo.data.ItemFileReadStore({ url: &amp;quot;/data/lookup/table/city/filterName/countryId/filterValue/&amp;quot; + dijit.byId(&amp;quot;countryId&amp;quot;).value });'); 
&lt;br&gt;&lt;br&gt;The normal URL I use to output the list is: &amp;quot;index/sites&amp;quot; in the second field and &amp;quot;index/region&amp;quot; in the first field.
&lt;br&gt;&lt;br&gt;Thanks alot &amp;nbsp;for your help.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;denormalized wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;zig2na wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Im using Zend_Dojo_Data and in a controller for my datasource but it still can't filter, Im sure having issues with the onchange 'dojo.data.ItemFileReadStore ' url. Is possible to break the onchange url down me, that only seems to be the problem now. Thanks
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
The onChange url needs to send back a Json-encoded response- basically an array of rows containing name-value pairs passed to Zend_Json_Encoder.
&lt;br&gt;&lt;br&gt;In my &amp;quot;data&amp;quot; controller I have a generic &amp;quot;lookup&amp;quot; action. &amp;nbsp;All you need is a model that can return rows of city names and id's.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public function lookupAction()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $tableName = $this-&amp;gt;_request-&amp;gt;getParam('table');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $filterName = $this-&amp;gt;_request-&amp;gt;getParam('filterName');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $filterValue = $this-&amp;gt;_request-&amp;gt;getParam('filterValue');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (empty($tableName))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;// TODO: &amp;nbsp;Should be generic for all lookup tables
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ('city' === $tableName) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $_model = new NAME_OF_YOUR_CITY_MODEL();
&lt;br&gt;// getLookup just returns the rows that match the filter, in this case a countryId
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $data = $_model-&amp;gt;getLookup($filterName, $filterValue);		
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (null !== $data) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $items = array();
&lt;br&gt;&amp;nbsp; &amp;nbsp;			 &amp;nbsp; &amp;nbsp;foreach ($data as $row) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 		$items[] = array('label' =&amp;gt; $row-&amp;gt;name, 'name' =&amp;gt; $row-&amp;gt;name, 'key' =&amp;gt; $row-&amp;gt;cityId);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;		}
&lt;br&gt;&amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp;	$final = array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp;	'identifier' =&amp;gt; 'key',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 		'items' =&amp;gt; $items,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	);
&lt;br&gt;&amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp;	echo Zend_Json_Encoder::encode($final);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to%3A--Zend-Dojo-Form-Dependent-Selects-%28e.g.-Country-City%29-tp25269984p26267562.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26267499</id>
	<title>Re: Zend_Acl , Ownership - request scope or injection in domain objects</title>
	<published>2009-11-09T06:38:42Z</published>
	<updated>2009-11-09T06:38:42Z</updated>
	<author>
		<name>Ralph Schindler-2</name>
	</author>
	<content type="html">vd,
&lt;br&gt;&lt;br&gt;I am not sure what you are basing this on. &amp;nbsp;Out of the box, Zend_Acl 
&lt;br&gt;does not dictate how you use ACL: with a static definition, or even with 
&lt;br&gt;a dynamic definition one might read out of a database.
&lt;br&gt;&lt;br&gt;In general, Zend_Acl is probably one of the lightest components because 
&lt;br&gt;it no coupling with other components and only effectively has 2 jobs:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;a) to give you the proper interfaces to identify which objects are 
&lt;br&gt;roles and resoures, and
&lt;br&gt;&amp;nbsp; &amp;nbsp;b) to give you a minimal set of functionality to be able to determine 
&lt;br&gt;if according to the rules it were given, does some role have access to 
&lt;br&gt;some resource.
&lt;br&gt;&lt;br&gt;If you are finding that Zend_Acl is too slow, chances are it's not the 
&lt;br&gt;actual component, rather the implementation that is suspect number one.
&lt;br&gt;&lt;br&gt;-ralph
&lt;br&gt;&lt;br&gt;&amp;gt; reading from the disk. I dont think using ACL for high traffic site is a 
&lt;br&gt;&amp;gt; good option. Looking at ZF's slow performance using ACL will act as 
&lt;br&gt;&amp;gt; icing on cake. Correct me if I am wrong and this reply is not to prove 
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Auth-f16181.html&quot; embed=&quot;fixTarget[16181]&quot; target=&quot;_top&quot; &gt;Zend Auth&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Acl-%2C-Ownership---request-scope-or-injection-in-domain-objects-tp26133244p26267499.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26267373</id>
	<title>Re: What is the Session object member in Zend_Auth_Storage_Session?</title>
	<published>2009-11-09T06:30:57Z</published>
	<updated>2009-11-09T06:30:57Z</updated>
	<author>
		<name>Ralph Schindler-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;$_member is the actual variable name that will be stored inside the 
&lt;br&gt;Zend_Session_Namespace object.
&lt;br&gt;&lt;br&gt;Think of it like this, if the namespace is called by 'Zend_Auth', the 
&lt;br&gt;default, and the member is called by 'storage', by default; it would 
&lt;br&gt;effectively map to this in memory:
&lt;br&gt;&lt;br&gt;$_SESSION['Zend_Auth']['storage'] = $valueOfIdentityHere;
&lt;br&gt;&lt;br&gt;Hope this helps,
&lt;br&gt;Ralph
&lt;br&gt;&lt;br&gt;ronnystalker wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi
&lt;br&gt;&amp;gt; I am just looking into the code of Zend_Auth_Storage_Session for ideas on
&lt;br&gt;&amp;gt; how i can extend it to customise my own class. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I see there is a property called $_member : 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;* Session object member
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;*
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;* @var mixed
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; protected $_member;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The Doc description is a little bit vague.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is this referring to a member in the sense of a 'user' who is a member of
&lt;br&gt;&amp;gt; the site?
&lt;br&gt;&amp;gt; OR
&lt;br&gt;&amp;gt; Is this referring to a member in the sense of the class member/property name
&lt;br&gt;&amp;gt; of the variable that holds the session object?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I will probably discover the answer soon enough through more research. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; However, it might be nice to explicitly have the answer to this question
&lt;br&gt;&amp;gt; available 'on the web' somewhere to make code analysis quicker for those who
&lt;br&gt;&amp;gt; are following my path.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any way - i hope to reply to this when i find out more about this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Auth-f16181.html&quot; embed=&quot;fixTarget[16181]&quot; target=&quot;_top&quot; &gt;Zend Auth&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What-is-the-Session-object-member-in-Zend_Auth_Storage_Session--tp26243400p26267373.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26267339</id>
	<title>Re: Incredible memory usage on public server, normal on dev server</title>
	<published>2009-11-09T06:28:27Z</published>
	<updated>2009-11-09T06:28:27Z</updated>
	<author>
		<name>Ralph Schindler-2</name>
	</author>
	<content type="html">I would inspect whats going on inside that user loop. &amp;nbsp;It seems like 
&lt;br&gt;perhaps in that loop either some objects are growing, or memory is being 
&lt;br&gt;lost somehow, OR your database result set when iterating is actually 
&lt;br&gt;larger than 500M.
&lt;br&gt;&lt;br&gt;Are you using Zend_Db_Table for this? &amp;nbsp;Are the rows being stored in a 
&lt;br&gt;container or rowset or something?
&lt;br&gt;&lt;br&gt;I would try putting memory_get_usage() and set a conditional breakpoint 
&lt;br&gt;inside your loop on that, just to see if your memory is growing 
&lt;br&gt;consistently per iteration. &amp;nbsp;Ideally, you can keep memory growth inside 
&lt;br&gt;this loop to a minimal number by cleaning up at the end of each iteration.
&lt;br&gt;&lt;br&gt;-ralph
&lt;br&gt;&lt;br&gt;Fabio Napoleoni wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Il giorno 06/nov/2009, alle ore 22.59, Kevin McArthur ha scritto:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Ralph, normally you'd be right, but since that allocation is 500 megs 
&lt;br&gt;&amp;gt;&amp;gt; in one-shot. It should be near the code that is the problem. Would 
&lt;br&gt;&amp;gt;&amp;gt; have to see what he's doing but im guessing a massive attachment?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If it was a pecked-to-death-by-ducks thing, you'd see a message saying 
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to
&lt;br&gt;&amp;gt;&amp;gt; allocate 16 bytes) in Unknown on line 0&amp;quot; or something similar, with a 
&lt;br&gt;&amp;gt;&amp;gt; low byte count.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Looking at the file at line ~284 it appears thats where the email 
&lt;br&gt;&amp;gt;&amp;gt; finally gets sent, and logged. To debug, check the size of $request at 
&lt;br&gt;&amp;gt;&amp;gt; that point. If its huge, you have your error.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For the records, I run my script with a debugger and I set a conditional 
&lt;br&gt;&amp;gt; breakpoint in the _send method with strlen($request) &amp;gt; 75 as condition 
&lt;br&gt;&amp;gt; and the script was never halted...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Fabio Napoleoni
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26267339&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;f.napoleoni@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;Computer Science is no more about computers than astronomy is
&lt;br&gt;&amp;gt; about telescopes&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Edsger W. Dijkstra
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Incredible-memory-usage-on-public-server%2C-normal-on-dev-server-tp26215767p26267339.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26267204</id>
	<title>Re: How to:  Zend Dojo Form Dependent Selects (e.g. Country/City)</title>
	<published>2009-11-09T06:21:05Z</published>
	<updated>2009-11-09T06:21:05Z</updated>
	<author>
		<name>denormalized</name>
	</author>
	<content type="html">&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;zig2na wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Im using Zend_Dojo_Data and in a controller for my datasource but it still can't filter, Im sure having issues with the onchange 'dojo.data.ItemFileReadStore ' url. Is possible to break the onchange url down me, that only seems to be the problem now. Thanks
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
The onChange url needs to send back a Json-encoded response- basically an array of rows containing name-value pairs passed to Zend_Json_Encoder.
&lt;br&gt;&lt;br&gt;In my &amp;quot;data&amp;quot; controller I have a generic &amp;quot;lookup&amp;quot; action. &amp;nbsp;All you need is a model that can return rows of city names and id's.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public function lookupAction()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $tableName = $this-&amp;gt;_request-&amp;gt;getParam('table');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $filterName = $this-&amp;gt;_request-&amp;gt;getParam('filterName');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $filterValue = $this-&amp;gt;_request-&amp;gt;getParam('filterValue');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (empty($tableName))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;// TODO: &amp;nbsp;Should be generic for all lookup tables
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ('city' === $tableName) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $_model = new NAME_OF_YOUR_CITY_MODEL();
&lt;br&gt;// getLookup just returns the rows that match the filter, in this case a countryId
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $data = $_model-&amp;gt;getLookup($filterName, $filterValue);		
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (null !== $data) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $items = array();
&lt;br&gt;&amp;nbsp; &amp;nbsp;			 &amp;nbsp; &amp;nbsp;foreach ($data as $row) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 		$items[] = array('label' =&amp;gt; $row-&amp;gt;name, 'name' =&amp;gt; $row-&amp;gt;name, 'key' =&amp;gt; $row-&amp;gt;cityId);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;		}
&lt;br&gt;&amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp;	$final = array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp;	'identifier' =&amp;gt; 'key',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 		'items' =&amp;gt; $items,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	);
&lt;br&gt;&amp;nbsp; &amp;nbsp; 	 &amp;nbsp; &amp;nbsp;	echo Zend_Json_Encoder::encode($final);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to%3A--Zend-Dojo-Form-Dependent-Selects-%28e.g.-Country-City%29-tp25269984p26267204.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26266697</id>
	<title>Re: Problem with Zend_Form and a regex validator</title>
	<published>2009-11-09T05:49:15Z</published>
	<updated>2009-11-09T05:49:15Z</updated>
	<author>
		<name>Stefan Sturm-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;&amp;gt; perhaps the modifier /u will solve your problem:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://de3.php.net/manual/en/reference.pcre.pattern.modifiers.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://de3.php.net/manual/en/reference.pcre.pattern.modifiers.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;yes, this seems to work :-)
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Stefan Sturm
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-Zend_Form-and-a-regex-validator-tp26265566p26266697.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26266681</id>
	<title>Re: How to:  Zend Dojo Form Dependent Selects (e.g. Country/City)</title>
	<published>2009-11-09T05:48:46Z</published>
	<updated>2009-11-09T05:48:46Z</updated>
	<author>
		<name>zig2na</name>
	</author>
	<content type="html">Im using Zend_Dojo_Data and in a controller for my datasource but it still can't filter, Im sure having issues with the onchange 'dojo.data.ItemFileReadStore ' url. Is possible to break the onchange url down me, that only seems to be the problem now. Thanks
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;denormalized wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I've spent hours trying to figure out all the pieces to the puzzle of dependent selects. &amp;nbsp;Here's my solution, in part gathered form messages on the zend framework mailing list.
&lt;br&gt;&lt;br&gt;Typical problem: &amp;nbsp;A form with country and city selects. &amp;nbsp;Selecting a country should automatically populate the city select. &amp;nbsp;Pre-existing values for country and city should automatically be shown in the form.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Step 1. &amp;nbsp;Define a country data source. 
&lt;br&gt;&lt;br&gt;Country select will be based on data from a Zend_Db_Table_Abstract. &amp;nbsp;I've defined a generic &amp;quot;lookup table&amp;quot; resource which defines a getLookup method for returning name/value pairs:
&lt;br&gt;&lt;br&gt;&amp;nbsp; public function getLookup($filterName = null, $filterValue = null)
&lt;br&gt;&amp;nbsp; { &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; $select = $this-&amp;gt;select();
&lt;br&gt;&amp;nbsp; &amp;nbsp; if (null !== $filterName &amp;&amp; null !== $filterValue)
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $select-&amp;gt;where($filterName.' = '.$filterValue);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; $select-&amp;gt;order($this-&amp;gt;_order);
&lt;br&gt;&amp;nbsp; &amp;nbsp; return $this-&amp;gt;fetchAll($select);
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;So when you add your options in the form:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; $country = new Community_Resource_Country();
&lt;br&gt;&amp;nbsp; &amp;nbsp; $countrySelect = new Zend_Dojo_Form_Element_FilteringSelect('countryId');	 &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; foreach ($country-&amp;gt;getLookup() as $c) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $countrySelect-&amp;gt;addMultiOption($c-&amp;gt;countryId, $c-&amp;gt;name);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&lt;br&gt;Step 2. &amp;nbsp;Define a city data source which can be filtered by country ID.
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;You need a way to query and return JSON-formatted data sets. &amp;nbsp;Create a specialized controller or add an action to a controller that handles this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; public function lookupAction()
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; $filterName = $this-&amp;gt;_request-&amp;gt;getParam('filterName');
&lt;br&gt;&amp;nbsp; $filterValue = $this-&amp;gt;_request-&amp;gt;getParam('filterValue');
&lt;br&gt;&lt;br&gt;&amp;nbsp; // Again we're using a generic lookup table class
&lt;br&gt;&amp;nbsp; $_model = new Community_Resource_City();
&lt;br&gt;&amp;nbsp; $data = $_model-&amp;gt;getLookup($filterName, $filterValue);
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; if (null !== $data) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; $items = array();
&lt;br&gt;&amp;nbsp; &amp;nbsp; foreach ($data as $row) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; $items[] = array('label' =&amp;gt; $row-&amp;gt;name, 'name' =&amp;gt; $row-&amp;gt;name, 'key' =&amp;gt; $row-&amp;gt;cityId);
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; $final = array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; 'identifier' =&amp;gt; 'key',
&lt;br&gt;&amp;nbsp; &amp;nbsp; 'items' =&amp;gt; $items,
&lt;br&gt;&amp;nbsp; );
&lt;br&gt;&amp;nbsp; echo Zend_Json_Encoder::encode($final);
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;Because this controller or controller action doesn't need to return any fancy stuff (layout, css, etc.), we can disable the layout and view renderer:
&lt;br&gt;&lt;br&gt;&amp;nbsp; public function preDispatch()
&lt;br&gt;&amp;nbsp; { &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; // Disable for entire controller. &amp;nbsp;Otherwise, put these calls into your action function
&lt;br&gt;&amp;nbsp; &amp;nbsp; $this-&amp;gt;_helper-&amp;gt;layout()-&amp;gt;disableLayout();
&lt;br&gt;&amp;nbsp; &amp;nbsp; $this-&amp;gt;_helper-&amp;gt;viewRenderer-&amp;gt;setNoRender(true);
&lt;br&gt;&amp;nbsp; } &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Step 3. &amp;nbsp;Ensure your form is dojo-enabled.
&lt;br&gt;&lt;br&gt;class Myproject_Form_Member_Base extends SF_Form_Abstract
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; public function init()
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; // Dojo-enable the form:
&lt;br&gt;&amp;nbsp; &amp;nbsp; Zend_Dojo::enableForm($this);
&lt;br&gt;&lt;br&gt;&lt;br&gt;Step 4. &amp;nbsp;Configure your form elements to use the data sources:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; // Country select using a lookup resource
&lt;br&gt;&amp;nbsp; &amp;nbsp; $country = new Community_Resource_Country();
&lt;br&gt;&amp;nbsp; &amp;nbsp; $countrySelect = new Zend_Dojo_Form_Element_FilteringSelect('countryId'); &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; $countrySelect-&amp;gt;setLabel('Location')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;gt;setRequired(true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; $countrySelect-&amp;gt;addMultiOption('', '');
&lt;br&gt;&amp;nbsp; &amp;nbsp; foreach ($country-&amp;gt;getLookup() as $c) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $countrySelect-&amp;gt;addMultiOption($c-&amp;gt;countryId, $c-&amp;gt;name);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; // IMPORTANT: &amp;nbsp;Whenever the country is changed, the data store 
&lt;br&gt;&amp;nbsp; &amp;nbsp; // for the dependent city select should also change
&lt;br&gt;&amp;nbsp; &amp;nbsp; $countrySelect-&amp;gt;setAttrib('onchange', 'dijit.byId(&amp;quot;cityId&amp;quot;).store = new dojo.data.ItemFileReadStore({ url: &amp;quot;/data/lookup/table/city/filterName/countryId/filterValue/&amp;quot; + dijit.byId(&amp;quot;countryId&amp;quot;).value });');
&lt;br&gt;&amp;nbsp; &amp;nbsp; $this-&amp;gt;addElement($countrySelect);
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; $city = new Community_Resource_City();
&lt;br&gt;&amp;nbsp; &amp;nbsp; $citySelect = new Zend_Dojo_Form_Element_FilteringSelect('cityId');
&lt;br&gt;&amp;nbsp; &amp;nbsp; $citySelect-&amp;gt;setAutocomplete(true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; $citySelect-&amp;gt;setLabel('City');
&lt;br&gt;&amp;nbsp; &amp;nbsp; $citySelect-&amp;gt;setRequired(true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; $citySelect-&amp;gt;setStoreId('city');
&lt;br&gt;&amp;nbsp; &amp;nbsp; $citySelect-&amp;gt;setStoreType('dojo.data.ItemFileReadStore'); &amp;nbsp;// important!
&lt;br&gt;&amp;nbsp; &amp;nbsp; $this-&amp;gt;addElement($citySelect); &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;Step 5. &amp;nbsp;Pre-populate the city select with data.
&lt;br&gt;&lt;br&gt;At this point the city select won't be populated until the country select is changed. &amp;nbsp;But what if we already know the initial country ID? &amp;nbsp;Zend_Form won't automatically populate the city select for us!
&lt;br&gt;&lt;br&gt;Therefore, in the controller of our action, after we create the form we need to programmatically populate the city select:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; // set the dojo city lookup based on country id
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$countryId = $this-&amp;gt;_getParam('countryId',false); 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Note that for my project, id's can never be 0, so I can use the empty function
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (!empty($countryId)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // memberForm is a reference to the form we will display
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;view-&amp;gt;memberForm-&amp;gt;getElement('cityId')-&amp;gt;setStoreParams(array('url' =&amp;gt; '/data/lookup/table/city/filterName/countryId/filterValue/'.$memberValues['countryId']));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;view-&amp;gt;defaultCityId = $countryId;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;Step 6. &amp;nbsp;Set the value of the city select. &amp;nbsp;What if we already have a value for city? &amp;nbsp;(For instance, a user is editing his profile, which already has a city value.)
&lt;br&gt;&lt;br&gt;Unfortunately, simply calling $citySelect-&amp;gt;setValue($cityId) won't work! &amp;nbsp;(This is currently a bug listed in Zend.) &amp;nbsp;This may be due to the fact that the city FilteringSelect has not yet been populated with data.
&lt;br&gt;&lt;br&gt;So, we need some way to set the value of the select AFTER it has been populated.
&lt;br&gt;&lt;br&gt;In our controller, set a variable in the view with the value of our country:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;view-&amp;gt;defaultCityId = $this-&amp;gt;_getParam('cityId',false);
&lt;br&gt;&lt;br&gt;In our view script that shows the form:
&lt;br&gt;&lt;br&gt;&amp;lt;?=$this-&amp;gt;memberForm ?&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;? if (!empty($this-&amp;gt;defaultCityId)) : &amp;nbsp;?&amp;gt;
&lt;br&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
&lt;br&gt;dojo.addOnLoad(function() {
&lt;br&gt;&amp;nbsp; dijit.byId('cityId').attr('value','&amp;lt;?=$this-&amp;gt;defaultCityId; ?&amp;gt;');
&lt;br&gt;});
&lt;br&gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;? endif; ?&amp;gt; &amp;nbsp;
&lt;br&gt;&lt;br&gt;Note that I put this script AFTER I output the form. &amp;nbsp;Why? &amp;nbsp;Zend will automatically output a dojo.addOnLoad which loads your city select ItemFileReadStore. &amp;nbsp;You cannot set the value of your select BEFORE the ItemFileReadStore is loaded, so we need to set the city value later.
&lt;br&gt;&lt;br&gt;Check the source of your page in the browser. &amp;nbsp;Make sure you set the value of your city select AFTER the dojo.addOnLoad which loads your ItemFileReadStore.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Now your form should not only have dependent selects, but also pre-populate the city select correctly.
&lt;br&gt;&lt;br&gt;Derek
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to%3A--Zend-Dojo-Form-Dependent-Selects-%28e.g.-Country-City%29-tp25269984p26266681.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26266403</id>
	<title>Re: Problem with Zend_Form and a regex validator</title>
	<published>2009-11-09T05:27:38Z</published>
	<updated>2009-11-09T05:27:38Z</updated>
	<author>
		<name>Michael Kliewe</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;perhaps the modifier /u will solve your problem:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://de3.php.net/manual/en/reference.pcre.pattern.modifiers.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://de3.php.net/manual/en/reference.pcre.pattern.modifiers.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;Michael
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Nov 9, 2009, at 1:25 PM, Stefan Sturm wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a field in a Zend_Form with a regex validator like this::
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 'Regex' =&amp;gt; array(
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;'validator' =&amp;gt; 'Regex',
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;'breakChainOnFailure' =&amp;gt; true,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;'options' =&amp;gt; array(
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'pattern' =&amp;gt; '/^.{1,10}$/',
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'messages' =&amp;gt; array(
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'regexNotMatch' =&amp;gt; 'Error for address2: regexNotMatch',
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;)
&lt;br&gt;&amp;gt; )
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; With this field a have some unicode problems:
&lt;br&gt;&amp;gt; 1234567890 - is OK
&lt;br&gt;&amp;gt; 123456789º - is not OK ( last char: Unicode: U+00BA )
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here are the mbstring settings of my maschine:
&lt;br&gt;&amp;gt; mbstring.detect_order			no value
&lt;br&gt;&amp;gt; mbstring.encoding_translation	On
&lt;br&gt;&amp;gt; mbstring.func_overload		7
&lt;br&gt;&amp;gt; mbstring.http_input			UTF-8
&lt;br&gt;&amp;gt; mbstring.http_output			UTF-8
&lt;br&gt;&amp;gt; mbstring.internal_encoding		UTF-8
&lt;br&gt;&amp;gt; mbstring.language			neutral
&lt;br&gt;&amp;gt; mbstring.strict_detection		On
&lt;br&gt;&amp;gt; mbstring.substitute_character	no value
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hope somebody can help me on this.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks and greetings,
&lt;br&gt;&amp;gt; Stefan Sturm
&lt;/div&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-Zend_Form-and-a-regex-validator-tp26265566p26266403.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26266305</id>
	<title>Re: Problem with Zend_Form and a regex validator</title>
	<published>2009-11-09T05:20:50Z</published>
	<updated>2009-11-09T05:20:50Z</updated>
	<author>
		<name>umpirsky</name>
	</author>
	<content type="html">I&amp;#39;m not sure, but it looks like you need to consider &amp;#39;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); &quot;&gt;º&amp;#39; utf-8 value in your regex somehow.&lt;/span&gt;&lt;br clear=&quot;all&quot;&gt;
&lt;br&gt;Regards,&lt;br&gt;Saša Stamenković&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 9, 2009 at 1:48 PM, Саша Стаменковић &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26266305&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;umpirsky@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;a href=&quot;http://www.roscripts.com/PHP_regular_expressions_examples-136.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.roscripts.com/PHP_regular_expressions_examples-136.html&lt;/a&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.roscripts.com/PHP_regular_expressions_examples-136.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;e.g. &lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family:arial, helvetica, sans-serif;font-size:13px;color:rgb(68, 68, 68);line-height:16px&quot;&gt;&lt;pre style=&quot;background-color:rgb(249, 249, 249);border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-left-style:dashed;border-top-color:rgb(47, 111, 171);border-right-color:rgb(47, 111, 171);border-bottom-color:rgb(47, 111, 171);border-left-color:rgb(47, 111, 171);color:black;line-height:1.1em !important;padding-top:1em;padding-right:1em;padding-bottom:1em;padding-left:1em;overflow-x:auto;overflow-y:auto;width:600px&quot;&gt;
//Quotes: Replace smart double quotes with straight double quotes.
//Unicode version for use with Unicode regex engines.
preg_replace(&amp;#39;[\u201C\u201D\u201E\u201F\u2033\u2036]&amp;#39;, &amp;#39;&amp;quot;&amp;#39;, $text);&lt;/pre&gt;&lt;/span&gt;&lt;br&gt;Regards,&lt;br&gt;Saša Stamenković&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 9, 2009 at 1:25 PM, Stefan Sturm &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26266305&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefan.s.sturm@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;

Hello,&lt;br&gt;
&lt;br&gt;
I have a field in a Zend_Form with a regex validator like this::&lt;br&gt;
&lt;br&gt;
&amp;#39;Regex&amp;#39; =&amp;gt; array(&lt;br&gt;
    &amp;#39;validator&amp;#39; =&amp;gt; &amp;#39;Regex&amp;#39;,&lt;br&gt;
    &amp;#39;breakChainOnFailure&amp;#39; =&amp;gt; true,&lt;br&gt;
    &amp;#39;options&amp;#39; =&amp;gt; array(&lt;br&gt;
        &amp;#39;pattern&amp;#39; =&amp;gt; &amp;#39;/^.{1,10}$/&amp;#39;,&lt;br&gt;
        &amp;#39;messages&amp;#39; =&amp;gt; array(&lt;br&gt;
            &amp;#39;regexNotMatch&amp;#39; =&amp;gt; &amp;#39;Error for address2: regexNotMatch&amp;#39;,&lt;br&gt;
        )&lt;br&gt;
    )&lt;br&gt;
)&lt;br&gt;
&lt;br&gt;
With this field a have some unicode problems:&lt;br&gt;
1234567890 - is OK&lt;br&gt;
123456789º - is not OK ( last char: Unicode: U+00BA )&lt;br&gt;
&lt;br&gt;
Here are the mbstring settings of my maschine:&lt;br&gt;
mbstring.detect_order                   no value&lt;br&gt;
mbstring.encoding_translation   On&lt;br&gt;
mbstring.func_overload          7&lt;br&gt;
mbstring.http_input                     UTF-8&lt;br&gt;
mbstring.http_output                    UTF-8&lt;br&gt;
mbstring.internal_encoding              UTF-8&lt;br&gt;
mbstring.language                       neutral&lt;br&gt;
mbstring.strict_detection               On&lt;br&gt;
mbstring.substitute_character   no value&lt;br&gt;
&lt;br&gt;
Hope somebody can help me on this.&lt;br&gt;
&lt;br&gt;
Thanks and greetings,&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;Stefan Sturm&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-Zend_Form-and-a-regex-validator-tp26265566p26266305.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26265882</id>
	<title>Re: Problem with Zend_Form and a regex validator</title>
	<published>2009-11-09T04:48:11Z</published>
	<updated>2009-11-09T04:48:11Z</updated>
	<author>
		<name>umpirsky</name>
	</author>
	<content type="html">&lt;a href=&quot;http://www.roscripts.com/PHP_regular_expressions_examples-136.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.roscripts.com/PHP_regular_expressions_examples-136.html&lt;/a&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.roscripts.com/PHP_regular_expressions_examples-136.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;e.g. &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, helvetica, sans-serif; font-size: 13px; color: rgb(68, 68, 68); line-height: 16px; &quot;&gt;&lt;pre style=&quot;background-color: rgb(249, 249, 249); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(47, 111, 171); border-right-color: rgb(47, 111, 171); border-bottom-color: rgb(47, 111, 171); border-left-color: rgb(47, 111, 171); color: black; line-height: 1.1em !important; padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; overflow-x: auto; overflow-y: auto; font: normal normal normal 0.9em/normal monospace, arial, helvetica, sans-serif; width: 600px; &quot;&gt;
//Quotes: Replace smart double quotes with straight double quotes.
//Unicode version for use with Unicode regex engines.
preg_replace(&amp;#39;[\u201C\u201D\u201E\u201F\u2033\u2036]&amp;#39;, &amp;#39;&amp;quot;&amp;#39;, $text);&lt;/pre&gt;&lt;/span&gt;&lt;br&gt;Regards,&lt;br&gt;Saša Stamenković&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 9, 2009 at 1:25 PM, Stefan Sturm &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26265882&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stefan.s.sturm@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
Hello,&lt;br&gt;
&lt;br&gt;
I have a field in a Zend_Form with a regex validator like this::&lt;br&gt;
&lt;br&gt;
&amp;#39;Regex&amp;#39; =&amp;gt; array(&lt;br&gt;
    &amp;#39;validator&amp;#39; =&amp;gt; &amp;#39;Regex&amp;#39;,&lt;br&gt;
    &amp;#39;breakChainOnFailure&amp;#39; =&amp;gt; true,&lt;br&gt;
    &amp;#39;options&amp;#39; =&amp;gt; array(&lt;br&gt;
        &amp;#39;pattern&amp;#39; =&amp;gt; &amp;#39;/^.{1,10}$/&amp;#39;,&lt;br&gt;
        &amp;#39;messages&amp;#39; =&amp;gt; array(&lt;br&gt;
            &amp;#39;regexNotMatch&amp;#39; =&amp;gt; &amp;#39;Error for address2: regexNotMatch&amp;#39;,&lt;br&gt;
        )&lt;br&gt;
    )&lt;br&gt;
)&lt;br&gt;
&lt;br&gt;
With this field a have some unicode problems:&lt;br&gt;
1234567890 - is OK&lt;br&gt;
123456789º - is not OK ( last char: Unicode: U+00BA )&lt;br&gt;
&lt;br&gt;
Here are the mbstring settings of my maschine:&lt;br&gt;
mbstring.detect_order                   no value&lt;br&gt;
mbstring.encoding_translation   On&lt;br&gt;
mbstring.func_overload          7&lt;br&gt;
mbstring.http_input                     UTF-8&lt;br&gt;
mbstring.http_output                    UTF-8&lt;br&gt;
mbstring.internal_encoding              UTF-8&lt;br&gt;
mbstring.language                       neutral&lt;br&gt;
mbstring.strict_detection               On&lt;br&gt;
mbstring.substitute_character   no value&lt;br&gt;
&lt;br&gt;
Hope somebody can help me on this.&lt;br&gt;
&lt;br&gt;
Thanks and greetings,&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;Stefan Sturm&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-Zend_Form-and-a-regex-validator-tp26265566p26265882.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26265566</id>
	<title>Problem with Zend_Form and a regex validator</title>
	<published>2009-11-09T04:25:10Z</published>
	<updated>2009-11-09T04:25:10Z</updated>
	<author>
		<name>Stefan Sturm-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I have a field in a Zend_Form with a regex validator like this::
&lt;br&gt;&lt;br&gt;'Regex' =&amp;gt; array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; 'validator' =&amp;gt; 'Regex',
&lt;br&gt;&amp;nbsp; &amp;nbsp; 'breakChainOnFailure' =&amp;gt; true,
&lt;br&gt;&amp;nbsp; &amp;nbsp; 'options' =&amp;gt; array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'pattern' =&amp;gt; '/^.{1,10}$/',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'messages' =&amp;gt; array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'regexNotMatch' =&amp;gt; 'Error for address2: regexNotMatch',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )
&lt;br&gt;&amp;nbsp; &amp;nbsp; )
&lt;br&gt;)
&lt;br&gt;&lt;br&gt;With this field a have some unicode problems:
&lt;br&gt;1234567890 - is OK
&lt;br&gt;123456789º - is not OK ( last char: Unicode: U+00BA )
&lt;br&gt;&lt;br&gt;Here are the mbstring settings of my maschine:
&lt;br&gt;mbstring.detect_order			no value
&lt;br&gt;mbstring.encoding_translation	On
&lt;br&gt;mbstring.func_overload		7
&lt;br&gt;mbstring.http_input			UTF-8
&lt;br&gt;mbstring.http_output			UTF-8
&lt;br&gt;mbstring.internal_encoding		UTF-8
&lt;br&gt;mbstring.language			neutral
&lt;br&gt;mbstring.strict_detection		On
&lt;br&gt;mbstring.substitute_character	no value
&lt;br&gt;&lt;br&gt;Hope somebody can help me on this.
&lt;br&gt;&lt;br&gt;Thanks and greetings,
&lt;br&gt;Stefan Sturm
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-Zend_Form-and-a-regex-validator-tp26265566p26265566.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26265426</id>
	<title>Allowing .NET web service consumption, WSDL, encoding styles, etc.</title>
	<published>2009-11-09T04:12:45Z</published>
	<updated>2009-11-09T04:12:45Z</updated>
	<author>
		<name>RQuadling</name>
	</author>
	<content type="html">Hi.
&lt;br&gt;&lt;br&gt;I'm creating web services using Zend_Soap_Server. I'm at the point where I need to test the services. With that, I'm constructing the WSDL file.
&lt;br&gt;&lt;br&gt;I've read about some of the differences between Microsoft's .NET requirements and others (I'm a newbie - this may be FUD - looking for advice).
&lt;br&gt;&lt;br&gt;Assuming there are some differences, how do I create a WSDL file which will allow everyone to talk to my services (by everyone, I mean all the ways people can talk to me).
&lt;br&gt;&lt;br&gt;I wish I knew more about this. Is there a sensible start point for me to read about this issue?
&lt;br&gt;&lt;br&gt;In the main, I've found articles which are solely PHP orientated _OR_ .NET orientated.
&lt;br&gt;&lt;br&gt;Also, WSDL v2? Is that a concern?
&lt;br&gt;&lt;br&gt;Any help would be appreciated.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Richard Quadling.
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Web-Services-f16197.html&quot; embed=&quot;fixTarget[16197]&quot; target=&quot;_top&quot; &gt;Zend Web Services&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Allowing-.NET-web-service-consumption%2C-WSDL%2C-encoding-styles%2C-etc.-tp26265426p26265426.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26263730</id>
	<title>Zend_Form label decorator duplicated id</title>
	<published>2009-11-09T02:00:06Z</published>
	<updated>2009-11-09T02:00:06Z</updated>
	<author>
		<name>umpirsky</name>
	</author>
	<content type="html">I have element decorators
&lt;br&gt;&lt;br&gt;array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'ViewHelper',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array(array('td' =&amp;gt; 'HtmlTag'), array('tag' =&amp;gt; 'td', 'style' =&amp;gt; 'width: 360px;')),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array('Label', array('tag' =&amp;gt; 'td', 'requiredSuffix' =&amp;gt; ' *')),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array(array('tr' =&amp;gt; 'HtmlTag'), array('tag' =&amp;gt; 'tr')),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array(array('tbody' =&amp;gt; 'HtmlTag'), array('tag' =&amp;gt; 'tbody')),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array(array('table' =&amp;gt; 'HtmlTag'), array('tag' =&amp;gt; 'table', 'class' =&amp;gt; 'tiny')),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array(array('separator' =&amp;gt; 'HtmlTag'), array('tag' =&amp;gt; 'div', 'class' =&amp;gt; 'separator'))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )
&lt;br&gt;&lt;br&gt;and form with 3 subforms.
&lt;br&gt;I set each subform $this-&amp;gt;setElementsBelongTo() to avoid name collision, BUT I get label (td) id collision, it's always &amp;lt;td id=&amp;quot;$elementName-label&amp;quot;&amp;gt; !!!
&lt;br&gt;&lt;br&gt;Any idea?&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zend_Form-label-decorator-duplicated-id-tp26263730p26263730.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261853</id>
	<title>Question about zend_Route</title>
	<published>2009-11-08T22:37:57Z</published>
	<updated>2009-11-08T22:37:57Z</updated>
	<author>
		<name>Anees</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;i found from a post that using Zend Framework’s Zend_Controller_Router_Route class we can route all incoming requests for (say) /testcntrl/store to testcntrlController and a specific action in testcntrl eg. checkingAction()
&lt;br&gt;&lt;br&gt;In my situation 
&lt;br&gt;i need to call a controller like this
&lt;br&gt;test/cateogryname1
&lt;br&gt;or
&lt;br&gt;test/categoryname2
&lt;br&gt;&lt;br&gt;here the categoryname1 or categoryname2 are the parameters for the index action
&lt;br&gt;i know the proper method is 
&lt;br&gt;test/index/categoryname/categoryname1.
&lt;br&gt;i just want to avoid that 'index' and 'categoryname' from the url
&lt;br&gt;&lt;br&gt;and i tried and succeed another method by forwarding the undefined actions to a specific action
&lt;br&gt;by implementing __call() method
&lt;br&gt;&lt;br&gt;But i want to now that, whether we can do the same using the Route class in zend
&lt;br&gt;by keeping the last parameter as a variable
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Anees
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-about-zend_Route-tp26261853p26261853.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261541</id>
	<title>Re: jQuery Ajax link inside container- how to make this?</title>
	<published>2009-11-08T21:41:46Z</published>
	<updated>2009-11-08T21:41:46Z</updated>
	<author>
		<name>JaviTILT</name>
	</author>
	<content type="html">Hi, just try to put into the loaded page:
&lt;br&gt;&lt;br&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;?php echo $this-&amp;gt;jQuery(); ?&amp;gt;
&lt;br&gt;&lt;br&gt;at the end of your code. And does it works. For some reason with out putting script start tag before JQuery it doesn't work.
&lt;br&gt;for example:
&lt;br&gt;&amp;lt;div id=&amp;quot;content&amp;quot; style=&amp;quot;overflow:auto;&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;a href=&quot;javascript:loadContent('&lt;?php echo $this- target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;baseUrl; ?&amp;gt;/viajesos/agregarviajeos');&amp;quot;&amp;gt;
&lt;br&gt;Agregar Viaje One Shot&lt;/a&gt;&amp;lt;br /&amp;gt;
&lt;br&gt;&amp;lt;/div&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;pick your date: &amp;lt;?= $this-&amp;gt;datePicker(&amp;quot;dp1&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; '',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array('defaultDate' =&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; date('Y/m/d', time()))); ?&amp;gt;
&lt;br&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;?php echo $this-&amp;gt;jQuery(); ?&amp;gt;
&lt;br&gt;&lt;br&gt;This is an phtml loaded from a dialogcontainer.
&lt;br&gt;&lt;br&gt;Cheers.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;vladimirn wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Thanks.
&lt;br&gt;Can u just tell me why Edit and Delete are not inside a href in hello.phtml?
&lt;br&gt;It wont allow me to post how link looks like so i will improvize:
&lt;br&gt;&amp;lt;href=&amp;quot;#&amp;quot; id=&amp;quot;delete&amp;quot; onclick=&amp;quot;$.post('/admin/index/hello', {}, function(data, textStatus) { $('#contentJ').html(data); }, 'html');return false;&amp;quot;&amp;gt;&lt;/a&gt;[Delete]
&lt;br&gt;&lt;br&gt;See? [Delete] is totally out of link tag.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jQuery-Ajax-link-inside-container--how-to-make-this--tp20703903p26261541.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26256786</id>
	<title>Re: Re: optgroup class or id</title>
	<published>2009-11-08T11:02:12Z</published>
	<updated>2009-11-08T11:02:12Z</updated>
	<author>
		<name>bradley.holt</name>
	</author>
	<content type="html">On Sun, Nov 8, 2009 at 1:44 PM, Matthew Weier O'Phinney
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26256786&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Can you add an issue to the tracker for this, along with your patch? The
&lt;br&gt;&amp;gt; feature has been requested more than once. :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Sure, opened as ZF-8252 (not sure why the formatting got hosed):
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://framework.zend.com/issues/browse/ZF-8252&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://framework.zend.com/issues/browse/ZF-8252&lt;/a&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -- Bradley Holt &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26256786&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bradley.holt@...&lt;/a&gt;&amp;gt; wrote
&lt;br&gt;&amp;gt; (on Sunday, 08 November 2009, 01:28 PM -0500):
&lt;br&gt;&amp;gt;&amp;gt; I dug into the rendering code in Zend_View_Helper_FormSelect. Based on
&lt;br&gt;&amp;gt;&amp;gt; how the optgroup element is created I can see that there's no way to
&lt;br&gt;&amp;gt;&amp;gt; add an id or class to the optgroup. Here is a patch that should allow
&lt;br&gt;&amp;gt;&amp;gt; for the following use case but should still be backwards compatible.
&lt;br&gt;&amp;gt;&amp;gt; This is not necessarily the best way to do this and could probably be
&lt;br&gt;&amp;gt;&amp;gt; a lot better: I put it together very quickly. The existing code
&lt;br&gt;&amp;gt;&amp;gt; doesn't seem to follow the Zend Framework coding standards so I kept
&lt;br&gt;&amp;gt;&amp;gt; my new code similar to the code that's already there. Again, this
&lt;br&gt;&amp;gt;&amp;gt; could be a lot more extensible than it is (e.g. it only allows for id
&lt;br&gt;&amp;gt;&amp;gt; and not class or other arbitrary decorators).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Here is the use case that will give the desired output in my previous
&lt;br&gt;&amp;gt;&amp;gt; email (id attribute on optgroup elements):
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;         $optgroupTest = new Zend_Form_Element_Select('optgroup_test');
&lt;br&gt;&amp;gt;&amp;gt;         $options = array (
&lt;br&gt;&amp;gt;&amp;gt;             array(
&lt;br&gt;&amp;gt;&amp;gt;                 'id'    =&amp;gt; 'option_group_1',
&lt;br&gt;&amp;gt;&amp;gt;                 'label' =&amp;gt; 'Option Group 1',
&lt;br&gt;&amp;gt;&amp;gt;                 'options' =&amp;gt; array (
&lt;br&gt;&amp;gt;&amp;gt;                     'A'     =&amp;gt; 'Option A',
&lt;br&gt;&amp;gt;&amp;gt;                     'B'     =&amp;gt; 'Option B',
&lt;br&gt;&amp;gt;&amp;gt;                     'C'     =&amp;gt; 'Option C',
&lt;br&gt;&amp;gt;&amp;gt;                 ),
&lt;br&gt;&amp;gt;&amp;gt;             ),
&lt;br&gt;&amp;gt;&amp;gt;             array(
&lt;br&gt;&amp;gt;&amp;gt;                 'id'    =&amp;gt; 'option_group_2',
&lt;br&gt;&amp;gt;&amp;gt;                 'label' =&amp;gt; 'Option Group 2',
&lt;br&gt;&amp;gt;&amp;gt;                 'options' =&amp;gt; array (
&lt;br&gt;&amp;gt;&amp;gt;                     'D'     =&amp;gt; 'Option D',
&lt;br&gt;&amp;gt;&amp;gt;                 ),
&lt;br&gt;&amp;gt;&amp;gt;             ),
&lt;br&gt;&amp;gt;&amp;gt;         );
&lt;br&gt;&amp;gt;&amp;gt;         $optgroupTest
&lt;br&gt;&amp;gt;&amp;gt;             -&amp;gt;setLabel('Optgroup Test')
&lt;br&gt;&amp;gt;&amp;gt;             -&amp;gt;addMultiOptions(
&lt;br&gt;&amp;gt;&amp;gt;                 $options
&lt;br&gt;&amp;gt;&amp;gt;             )
&lt;br&gt;&amp;gt;&amp;gt;         ;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Here is the patch against Zend Framework 1.9.5 (tags/release-1.9.5)
&lt;br&gt;&amp;gt;&amp;gt; that will make the above use case work (patch attached as well):
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Index: View/Helper/FormSelect.php
&lt;br&gt;&amp;gt;&amp;gt; ===================================================================
&lt;br&gt;&amp;gt;&amp;gt; --- View/Helper/FormSelect.php        (revision 18900)
&lt;br&gt;&amp;gt;&amp;gt; +++ View/Helper/FormSelect.php        (working copy)
&lt;br&gt;&amp;gt;&amp;gt; @@ -116,6 +116,15 @@
&lt;br&gt;&amp;gt;&amp;gt;          $translator = $this-&amp;gt;getTranslator();
&lt;br&gt;&amp;gt;&amp;gt;          foreach ((array) $options as $opt_value =&amp;gt; $opt_label) {
&lt;br&gt;&amp;gt;&amp;gt;              if (is_array($opt_label)) {
&lt;br&gt;&amp;gt;&amp;gt; +                $opt_id = '';
&lt;br&gt;&amp;gt;&amp;gt; +                if (is_integer($opt_value)) {
&lt;br&gt;&amp;gt;&amp;gt; +                    $opt_array = $opt_label;
&lt;br&gt;&amp;gt;&amp;gt; +                    if (array_key_exists('id', $opt_array)) {
&lt;br&gt;&amp;gt;&amp;gt; +                        $opt_id = ' id=&amp;quot;' . $opt_array['id'] . '&amp;quot;';
&lt;br&gt;&amp;gt;&amp;gt; +                    }
&lt;br&gt;&amp;gt;&amp;gt; +                    $opt_value = $opt_array['label'];
&lt;br&gt;&amp;gt;&amp;gt; +                    $opt_label = $opt_array['options'];
&lt;br&gt;&amp;gt;&amp;gt; +                }
&lt;br&gt;&amp;gt;&amp;gt;                  $opt_disable = '';
&lt;br&gt;&amp;gt;&amp;gt;                  if (is_array($disable) &amp;&amp; in_array($opt_value, $disable)) {
&lt;br&gt;&amp;gt;&amp;gt;                      $opt_disable = ' disabled=&amp;quot;disabled&amp;quot;';
&lt;br&gt;&amp;gt;&amp;gt; @@ -124,6 +133,7 @@
&lt;br&gt;&amp;gt;&amp;gt;                      $opt_value = $translator-&amp;gt;translate($opt_value);
&lt;br&gt;&amp;gt;&amp;gt;                  }
&lt;br&gt;&amp;gt;&amp;gt;                  $list[] = '&amp;lt;optgroup'
&lt;br&gt;&amp;gt;&amp;gt; +                        . $opt_id
&lt;br&gt;&amp;gt;&amp;gt;                          . $opt_disable
&lt;br&gt;&amp;gt;&amp;gt;                          . ' label=&amp;quot;' . $this-&amp;gt;view-&amp;gt;escape($opt_value) .'&amp;quot;&amp;gt;';
&lt;br&gt;&amp;gt;&amp;gt;                  foreach ($opt_label as $val =&amp;gt; $lab) {
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Bradley
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Matthew Weier O'Phinney
&lt;br&gt;&amp;gt; Project Lead            | &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26256786&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Zend Framework          | &lt;a href=&quot;http://framework.zend.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://framework.zend.com/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/optgroup-class-or-id-tp26255904p26256786.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26256606</id>
	<title>Re: Re: optgroup class or id</title>
	<published>2009-11-08T10:44:59Z</published>
	<updated>2009-11-08T10:44:59Z</updated>
	<author>
		<name>weierophinney</name>
	</author>
	<content type="html">Can you add an issue to the tracker for this, along with your patch? The
&lt;br&gt;feature has been requested more than once. :)
&lt;br&gt;&lt;br&gt;-- Bradley Holt &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26256606&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bradley.holt@...&lt;/a&gt;&amp;gt; wrote
&lt;br&gt;(on Sunday, 08 November 2009, 01:28 PM -0500):
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I dug into the rendering code in Zend_View_Helper_FormSelect. Based on
&lt;br&gt;&amp;gt; how the optgroup element is created I can see that there's no way to
&lt;br&gt;&amp;gt; add an id or class to the optgroup. Here is a patch that should allow
&lt;br&gt;&amp;gt; for the following use case but should still be backwards compatible.
&lt;br&gt;&amp;gt; This is not necessarily the best way to do this and could probably be
&lt;br&gt;&amp;gt; a lot better: I put it together very quickly. The existing code
&lt;br&gt;&amp;gt; doesn't seem to follow the Zend Framework coding standards so I kept
&lt;br&gt;&amp;gt; my new code similar to the code that's already there. Again, this
&lt;br&gt;&amp;gt; could be a lot more extensible than it is (e.g. it only allows for id
&lt;br&gt;&amp;gt; and not class or other arbitrary decorators).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here is the use case that will give the desired output in my previous
&lt;br&gt;&amp;gt; email (id attribute on optgroup elements):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $optgroupTest = new Zend_Form_Element_Select('optgroup_test');
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $options = array (
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array(
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'id' &amp;nbsp; &amp;nbsp;=&amp;gt; 'option_group_1',
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'label' =&amp;gt; 'Option Group 1',
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'options' =&amp;gt; array (
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'A' &amp;nbsp; &amp;nbsp; =&amp;gt; 'Option A',
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'B' &amp;nbsp; &amp;nbsp; =&amp;gt; 'Option B',
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'C' &amp;nbsp; &amp;nbsp; =&amp;gt; 'Option C',
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array(
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'id' &amp;nbsp; &amp;nbsp;=&amp;gt; 'option_group_2',
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'label' =&amp;gt; 'Option Group 2',
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'options' =&amp;gt; array (
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'D' &amp;nbsp; &amp;nbsp; =&amp;gt; 'Option D',
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $optgroupTest
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;setLabel('Optgroup Test')
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;addMultiOptions(
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $options
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here is the patch against Zend Framework 1.9.5 (tags/release-1.9.5)
&lt;br&gt;&amp;gt; that will make the above use case work (patch attached as well):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Index: View/Helper/FormSelect.php
&lt;br&gt;&amp;gt; ===================================================================
&lt;br&gt;&amp;gt; --- View/Helper/FormSelect.php	(revision 18900)
&lt;br&gt;&amp;gt; +++ View/Helper/FormSelect.php	(working copy)
&lt;br&gt;&amp;gt; @@ -116,6 +116,15 @@
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$translator = $this-&amp;gt;getTranslator();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach ((array) $options as $opt_value =&amp;gt; $opt_label) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (is_array($opt_label)) {
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$opt_id = '';
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (is_integer($opt_value)) {
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$opt_array = $opt_label;
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (array_key_exists('id', $opt_array)) {
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$opt_id = ' id=&amp;quot;' . $opt_array['id'] . '&amp;quot;';
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$opt_value = $opt_array['label'];
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$opt_label = $opt_array['options'];
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$opt_disable = '';
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (is_array($disable) &amp;&amp; in_array($opt_value, $disable)) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$opt_disable = ' disabled=&amp;quot;disabled&amp;quot;';
&lt;br&gt;&amp;gt; @@ -124,6 +133,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$opt_value = $translator-&amp;gt;translate($opt_value);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$list[] = '&amp;lt;optgroup'
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. $opt_id
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. $opt_disable
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. ' label=&amp;quot;' . $this-&amp;gt;view-&amp;gt;escape($opt_value) .'&amp;quot;&amp;gt;';
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach ($opt_label as $val =&amp;gt; $lab) {
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Bradley
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Matthew Weier O'Phinney
&lt;br&gt;Project Lead &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26256606&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matthew@...&lt;/a&gt;
&lt;br&gt;Zend Framework &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &lt;a href=&quot;http://framework.zend.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://framework.zend.com/&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Zend-Framework-f15440.html&quot; embed=&quot;fixTarget[15440]&quot; target=&quot;_top&quot; &gt;Zend Framework&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/optgroup-class-or-id-tp26255904p26256606.html" />
</entry>

</feed>
