[A&E] Last Call comments (2): discovery & localization

The below comments refer to:

Widgets 1.0: The widget Interface

Editor's Draft 14 September 2009



5.1

Configuration Attributes Table does not contain features/params.

We may assume that when the widget gets installed and loaded, the mandatory (@required=true) features were present/accessible.

However, the widget does not know whether the optional features (@required=false)  are present/accessible.

Therefore, I suggest adding the list of available features to the widget object. E.g. as an array of IRI or by means of a query API (or shall hasFeature() work? Not sure why it was removed from the previous WD) so that the widget could discover the available components/features.



5.1

Localization

Shall it be possible for the widget to programmatically discover the localization path it was loaded from (section 9 of P&C)?

[ I understand the folder-based and element-based localizations are specified in P&C and wonder why it is not possible to programmatically discover the localization that was applied (it could also help with testing IMHO). ]

Marcin Hanclik
ACCESS Systems Germany GmbH
Tel: +49-208-8290-6452  |  Fax: +49-208-8290-6465
Mobile: +49-163-8290-646
E-Mail: marcin.hanclik@access-company.com

________________________________
________________________________________

Access Systems Germany GmbH
Essener Strasse 5 | D-46047 Oberhausen
HRB 13548 Amtsgericht Duisburg
Geschaeftsfuehrer: Michel Piquemal, Tomonori Watanabe, Yusuke Kanda

www.access-company.com

CONFIDENTIALITY NOTICE
This e-mail and any attachments hereto may contain information that is privileged or confidential, and is intended for use only by the
individual or entity to which it is addressed. Any disclosure, copying or distribution of the information by anyone else is strictly prohibited.
If you have received this document in error, please notify us promptly by responding to this e-mail. Thank you.

Received on Tuesday, 15 September 2009 21:30:44 UTC