Opened 14 years ago

Closed 14 years ago

#357 closed defect (fixed)

LinkToView cannot be displayed on Statusbar

Reported by: liuar Owned by: madair
Priority: P2 Milestone: 2.0
Component: Widgets Version: 1.1.1
Severity: Major Keywords:
Cc: jennyhe Browser: All
External ID: 1297286 Operating System: All
state: New

Description

  1. Add linktoview to Status Bar panel.
  2. Open the flexible web layout in IE.


Results:
Nothing display on the status bar.

Expected results:
It should be displayed as "LinkToView".

Attachments (1)

LinkToView.patch (1.1 KB ) - added by liuar 14 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by liuar, 14 years ago

Summary: LinkToView cannot be displayed on StatusbaLinkToView cannot be displayed on Statusbar

Analysis:
In revision 1733, this.domObj.appendChild(this.anchor) was removed from the initializeWidget function and added to the setUiObj function. if the LinkToView widget is added to StatusBar, it will not be assigned any uiClass, so the setUiObj function will never be called. That's why the widget can not be displayed on StatusBar.

Resolution:
If the widget has domObj at initialize time, we just append it to the domObj, else wait until setUiObj is called.

by liuar, 14 years ago

Attachment: LinkToView.patch added

comment:2 by madair, 14 years ago

Milestone: Future2.0
Resolution: fixed
Status: newclosed

patch has been applied to trunk

Note: See TracTickets for help on using tickets.