[fw-general] Bugs in validators because of locale.

2009-01-01 Thread Taco Jung
Bangs head to wall, sorry I just noticed I was passing an array in some other code. Delete the issue and move on. Sorry my fault! -- Forwarded message -- From: Taco Jung Date: Thu, Jan 1, 2009 at 8:26 PM Subject: Bugs in validators because of locale. To: Zend Framework General

[fw-general] Bugs in validators because of locale.

2009-01-01 Thread Taco Jung
Hi, I noticed a bug in Zend_Validate_Int and several related validators (like Float) that use Zend_Locale. Here's the error: Warning: preg_match() expects parameter 2 to be string, array given in C:\Workspace\Zend Framework (Core)\library\Zend\Locale\Format.php on line * 517* The code that cause

Re: [fw-general] Using 2 databases with Zend_Db, when you have the same model.

2008-12-28 Thread Taco Jung
Hi Martijn, I got the point, but I wasn't talking about 1 application accessing both a public and private database. I was talking about a public application accessing the public database and an admin application that needs to access both. The menu bit I mentioned are equal in both databases, with

Re: [fw-general] Using 2 databases with Zend_Db, when you have the same model.

2008-12-22 Thread Taco Jung
datamappers that call each other, map the database relationships and use Zend_Db_Table as a gateway to the tables themselves. However, the problem also arises when I use Zend_Db_Table in a datamapper. Regards, TJ. On Mon, Dec 22, 2008 at 8:02 PM, Ralph Schindler wrote: > Taco Jung wrote: >

[fw-general] Using 2 databases with Zend_Db, when you have the same model.

2008-12-22 Thread Taco Jung
Hi, I'm in the situation where I need to access tables in different databases and looking for a "good" way of using Zend_Db with multiple databases. Some background, I separated the public and admin area in my project and use 2 databases (admin and public) to reflect that separation. In both data

Re: [fw-general] Zend_Loader_PluginLoader problems - fix found?

2008-10-09 Thread Taco Jung
Matthew, Yup, fixed. Regards, TJ. On Thu, Oct 9, 2008 at 4:06 PM, Bart McLeod <[EMAIL PROTECTED]> wrote: > tested, fix comfirmed. > > What a speed! Thanks, > > Bart > > Matthew Weier O'Phinney schreef: > > -- Bart McLeod <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote > (on Thursday, 09 October

Re: [fw-general] Commit 11606 seems to have broken Zend_Translate

2008-10-03 Thread Taco Jung
Hi Alex, Same here, but I don't think it is revision 11606 that causes the trouble, but rather Matthew's commit (rev. 11629). Regards, TJ. On Fri, Oct 3, 2008 at 8:55 PM, Alex <[EMAIL PROTECTED]> wrote: > Hello, > > Commit 11606 by "thomas" seems to have broken something Translate related. >

Re: [fw-general] Zend_Translate TMX doesn't downgrade?

2008-09-06 Thread Taco Jung
I do think there's a bug at line 298 in adapter.php: if (!isset($this->_translate[$locale])) { should be: if (empty($this->_translate[$locale])) { Then it works. I already notified Thomas about this. Regards, TJ. On Sat, Sep 6, 2008 at 5:12 PM, Giuliano Riccio <[EMAIL PROTECTED]>wrote: > >

Re: [fw-general] Zend_Translate TMX doesn't downgrade?

2008-09-05 Thread Taco Jung
hed language you must add it's source. > > Example: > You add "nl" and "en"... > So you can not set "fr". > > Also you have not set "nl_NL" so you can't set it as language to use for > default translations. > > Greetings

Re: [fw-general] Zend_Translate TMX doesn't downgrade?

2008-09-05 Thread Taco Jung
file you just defined "en" and "nl"... but no > other language. > So you can only set those two languages for translation as no other was > defined. > > Greetings > Thomas Weidner, I18N Team Leader, Zend Framework > http://www.thomasweidner.com > > - O

Re: [fw-general] Zend_Translate TMX doesn't downgrade?

2008-09-05 Thread Taco Jung
Thomas, The nl (not nl_NL) translations are in the source file: http://www.lisa.org/tmx20";> Toevoegen Add I'm trying to autohandle the languages, so I'm especially interested in your remark about "The locale parameter is ignored for s

Re: [fw-general] Zend_form, InArray Validator configuration question.

2008-08-19 Thread Taco Jung
Ah, that would explain it. But it's not consistent with the other options like required=false. On Wed, Aug 20, 2008 at 5:15 AM, Matthew Weier O'Phinney <[EMAIL PROTECTED]>wrote: > -- Codiac <[EMAIL PROTECTED]> wrote > (on Tuesday, 19 August 2008, 01:11 PM -0700): > > I ran into trouble when tryi

