Re: [fw-general] Zend_Nav how to set an id to elements

2009-09-10 Thread admirau
Mike974 wrote: > > > For now just the problem I can't set an id for elements, is there any > way to do it ? > > Look at the docs for Zend View Helper Navigation, http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.navigation and then use renderPartial()

Re: [fw-general] Zend_Navigation id attribute

2009-09-10 Thread admirau
Daniel Latter-2 wrote: > > What about the params key? > > 'params' => array('id' => 'value') > And where should I put this? As an option for renderMenu() does not work. -- regards takeshin -- View this message in context: http://www.nabble.com/Zend_Navigation-id-attribute-tp25388415p253

Re: [fw-general] Zend_Navigation id attribute

2009-09-10 Thread Daniel Latter
What about the params key? 'params' => array('id' => 'value') Thanks 2009/9/10 admirau > > How to set HTML ID attribute for first UL rendered with Zend_Navigation? > (for menu view helper). > > I saw similar problem here, > but no answers at all. > > > http://www.nabble.com/Zend_Navigation-Men

[fw-general] Zend_Navigation id attribute

2009-09-10 Thread admirau
How to set HTML ID attribute for first UL rendered with Zend_Navigation? (for menu view helper). I saw similar problem here, but no answers at all. http://www.nabble.com/Zend_Navigation-Menu-view-helper%2C-need-an-id-for-rendered-UL-td23498604.html -- regards takeshin -- View this message in

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread Chris Murray
beberlei wrote: > > The approach you are describing is misusing Zend Entity as a data access > layer only, however its purpose is really managing of object identities. > Although its possible to dynamically set a different metadata model based > on properties its really not recommended at all an

[fw-general] Problem registering plugin for module-based layouts

2009-09-10 Thread drpudding
I am new to Zend and Nabble, but have searched many places for a solution before posting. I have implemented a simple module directory structure with 2 modules (admin & public) like so: application --configs --models --modules bootstrap.php admin (module1) ---controllers ---layou

Re: [fw-general] the resources.modules[] entry

2009-09-10 Thread andeeh
keith Pope-4 wrote: > > I always use prefixDefaultModule = true so that everything is nicely > namespaced and I get no clashes in the future, also I put everything > within the modules directory apart from a few global helpers etc,. > I just did too. Thanks for your help. Looks good. Much clea

Re: [fw-general] the resources.modules[] entry

2009-09-10 Thread keith Pope
2009/9/10 andeeh : > > > keith Pope-4 wrote: >> >> You need to specify the default module: >> >> resources.frontcontroller.moduledirectory = APPLICATION_PATH"/modules" >> resources.frontcontroller.defaultmodule = "myModule" >> resources.frontcontroller.params.prefixDefaultModule = true >> > > Thank

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread keith Pope
2009/9/10 Benjamin Eberlei : > > Hello Keith, > > yes there are plans, however i haven't found somebody for this task yet :-) > Do you have time? :-) From the Zend_Db_Mapper_SqlQuery and SqlQueryBuilder > objects > you can already see that building your own query object is not too complex > and can

Re: [fw-general] the resources.modules[] entry

2009-09-10 Thread andeeh
keith Pope-4 wrote: > > You need to specify the default module: > > resources.frontcontroller.moduledirectory = APPLICATION_PATH"/modules" > resources.frontcontroller.defaultmodule = "myModule" > resources.frontcontroller.params.prefixDefaultModule = true > Thanks for your speedy reply. So d

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread Benjamin Eberlei
Hello Keith, yes there are plans, however i haven't found somebody for this task yet :-) Do you have time? :-) From the Zend_Db_Mapper_SqlQuery and SqlQueryBuilder objects you can already see that building your own query object is not too complex and can be done as a standalone task. greetings,

[fw-general] Re: Zend_Validate_NotEmpty and unchecked radio button marked as required fields

2009-09-10 Thread Martin Carpentier
Hi, I'm sorry to bring this up again but I'm really surprised there's been no reply regarding this problem yet. Can anyone confirm if it's a real issue, in which case I'll open a ticket, or if it's now the desired behavior of Zend_Validate_NotEmpty for null values? Martin Carpentier On Tue, Se

Re: [fw-general] the resources.modules[] entry

2009-09-10 Thread keith Pope
You need to specify the default module: resources.frontcontroller.moduledirectory = APPLICATION_PATH"/modules" resources.frontcontroller.defaultmodule = "myModule" resources.frontcontroller.params.prefixDefaultModule = true 2009/9/10 andeeh : > > Hi All. > > I've configured my default project to

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread keith Pope
2009/9/10 Benjamin Eberlei : > > The approach you are describing is misusing Zend Entity as a data access > layer > only, however its purpose is really managing of object identities. Although > its possible to dynamically set a different metadata model based on > properties > its really not recomme

[fw-general] Place to put Form settings

2009-09-10 Thread Diego Potapczuk
Hi, In my application, i have a lot of Forms, and i have some settings that are the same for all of them, like removing decorators and setting new ones, i have extended Zend_Form and some Form_Elements to do this, but want to know if there is a better way, like Zend Controllers Helpers and Plugins

[fw-general] the resources.modules[] entry

2009-09-10 Thread andeeh
Hi All. I've configured my default project to incorporate modules. I have a module called admin. The default module is just in the regular application folder (is not a folder called "default" under modules folder I think that's ok). There a line in my config: resources.modules[] = "" ...which

Re: [fw-general] Default project structure - forms directory

2009-09-10 Thread Matthew Weier O'Phinney
-- Eugene Morgan wrote (on Wednesday, 09 September 2009, 04:28 PM -0500): > On the manual page for default project structure > (http://framework.zend.com/manual/en/project-structure.project.html), > shouldn't there also be a /forms/ directory under "application"? Yes -- as well as under the modul

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread Benjamin Eberlei
The approach you are describing is misusing Zend Entity as a data access layer only, however its purpose is really managing of object identities. Although its possible to dynamically set a different metadata model based on properties its really not recommended at all and there will be no support w

[fw-general] SubForm and Element::getId()

2009-09-10 Thread Václav Vaník
Hi, I see now, if I have an element in subform (ZF 1.9.2), getId() method returns only partial id, it means id is not in subformName-elementName style. In 1.8.2 version is id correct. Is it a bug or new feature? -- View this message in context: http://www.nabble.com/SubForm-and-Element%3A%3Age

[fw-general] Remove default routes, but keep the 404 errors

2009-09-10 Thread Jurian Sluiman
Hi all, With the cms I'm building I'd prefer it's only possible to access the defined urls from the cms. The default urls :module/:controller/:action should be disabled. Nevertheless, disabling those urls by Zend_Controller_Router_Rewrite::removeDefaultRoutes() stops the application to return

Re: [fw-general] zend_form:display validation and error messages

2009-09-10 Thread riyas
Chris, thanks for your replay. My problem still not solved Defining hidden fields like $moduleName = $this->createElement('hidden','moduleName'); $moduleName->setValue(moduleName); $controllerName = $this->createElement('hidden','controllerName'); $controllerName->se