[
https://issues.apache.org/jira/browse/XAP-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Turyn, Michael resolved XAP-225.
--------------------------------
Resolution: Fixed
Basic attribute removal: on removing an attribute "foo", if there's a
this.attributeRemovers["foo"]
it will run it, otherwise it will just do
this.getRootDomNode.style["foo"] = "" ;
Reopen this with specific attribute problems (e.g., "Removing
aGoogleMarker.opacity isn't updating the DOM"), if necessary. It probably will
be so, because though the general method works all right with the basic
attributes (extent/font/colouring/borders), specific widgets will need
specified methods---see the changes in WindowBridge for an example:
xap.widgets.dojo.WindowBridge.attributeRemovers["title"]
> Widgets: All widgets: Removing an attribute doesn't update widget
> -----------------------------------------------------------------
>
> Key: XAP-225
> URL: https://issues.apache.org/jira/browse/XAP-225
> Project: XAP
> Issue Type: Bug
> Components: Widgets
> Reporter: Trevor Oldak
> Priority: Critical
>
> 1) Create a button.
> 2) Set borderWidth to 10px
> 3) Remove the borderWidth attribute
> The border remains it's original width, but the XAL dom is updated. The HTML
> DOM is not updated.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.