Re: [fw-general] Re: [fw-mvc] Partials are driving me partially crazy

2008-02-27 Thread Arthur M. Kang
Matthew, Again, thanks for the detailed explanation and help. I'll comment more in the issue tracker. Arthur Matthew Weier O'Phinney wrote: -- Arthur M. Kang <[EMAIL PROTECTED]> wrote (on Wednesday, 27 February 2008, 05:35 PM -0800): Can anybody help me understand the way the partials

Re: [fw-general] Zend_Form: Bug or Expected?

2008-02-27 Thread Arthur M. Kang
Matthew, Thank you for taking the time to answer my questions. Replies below. Matthew Weier O'Phinney wrote: -- Arthur M. Kang <[EMAIL PROTECTED]> wrote (on Wednesday, 27 February 2008, 03:55 PM -0800): I have a couple of questions regarding Zend_Form if anyone can help... Setup: I'm usin

Re: [fw-general] Zend_Form custom validators and PrefixPath

2008-02-27 Thread Dylan Arnold
Thanks Matthew. That cleared things up and sorted my problem! I was mostly wanting to use the fully qualified class name to avoid any weird naming conflicts. Ie i wanted my own My_Validate_Regex but was worried about the implications of ->addValidator('Regex', ...) when there is a Zend_Validate_Re

Re: [fw-general] Zend_Session::start()

