Re: [fw-general] Why should I use ACL ?

2009-08-22 Thread joostvanveen
No one's forcing you, of course. Using ACL 1. is a standardized means of access control, meaning it will be easier to have somebody working on your project, should you have to. 2. works with other data resources than a database as wel, so your code will become more portable. -- View this messag

[fw-general] sub-subForm not namespaced correctly?

2009-08-22 Thread admirau
When I create a form, add subForm (1), and then a subForm to this subForm (2), id attribute of subForm (2) are not prepended with name of subForm(1). How to fix that? I saw there was a similar bug with display groups. -- regards takeshin -- View this message in context: http://www.nabble.com/

Re: [fw-general] Inserting a text string or paragraph into Zend_Form

2009-08-22 Thread Elvin Şiriyev
or element1; ?> TEXT element2; ?> On Fri, Aug 21, 2009 at 11:40 PM, Eugene Morgan < eugenemorganrea...@gmail.com> wrote: > The quick way is to use the Description decorator as follows ... > $textElement = new Zend_Form_Element('someElement'); > $textElement->setDescription('TEXT'); > > If you ar

Re: [fw-general] Segmentation fault

2009-08-22 Thread Elvin Şiriyev
And with $ sudo php -v it is working. but running zf as root there is same error. 2009/8/23 Elvin Şiriyev > i think it is fault of php-cli. because of that : > > $ php -v > PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 23 2009 > 14:35:05) > Copyright (c) 1997-2008 The PHP

Re: [fw-general] Segmentation fault

2009-08-22 Thread Elvin Şiriyev
i think it is fault of php-cli. because of that : $ php -v PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 23 2009 14:35:05) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies Segmentation fault PHP version : 5.2.6-3ubuntu4.1 ZF v

Re: [fw-general] Segmentation fault

2009-08-22 Thread Matthew Weier O'Phinney
-- Elvin Şiriyev wrote (on Sunday, 23 August 2009, 12:49 AM +0500): > I don't know why i get that error message. please help. thanks. > > $ zf show version > Segmentation fault Can you tell us: * what version of ZF you are using * what version of PHP you are using * what OS you are using (and

Re: [fw-general] Resource autoloader usage

2009-08-22 Thread Matthew Weier O'Phinney
-- Gabriel Malkas wrote (on Saturday, 22 August 2009, 06:39 PM +0200): > I was wondering if it was a bad idea to use Zend_Loader_Autoloader_Resource > with a basePath pointing at my 'application' directory. I use a non-modular > directory structure, like so : > application/ > application/models >

[fw-general] Segmentation fault

2009-08-22 Thread Elvin Şiriyev
I don't know why i get that error message. please help. thanks. $ zf show version Segmentation fault

[fw-general] Resource autoloader usage

2009-08-22 Thread Gabriel Malkas
Hi everyone, I was wondering if it was a bad idea to use Zend_Loader_Autoloader_Resource with a basePath pointing at my 'application' directory. I use a non-modular directory structure, like so : application/ application/models application/forms application/controllers application/views I want to

[fw-general] Why should I use ACL ?

2009-08-22 Thread debussy007
Hi, I have stored my resources, the priveleges, and the roles (user groups) are stored in my DB. (And I'm sure many of you have the same) Thus, to check if a role may access a resource, I could just query the DB for it, everything is in there. Why should I use ACL ? I'm confused ... -- View t

Re: [fw-general] Zend_Oauth + Zend_Service_Twitter: Zend_Oauth_Token_Access::toQueryString() error

2009-08-22 Thread Pádraic Brady
Wenbert, Update from the Inbubator and try again - I have some uncommitted work on OAuth and Zend_Crypt I'm finishing. I committed a change on Zend_Oauth_Token_Access which I think is the cause of the error. Paddy Pádraic Brady http://blog.astrumfutura.com http://www.survivethedeepend.com Op

[fw-general] Zend_Oauth + Zend_Service_Twitter: Zend_Oauth_Token_Access::toQueryString() error

2009-08-22 Thread wenbert
hello, I am getting this error: Catchable fatal error: Argument 2 passed to Zend_Oauth_Token_Access::toQueryString() must implement interface Zend_Oauth_Config_Interface, instance of Zend_Oauth_Client given, called in /htdocs/twitter/library/Zend/Oauth/Client.php on line 131 and defined in /

Re: [fw-general] Error Plugin and Zend Application - cant get it to work

2009-08-22 Thread keith Pope
2009/8/22 Ian Warner : > My code in my bootstrap > > As you can see my error handler is in a module > > I have > resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" > to load modules > >     $this->bootstrap('frontController'); > >     $options = array( >   'modu

Re: [fw-general] Another multitier approach SERVICE and DAO

2009-08-22 Thread keith Pope
Services are available via the module autoloader, so if you have modules initialized via the modules resource plugin you can do: new ModuleA_Service_x Your services would be stored in: moduleA - services This is part of the resource autoloader, for dao you can add a custom resource type. You m

[fw-general] Another multitier approach SERVICE and DAO

2009-08-22 Thread tomascejka
Hi, I am newbee and study ZF and I would like separate Model logic to another tiers Service and Dao. Application assumptions that service and dao tier will be shared and accessed from any module. Dao object is object extends Zend_DB. Service will be my implementation. Application filesystem: |-

Re: [fw-general] Zend Dojo Dijit layout issue using Zend_Dojo_View_Helper

2009-08-22 Thread JensW
Try to define width and height for the html html {width:100%; height:100%} Otherwise try absolute pixel values in the border container definition. hth Jens -- View this message in context: http://www.nabble.com/Zend-Dojo-Dijit-layout-issue-using-Zend_Dojo_View_Helper-tp24596067p25092252.

[fw-general] Error Plugin and Zend Application - cant get it to work

2009-08-22 Thread Ian Warner
My code in my bootstrap As you can see my error handler is in a module I have resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" to load modules $this->bootstrap('frontController'); $options = array( 'module' => 'exception', 'controll

[fw-general] test

2009-08-22 Thread Ian Warner
test

Re: [fw-general] Zend_Validate_* Help

2009-08-22 Thread J DeBord
On Mon, Aug 17, 2009 at 9:24 PM, Shawn Iwinski (siwinski) < siwin...@cisco.com> wrote: > I am having issues using the Zend_Validate_* classes. For all of the > validation classes that I have been using, I have been getting an “Invalid > type given, value should be float, string, or integer” erro