[ http://issues.apache.org/jira/browse/BEEHIVE-520?page=history ]
Daryl Olander resolved BEEHIVE-520:
-----------------------------------
Assign To: Krista Baker (was: Daryl Olander)
Resolution: Fixed
This was an oversite. I added the alt text to the information generated for
each tree and then update the alt text on the images when the source for the
image is updated.
This is a 508 complience issue.
There are a bunch of tests in the tree that do client expand/contract so I
didn't create an explicit test case.
> netui:tree RunAtClient alt image descriptions are not updated
> -------------------------------------------------------------
>
> Key: BEEHIVE-520
> URL: http://issues.apache.org/jira/browse/BEEHIVE-520
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Beta
> Reporter: Krista Baker
> Assignee: Krista Baker
> Attachments: Controller.jpf, J520.jsp
>
> When using a netui:tree which is runAtClient, if the imageRoot or imageNames
> are improperly specified or do not exist, the alt attributes for the images
> are displayed. These alt attribute values are not updated when a treeItem is
> expanded or collapsed. These items are only updated when a postback or
> refresh occurs to the page.
> Code snippet:
> <netui:tree imageRoot="" runAtClient="true" dataSource....>
> <netui:treeItem><netui:treeLabel>one</netui:treeLabel>
> <netui:treeItem>two</netui:treeItem>
> </netui:treeItem>
> </netui:tree>
> When the tree is rendered, (assuming the images are not found at ""), Expand
> Tree Element is the alt attribute for the image nodeCollapsed.gif, if this
> alt image is selected (expand the tree to show treeItem two), the alt
> attribute remains the same as Expand Tree Element even though the image src
> changes to nodeExpanded.gif. The alt attribute of the images should be
> updated when the images change and not just on a refresh of the page.
> Netui:tree configurations affected: All RunAtClient trees - static, dynamic,
> expandOnServer, etc.
> See attached repro.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira