Re: [fw-general] Re: Custom dialogue box

2013-05-20 Thread Marco Pivetta
No, I'm just telling you to use whatever you want. ZF2 has no integration layer with any JS component. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 20 May 2013 18:03, developer07 wrote: > first of all thanks for your reply > I can't understand what do you mean you

[fw-general] Re: Custom dialogue box

2013-05-20 Thread developer07
first of all thanks for your reply I can't understand what do you mean you are suggesting to use JQuery with the JS part ? I'm working with Zend 1.12 and can't merge to zend 2 -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Re-Custom-dialogue-box-tp4660081

[fw-general] Re: Custom dialogue box

2013-05-20 Thread Marco Pivetta
Why don't you just code the JS part depending on your needs? ZF2 doesn't tie you to any particular JS framework/library, so you're free to work with any frontend lib as you wish. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 20 May 2013 12:37, developer07 [via Zend F

Re: [fw-general] Pass a string to DateTimeFormatter, return a DateTime?

2013-05-20 Thread Andreas Möller
> No, it should not return a DateTime, as that would break backwards > compatibility. Introduce alternate formatters/filters if you would > like that behavior. How about the NumberFormatter - same thing? Best regards, Andreas -- List: fw-general@lists.zend.com Info: http://framework.zend.com

[fw-general] ZF2.2 form element name wrapping behaviour change

2013-05-20 Thread Matus Zeman
Hi there, It looks like form element name "wrapping" does not work as in previous versions of ZF2. It's related to this commit: https://github.com/zendframework/zf2/commit/768c3d8347bd76ae86f1a6832e374cbe12c2cef1 To explain: Pre version 2.2: When you added "child" Form into a Form all element name

Re: [fw-general] Pass a string to DateTimeFormatter, return a DateTime?

2013-05-20 Thread Matthew Weier O'Phinney
On Sat, May 18, 2013 at 12:17 PM, Andreas Möller wrote: > not so sure about this, but I see the following related to > > * https://github.com/zendframework/zf2/pull/4495 > * https://github.com/zendframework/zf2/issues/4493 > > Should the DateTimeFormatter, when passed a string from which an instan

Re: [fw-general] Re: template names with dots in name aren't possible after Update to ZF2 2.2

2013-05-20 Thread Matthew Weier O'Phinney
Matus -- Please start a new thread for this so that the folks who filter on "form" in the subject will actually see this. On Mon, May 20, 2013 at 7:18 AM, Matus Zeman wrote: > Hi there, > not related to View component but it looks like that forms stopped working > as they used to in previous ver

[fw-general] Re: ZF2 - Stored procedure with out parameter

2013-05-20 Thread MichaelB
Ok i answer to my self... i hope it will help someone else too.. :-) public function save(MyStuff $vo) { // Get adapter $dbAdapter = $this->tableGateway->getAdapter(); $stmt = $dbAdapter->createStatement(); $stmt->prepare('CALL sp_save_mystuff(?,?, @out)');

Re: [fw-general] Re: template names with dots in name aren't possible after Update to ZF2 2.2

2013-05-20 Thread Matus Zeman
Hi there, not related to View component but it looks like that forms stopped working as they used to in previous versions. It's related to this commit: https://github.com/zendframework/zf2/commit/768c3d8347bd76ae86f1a6832e374cbe12c2cef1 To explain: Pre version 2.2: When you added "child" Form into

[fw-general] Re: template names with dots in name aren't possible after Update to ZF2 2.2

2013-05-20 Thread Bart van der Linden
I have the same problem after upgrading to ZF2.2And I can trace it back to the Zend\View\Resolver\TemplatePathStack::resolve method.In 2.1.5 resolve on line 299 tests for: if (pathinfo($name, PATHINFO_EXTENSION) != $defaultSuffix)in 2.2.0 this is changed to on line 302if (pathinfo($name, PA

[fw-general] ZF2 - Stored procedure with out parameter

2013-05-20 Thread MichaelB
Hi all, I can execute stored procedure, but how to retrieve the output value ? (worked with ZF1 but not ZF2) // This part work, is how i execute a stored procedure... public function save(MyStuff $vo) { // Get adapter $dbAdapter = $this->tableGateway->getAdapter(); $st

[fw-general] Re: ZF2 - Model with camelCase variables and edit form

2013-05-20 Thread MichaelB
Ok thanks, i found something in that link below. Now i use all my variables in model, form, inputFilter with camelCase Like i did in general and only in Module.php i created the custom hydrator that map my fields from database (with underscore) to camelCase.. I hope is the good method, but it works

[fw-general] Re: template names with dots in name aren't possible after Update to ZF2 2.2

2013-05-20 Thread guenterh
Hi Matthew >This is very odd; literally the only change in 2.2 (and I think it was >in 2.1.5 as well) was this one: >https://github.com/zendframework/zf2/pull/3996 >In looking at your examples, one thing leaps to mind: the template >names typically should not have a suffix applied, as the resolv