2008-02-27 Thread Simon Mundy
You may also be able to write a custom Session handler (e.g. subclassing the incubator Db_SessionHandler) that uses a separate column for each application. I've used the existing code for a production site and it's been working a treat. (BTW would love to know when's it going core?!?) Che

Re: [fw-general] Zend_Form custom validators and PrefixPath

2008-02-27 Thread Matthew Weier O'Phinney
-- Dylan Arnold <[EMAIL PROTECTED]> wrote (on Thursday, 28 February 2008, 05:19 PM +1300): > Can somebody please give me an example of using a custom validator with > Zend_Form? > > For the basic case using Zend_Validate_*: > $element = new Zend_Form_Element_Text('test'); > $element->addValidator(

RE: [fw-general] Zend_Session::start()

2008-02-27 Thread Steven Brown
Take a look at: http://framework.zend.com/manual/en/zend.session.global_session_management.h tml#zend.session.global_session_management.configuration_options I think you may need to set the path for the cookies in each application. Cheers, Steven -Original Message- From: Kexiao Liao [ma

[fw-general] Zend_Form custom validators and PrefixPath

2008-02-27 Thread Dylan Arnold
Can somebody please give me an example of using a custom validator with Zend_Form? For the basic case using Zend_Validate_*: $element = new Zend_Form_Element_Text('test'); $element->addValidator('Regex', ); //works fine. However: $element->addValidator('Zend_Validate_Regex', ); //doesn't

RE: [fw-general] Zend_Session::start()

2008-02-27 Thread Kexiao Liao
These two web application belong to same domain for example(ctresearch.ccf.org). Can you give me more detail about how to create different sessions for above two web application which belong to same domain(ctresearch.ccf.org)? Peter Lauri-2 wrote: > > On Thu, 2008-02-28 at 14:01 +1000, Steven B

[fw-general] Re: [fw-mvc] Partials are driving me partially crazy

2008-02-27 Thread Matthew Weier O'Phinney
-- Arthur M. Kang <[EMAIL PROTECTED]> wrote (on Wednesday, 27 February 2008, 05:35 PM -0800): > Can anybody help me understand the way the partials view helper was designed > and how it works? My tests are showing results that are not intuitive. > Perhaps my setup is incorrect, or my usage is. I

RE: [fw-general] Zend_Session::start()

2008-02-27 Thread Peter Lauri
On Thu, 2008-02-28 at 14:01 +1000, Steven Brown wrote: > I have two web applications, they need to open within one instance of > firefox by open another new tab, these two web application use > Zend_Session::start() to start their own sessions. It seems the two > web > application sessions may con

RE: [fw-general] Zend_Session::start()

2008-02-27 Thread Steven Brown
Are both applications on the same domain? Cheers, Steven -Original Message- From: Kexiao Liao [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 February 2008 1:59 PM To: fw-general@lists.zend.com Subject: [fw-general] Zend_Session::start() I have two web applications, they need to open wit

[fw-general] Zend_Session::start()

2008-02-27 Thread Kexiao Liao
I have two web applications, they need to open within one instance of firefox by open another new tab, these two web application use Zend_Session::start() to start their own sessions. It seems the two web application sessions may conflict with each other causing the web application can not work c

Re: [fw-general] Zend_Form: Bug or Expected?

2008-02-27 Thread Matthew Weier O'Phinney
-- Arthur M. Kang <[EMAIL PROTECTED]> wrote (on Wednesday, 27 February 2008, 03:55 PM -0800): > I have a couple of questions regarding Zend_Form if anyone can help... > > Setup: > I'm using 1.5RC1 of the framework. > Doing a simple test with: > > Action: > $form = new Zend_Form(array( >

[fw-general] Partials are driving me partially crazy

2008-02-27 Thread Arthur M. Kang
Can anybody help me understand the way the partials view helper was designed and how it works? My tests are showing results that are not intuitive. Perhaps my setup is incorrect, or my usage is. If anyone could help or help me understand the workings, that would be GREAT! Setup: Simple test

[fw-general] QuickStart Contest!

2008-02-27 Thread Wil Sinclair
Howdy all, we've gotten a lot of feedback since the 1.0 release, some good and some 'suggesting improvements'. Most of this feedback has revolved around the first hour of the Zend Framework experience- a period of time that has becoming more and more critical as other frameworks have set expectatio

[fw-general] Zend_Form: Bug or Expected?

2008-02-27 Thread Arthur M. Kang
I have a couple of questions regarding Zend_Form if anyone can help... Setup: I'm using 1.5RC1 of the framework. Doing a simple test with: *Action:* $form = new Zend_Form(array( 'action' => '/user/test', 'method' => 'post', 'elements' => array( 'username' => 'text'

RE: [fw-general] Zend_Form_Element_Image don't add the value to src?

2008-02-27 Thread Ken Crane
Unless this has changed recently the way to set the src of an Image Element was to use ->setValue(). Using ->setAttrb('src' => 'image.gif'); does not set the src attribute for the image. I posted a issue for this behavior: http://framework.zend.com/issues/browse/ZF-2714 Correct me if I am wro

Re: [fw-general] A simple plugin manager class to handle all plugins by request or more

2008-02-27 Thread Ralph Schindler
Hi David, This is interesting work. While the scope of your Plugger is pretty high-level, I think you might be able to leverage a component already in Zend Framework to handle what you call "areas" and loading. http://framework.zend.com/manual/en/zend.loader.pluginloader.html While Zend_Loa

Re: [fw-general] A simple plugin manager class to handle all plugins by request or more

2008-02-27 Thread David Toniolo
Links changed: http://php.online-skripte.de/Mtwd_Zend_PluggerPlugin/api/ Doku + API http://sources.online-skripte.de/Mtwd_Zend_PluggerPlugin.phps Source Now it is a full useable version supports giving arguments to plugin classes, searching in many directories for class files, etc. Hope you

Re: [fw-general] Zend_Form_Element_Select speed / caching questions

2008-02-27 Thread Alan Wagstaff
Hi Steven, Just given that a try but no joy unfortunately. I think I might just leave it be as the page won't get loaded that often by the user so they should survive the occasional slowness. Thanks, Al. On 27/02/2008, Steven Brown <[EMAIL PROTECTED]> wrote: > Hi Al, > > I think you may need to

Re: [fw-general] Zend_View_Helper_Translate problem with HTML in translated text

2008-02-27 Thread Thomas Weidner
Hy Lele, the question is why you are using a HTML content as messageid ? This makes no sense because the HTML content will not be different in other languages... it's always the same, so why translate it ? You should only translate text which differs in other languages. Generally if you are

[fw-general] Zend_View_Helper_Translate problem with HTML in translated text

2008-02-27 Thread Lord_Lele
Hi, I have a TMX based translation and I'm using the new View Helper for translate text in View scripts. However, if I have some HTML in translated text I've this error: Warning: vsprintf() [function.vsprintf]: Too few arguments in /usr/local/www/apache22/Library/ZendFramework15/library/Zend/Vi

Re: [fw-general] Make Default Router get 1 param from /some/list/1

2008-02-27 Thread James Dempster
You might find that this is more what you are looking for? http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.basic On Wed, Feb 27, 2008 at 12:57 PM, Nicolae Namolovan <[EMAIL PROTECTED]> wrote: > Is it possible to do a default router with same characteristics

Re: [fw-general] Zend_Form_Element_Image don't add the value to src?

2008-02-27 Thread Matthew Weier O'Phinney
-- Noé Froidevaux <[EMAIL PROTECTED]> wrote (on Wednesday, 27 February 2008, 04:11 PM +0100): > Have somebody a example for a form with a Zend_Form_Element_Image ? > > I have a lot of problems when I populates my form... The line 994 in > the file Form.php (Zend_Form) sets to null every elements w

Re: [fw-general] Zend_Form_Element_Image don't add the value to src?

2008-02-27 Thread Noé Froidevaux
Have somebody a example for a form with a Zend_Form_Element_Image ? I have a lot of problems when I populates my form... The line 994 in the file Form.php (Zend_Form) sets to null every elements which are not in the array argument, is it normal? Noé -- From: Noé Froidevaux <[EMAIL PROTEC

[fw-general] View, template fragments/partials

2008-02-27 Thread agatone
Hello, I'm trying to code a site completely on ZF, however with all things that ZF includes I lose lots of time around MVC part - especially View. At the moment I got stuck with Template fragments or partials. Trying to do it in the way of best practice I only got more lost and frustrated so I ha

Re: [fw-general] 1.5 Release Candidate 1

2008-02-27 Thread Andries Seutens
Hi Matthew, this is now filed: http://framework.zend.com/issues/browse/ZF-2738 Best, Andriesss Matthew Weier O'Phinney schreef: -- Andries Seutens <[EMAIL PROTECTED]> wrote (on Wednesday, 27 February 2008, 09:28 AM +0100): I am testing the 1.5 Release Candidate 1 for backwards compatibili

Re: [fw-general] 1.5 Release Candidate 1

2008-02-27 Thread Matthew Weier O'Phinney
-- Andries Seutens <[EMAIL PROTECTED]> wrote (on Wednesday, 27 February 2008, 09:28 AM +0100): > I am testing the 1.5 Release Candidate 1 for backwards compatibility, and I > encountered the following problem: > > I am trying to call the following controller/action: > /clients.coaching/overview,

Re: [fw-general] Zend_Form custom validation messages

2008-02-27 Thread Marko Korhonen
Looking forward for this... -- View this message in context: http://www.nabble.com/Zend_Form-custom-validation-messages-tp15165470s16154p15712811.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Make Default Router get 1 param from /some/list/1

2008-02-27 Thread Nicolae Namolovan
Is it possible to do a default router with same characteristics as current one: Module + controller + action + params: But also with Module + controller + action + 1param: Example: /some/list/1 And getParam(0) should return 1.. ? -- Sincerely, Nicolae Namolovan.

Re: [fw-general] CakePHP vs. ZendFramework

2008-02-27 Thread Dr. Tarique Sani
José de Menezes Soares Neto wrote: Thanks every one. I use ZF for my projects, but a friend comes to me talking a lot about Cake... For me the decision for using CakePHP was not so much technical as administrative - I am forced to prefer an Opinionated Framework over Opinionated Programmers ;

Re: [fw-general] Zend_Form_Element_Image don't add the value to src?

2008-02-27 Thread Noé Froidevaux
Hum... Now, it's works with the setValue(). I have found the problem. I use the $form->populate function and don't pass the value for the button. With the PR, the framework don't change the value of the image, but with the RC1 yes. So, I have to pass the argment for the image in the populate func

[fw-general] RE: nice job, Alex! :)

2008-02-27 Thread Alexander Veremyev
Hi Darby and all, Thanks! :) Also thank you and Wil and everyone who helped to roll out these releases! With best regards, Alexander Veremyev. > -Original Message- > From: Darby Felton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 26, 2008 11:58 PM > To: Zend Framework - Gener

Re: [fw-general] Zend_Form_Element_Image don't add the value to src?

2008-02-27 Thread Tobias Gies
Sorry, my iphone's t9 dictionary seems to be quite broken. It was meant to say "The value attribute". On Wed, Feb 27, 2008 at 12:14 PM, Tobias Gies <[EMAIL PROTECTED]> wrote: > You will habe to set the src attribute. Thw valur Attribute is used as > the value that will be sent via $_POST. > > >

Re: [fw-general] Zend_Form_Element_Image don't add the value to src?

2008-02-27 Thread Tobias Gies
You will habe to set the src attribute. Thw valur Attribute is used as the value that will be sent via $_POST. Sent from my iPhone. Am 27.02.2008 um 11:43 schrieb "Noé Froidevaux" <[EMAIL PROTECTED] m>: Hi all! A big thanx for the 1.5RC1! But, i have a little problem. Why when I set a v

[fw-general] Zend_Form_Element_Image don't add the value to src?

2008-02-27 Thread Noé Froidevaux
Hi all! A big thanx for the 1.5RC1! But, i have a little problem. Why when I set a value to a Zend_Form_Element_Image, the value passed don't set the src attrib, it's normal (it was worked in 1.5PR)? $submit = new Zend_Form_Element_Image('continue'); $submit->setValue('/images/form/button_contin

[fw-general] ajaxContext (and Layout)

2008-02-27 Thread Marko Korhonen
Hi, I added ajaxContext stuff to my code (1.5 RC1). I also have Zend_Layout within my MVC. Only way I got ajaxContext working was by adding this line in my init() method after Zend_Layout::startMvc($options);. $ajaxContext = $this->_helper->ajaxContext()->initContext("html"); If I remove "html

[fw-general] Desgin a Zend_Form using CSS

2008-02-27 Thread Stefan Sturm
Hello, is there somewhere i tutorial or a quick start which explains howto design a Zend_Form using CSS? I'm not a CSS pro, so I would like to get some tipps :-) Thanks and greetings, Stefan Sturm

Re: [fw-general] 1.5 Release Candidate 1

2008-02-27 Thread Andries Seutens
Hello Thomas, In the documentation it says: / The canonical, documented way is that all word separators are converted to dashes, and the words lowercased. This creates a semantic tie between the actions and view scripts, and the normalization ensures that the scripts can be found./ So accor

Re: [fw-general] Zend_Form: hidden element

2008-02-27 Thread Nick Lo
On 27/02/2008, at 5:16 PM, love Postfix as we do? wrote: Hi, How to remove for hidden element type from rendered form (Zend_Form)? thanks > Nomor Nama_anggota I reported this one in the issue tracker: http://framework.zend.com/issues/browse/ZF-2718 A quickie that I'm usin

Re: [fw-general] 1.5 Release Candidate 1

2008-02-27 Thread Thomas Weidner
See into the Zend_Controller Documentation into the Migration Part. There has something changed in the usage of characters not following the standard. ( I translated this for the german docu yesterday, so dont ask me details :-) ) Hope it helps... Greetings Thomas Weidner, I18N Team Leader ht

[fw-general] 1.5 Release Candidate 1

2008-02-27 Thread Andries Seutens
Hey guys, I am testing the 1.5 Release Candidate 1 for backwards compatibility, and I encountered the following problem: I am trying to call the following controller/action: /clients.coaching/overview, this translates to ClientsCoachingController::overviewAction(). In the 1.0.3 release, whe

RE: [fw-general] Zend_Form_Element_Select speed / caching questions

2008-02-27 Thread Steven Brown
Hi Al, I think you may need to include the Select class before you load the object from cache. Cheers, Steven -Original Message- From: Alan Wagstaff [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 February 2008 9:12 AM To: Steven Brown Subject: Re: [fw-general] Zend_Form_Element_Select sp