[fw-general] Colorpicker example?

2011-03-24 Thread takeshin
Could you please show me an example how to use ZendX_JQuery_Form_Element_ColorPicker? There is nothing in the docs about this element. My element is added to the from, but it is still rendered as a text input. What do I miss? jQuery is imported, UI JS and CSS is included, onLoad code added. Now

[fw-general] Re: Zend_Config_Xml strange behaviour

2011-03-24 Thread umpirsky
I came up with an ugly workaround: if (0 !== $config-get('elements')-get('element')) { // } This helps me to identify if there is more then one elements under elements tag. Very ugly. Anithing smarter? -- View this message in context:

[fw-general] Re: default value not taken into account when validating a form

2011-03-24 Thread Sneakyvv
I'm having a similar problem... I'm also wondering why Zend_Form-validate($data) isn't validating against the default value (or current value for that matter) when the value isn't present in the $data array. What's the reason for this behavior? Should the code not be if

[fw-general] The March 2011 Bug-Hunt is Underway

2011-03-24 Thread Ralph Schindler
Hey all, In case you haven't seen the news, we are running the March 2011 bug hunt today, tomorrow and saturday. More information here: http://devzone.zend.com/article/13388 Need an issue to attack? There is no shortage:

[fw-general] Custom Decorators (buildErrors empty)

2011-03-24 Thread My Lists
Hello i'm using a custom decorator based on this example: http://framework.zend.com/manual/en/zend.form.decorators.html However i can't retrieve the errors message in the following function: public function buildErrors() { $element = $this-getElement(); $messages =

Re: [fw-general] Custom Decorators (buildErrors empty)

2011-03-24 Thread Hector Virgen
On Thu, Mar 24, 2011 at 11:33 AM, My Lists l...@eduardocury.net wrote: $element-getMessages(), returns empty. $element-getMessages() will be empty unless the element's value is invalid. Are you validating the form (or element) and passing in a known invalid value? -- *Hector Virgen* Sr. Web