[fw-general] Zend Form, JQuery, File_Element and ViewScript decorator.

2009-06-16 Thread Paweł Chuchmała
Hi.

Performance of Zend Form with 300 fileds it's very low, so I think to
use viewscript decorator.
How use it with jquery elements and File element?
If i create view scripts like in documentation and apply to alle
elements I have warnings:

Warning: Cannot render jQuery form element without at least one
decorator implementing the
'ZendX_JQuery_Form_Decorator_UiWidgetElementMarker' interface. Default
decorator for this marker interface is the
'ZendX_JQuery_Form_Decorator_UiWidgetElement'. Hint: The ViewHelper
decorator does not render jQuery elements correctly. in
/home/users/styx/www/lib/ZendFramework-1.8.1/library/Zend/Form/Element.php

And for file element:
Warning: No file decorator found... unable to render file element in
/home/users/styx/www/lib/ZendFramework-1.8.1/library/Zend/Form/Element.php
on line 1929

How create viewScripts for that elements?

Kind regards,
-- 
Paweł Chuchmała
pawel.chuchmala at gmail dot com


Re: [fw-general] Zend Form, JQuery, File_Element and ViewScript decorator.

2009-06-16 Thread Thomas Weidner

Read the FAQ:
http://framework.zend.com/wiki/display/ZFFAQ/Forms

PS: Having 300 elements in a form the usability is also slow... your poor 
users :-)


Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

- Original Message - 
From: "Paweł Chuchmała" 

To: "Zend Framework General" 
Sent: Tuesday, June 16, 2009 10:58 AM
Subject: [fw-general] Zend Form, JQuery, File_Element and ViewScript 
decorator.



Hi.

Performance of Zend Form with 300 fileds it's very low, so I think to
use viewscript decorator.
How use it with jquery elements and File element?
If i create view scripts like in documentation and apply to alle
elements I have warnings:

Warning: Cannot render jQuery form element without at least one
decorator implementing the
'ZendX_JQuery_Form_Decorator_UiWidgetElementMarker' interface. Default
decorator for this marker interface is the
'ZendX_JQuery_Form_Decorator_UiWidgetElement'. Hint: The ViewHelper
decorator does not render jQuery elements correctly. in
/home/users/styx/www/lib/ZendFramework-1.8.1/library/Zend/Form/Element.php

And for file element:
Warning: No file decorator found... unable to render file element in
/home/users/styx/www/lib/ZendFramework-1.8.1/library/Zend/Form/Element.php
on line 1929

How create viewScripts for that elements?

Kind regards,
--
Paweł Chuchmała
pawel.chuchmala at gmail dot com