ZF-5125: Marker Interface for UiWidgetElement Decorator

Issue Type: Improvement Created: 2008-12-01T10:57:56.000+0000 Last Updated: 2008-12-04T07:04:48.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Benjamin Eberlei (beberlei) Assignee: Benjamin Eberlei (beberlei) Tags: - ZendX_JQuery

Related issues: Attachments:


Implement a Marker Interface Pattern for the UiWidgetElement Decorator, that is in UiWidgetElement Form Elements we have to add a function "_checkWidgetMarkerInterface" that iterates over the decorators and throws an exception when no decorator with the UiWidgetElement marker interface is found (which leads to the concolusion that someone might try to use the ViewHelper for rendering, which does not work).


Posted by Benjamin Eberlei (beberlei) on 2008-12-04T07:04:46.000+0000

Will be implemented in 1.8 and constitute a small BC break, since current implementations that overwrite the ZendX_JQuery_Form_Decorator_UiWidgetElement have to also implement the ZendX_JQuery_Form_Decorator_UiWidgetElementMarker interface.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.