[fw-general] Zend_Form + subforms and setBelongsTo("x")

2011-11-24 Thread Fernando Andre
Hello, I'm having a problem with Zend_Form trying to set up a group of Text boxs + combo box I whant to set a group like Service[0] [typeofservice] = "XXX"; Service[0] [numberofservice] = "XXX"; Service[0] [typeofservice2] = "XXX"; Service[0] [numberofservice2] = "XXX"; Service[1] [typeofs

[fw-general] Re: Using Zend_View from command line

2011-11-24 Thread Fernando Andre
Hello, I think by logic you shouldn't be passing a view to the service layer, you should have split those... Has in: View calls -> Service passing it the data to be sent and not passing the view to the service Console script calls -> Service passing the same info Anyway I would recomend you che

[fw-general] Re: Zend_Form + subforms and setBelongsTo("x")

2011-11-26 Thread Fernando Andre
Problem solved I removed belongsTo in the field elements set isArray(true) on the forms. And this: $form->addSubForm($this->verServico($i), "servico" . $i); moved to this: $form->addSubForm($this->verServico($i), $i); -- View this message in context: http://zend-framework-community.634137.n4.n

[fw-general] ZF1 Zend_Form dissolveArrayValue( $value, $arrayPath ) issue

2012-04-20 Thread Fernando Andre
Hello, I'm not sure what is the expected behavior of this but I have found this issue... I have a form Client that includes a subform "phone" (holds the phone service of the client) When setDefaults is called to fill the default values of it's form and subforms a "collision" occurs between the na