You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org> on 2007/01/03 21:16:27 UTC

[jira] Created: (XAP-225) Widgets: All widgets: Removing an attribute doesn't update widget

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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (XAP-225) Widgets: All widgets: Removing some attributes doesn't change anything.

Posted by "Scott Boyd (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Boyd reassigned XAP-225:
------------------------------

    Assignee: Turyn, Michael

> Widgets: All widgets: Removing some attributes doesn't change anything.
> -----------------------------------------------------------------------
>
>                 Key: XAP-225
>                 URL: https://issues.apache.org/jira/browse/XAP-225
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets: Other
>            Reporter: Trevor Oldak
>         Assigned To: Turyn, Michael
>            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.


[jira] Updated: (XAP-225) Widgets: All widgets: Removing some attributes doesn't change anything.

Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trevor Oldak updated XAP-225:
-----------------------------

    Summary: Widgets: All widgets: Removing some attributes doesn't change anything.  (was: Widgets: All widgets: Removing an attribute doesn't update widget)

> Widgets: All widgets: Removing some attributes doesn't change anything.
> -----------------------------------------------------------------------
>
>                 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.


[jira] Reopened: (XAP-225) Widgets: All widgets: Removing an attribute doesn't update widget

Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trevor Oldak reopened XAP-225:
------------------------------


Failed removeAttribute attributes:
Text
Autowrap
RichText
selectable
horizontalAlignment
verticalAlignment
BackgroundImage (causes default backgroundImage to tile)
image
imageDisabled
disabled
imageMouseOver
imageMouseDown
imgWidth
imgHeight
vert/horiz textToImagePlacement
x
y
visible
toolTip
selected
selected images
selectionMode

> 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.


[jira] Resolved: (XAP-225) Widgets: All widgets: Removing an attribute doesn't update widget

Posted by "Turyn, Michael (JIRA)" <xa...@incubator.apache.org>.
     [ 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.