Re: [fw-general] Zend_Form select element validation error, after changes in revision 10523.

2008-08-08 Thread Taco Jung
ged lately, so I would expect my custom view helper to work properly. Unless you forsee some intertwined connection between the helper, element and validator??? Regards, TJ. On Thu, Aug 7, 2008 at 10:12 PM, Matthew Weier O'Phinney <[EMAIL PROTECTED]>wrote: > -- Taco Jung <[EMAIL PRO

Re: [fw-general] Zend_Form select element validation error, after changes in revision 10523.

2008-08-07 Thread Taco Jung
Matthew, You're right, __addition__. I had my compare views mixed up in Eclipse. "This behavior was added by default as it was an oft-requested feature with many votes." That would be because you can check if the value passed by the user, is actually a value allowed (registered in the stack)? If

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

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

Re: [fw-general] ambiguos vs. ambiguous vs. ambigous

2008-07-22 Thread Taco Jung
It's ambiguous and could you please report these issues at Jira, if it works On Tue, Jul 22, 2008 at 7:27 PM, Jan Pieper <[EMAIL PROTECTED]> wrote: > Someone knows the correct spelling? Zend_Auth_Result is using ambig[uo]s, I > only know ambig[ou]s and google also found ambig[uou]s. > > -- Ja

Re: [fw-general] in latest standard trunk: decorators seem to have escaped from their original logic.

2008-07-17 Thread Taco Jung
Thanks Matthew, I think I just figured that out myself! Regards, TJ. On Thu, Jul 17, 2008 at 8:21 PM, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > -- Codiac <[EMAIL PROTECTED]> wrote > (on Thursday, 17 July 2008, 10:39 AM -0700): > > I have to retract my previous mail, stating the iss

Re: [fw-general] in latest standard trunk: decorators seem to have escaped from their original logic.

2008-07-17 Thread Taco Jung
Hi, Sorry for all the spam I've been spitting out, but I've found out that this XML config setup works! Is this the way it's supposed to work? Regards, TJ. StripTags

Re: [fw-general] in latest standard trunk: decorators seem to have escaped from their original logic.

2008-07-16 Thread Taco Jung
s the first tag and that removed all 's and screwed up my texts. Regards, TJ. On 7/17/08, Taco Jung <[EMAIL PROTECTED]> wrote: > > Matthew, > > Didn't help. Like I said before, the options are being passed, but by the > time $this->getFilters() gets called. The t

Re: [fw-general] in latest standard trunk: decorators seem to have escaped from their original logic.

2008-07-16 Thread Taco Jung
t;[EMAIL PROTECTED]> wrote: > -- Taco Jung <[EMAIL PROTECTED]> wrote > (on Wednesday, 16 July 2008, 09:27 PM +0200): > > I've checked Zend_Form_Element's flow. All the filters are set correctly, > up > > till $this->addFilter(): > > > > > &g

Re: [fw-general] in latest standard trunk: decorators seem to have escaped from their original logic.

2008-07-16 Thread Taco Jung
Matthew, I've checked Zend_Form_Element's flow. All the filters are set correctly, up till $this->addFilter(): Array([StripTags] => Array([filter] => StripTags [options] => Array( [allowedTags] => ) ) ) However by the time $this->getFilters() get

Re: [fw-general] in latest standard trunk: decorators seem to have escaped from their original logic.

2008-07-16 Thread Taco Jung
Matthew, Let me know if you need something. I tried running through the application flow end-to-end, figured it could also be a Zend_Config_Xml related problem, but that doesn't seem to the case. Still investigating though. Regards, TJ.

Re: [fw-general] in latest standard trunk: decorators seem to have escaped from their original logic.

2008-07-16 Thread Taco Jung
Matthew, What do you need to reproduce it? The controller, config, view, etc.? TJ. On Wed, Jul 16, 2008 at 7:32 PM, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > -- Codiac <[EMAIL PROTECTED]> wrote > (on Wednesday, 16 July 2008, 10:16 AM -0700): > > I've updated to the latest svn version

Re: [fw-general] Our new Zend Framework Architect

2008-04-07 Thread Taco Jung
Matthew, Indeed congratulations! Perhaps we should start calling you Mr. ZF ;-). Regards, Taco.

Re: [fw-general] Zend_Form now in core!

2008-02-18 Thread Taco Jung
"I'm happy to report that Zend_Form is now in core!" I would be happy to Matthew, considering your (and everyone else for that matter) effort on this component ;-)! Great work! Regards, Codiac.