Summary: | [error report widget] labelclass causes an error | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Fred Warnock <fwarnock@dmsolutions.ca> |
Component: | Widget | Assignee: | chameleon-dev <chameleon-dev@lists.maptools.org> |
Status: | NEW | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.99 | ||
Target Milestone: | FUTURE | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
What you are seeing is the fallback behaviour of the button object. The ErrorReport widget does not include a label object, so the label attribute is the label that should go on the button. However, if you do not supply a styleresource or an image, then the Button code cannot display anything for you. In this case, if you supply a label, it will display the label inside an href so that you still get the functionality of the button. This was not intended to be a real mode of operation for the Button widget. I think if we want to support this, we should rethink the attribute names to provide more complete support for displaying buttons as links and include CSS class/style support. I'm open to suggestions.