Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

For example,

stylesheet.xss:

Code Block
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  <styleSheet>
    <style applyTo="cell">
      <normal fontItalic="true" 
       onCreate="macro://addRow.execute('Create')" 
       onDoubleClick="macro://addRow.execute('DoubleClick')" 
       onMouseDown="macro://addRow.execute('MouseDown')" 
       onMouseUp="macro://addRow.execute('MouseUp')"/>
    </style>

...


</styleSheet>

Contents of cells inside table can now be aligned vertically
Support has been added to allow table cell contents to be aligned vertically. The name of this attribute for each syntax is, "alignVertical" (NXML), and "verticalAlignment" (XAL). This attribute has the following three values: "top|bottom|center". Details of this attribute have been added to the schema documentation.

...

Code Block
public void onAttributeSet(AttributeChangeEvent arg0) {
  try {
  ThreadBasedSynchronizer.pushSynchronizationState(true);
  // change some attributes... }
  finally {
    ThreadBasedSynchronizer.popSynchronizationState(true);
  }
}

Defects Resolved (Java)

 

6882Java Client: Using "px" as table row height has no effect
7004712-3701912 - Scrollbars on drop down lists not showing everything
7711Value selected by custom editor comboBox is not displayed in a quickEdit table
7955Cell and listItem ignore style precedence
7972alignVertical attribute of cell should be fully supported
7973Events can not be added to elements in stylesheets
8026NullPointerException by exchange of a row position
8032Value selected by comboBox editor will not update cell in a quickEdit table
8234Dialog's width and height do not automatically update after size change of child pane
8350Cutting text using Ctrl+X does not generate an onTextChange event
8351A mouse wheel becomes invalid after selecting menuitem
8369NPE occurs when an element with "selectedStyle" is added to UI Document
8448712-4905380 - InvalidXmlException when height of listItem given in "px"
8639Uncommitted IME text is not being cleared when handling a setText via onBeforeActiveLost
8694Abnormal movement of the focus after closing popupMenu
8695onBeforeActiveLost event does not occur after popupMenu closes
8696When popup closes, onBeforeActiveLost event always occurs
8707Unable to expand tree node when lockedcolumn is being used by treetable
8715onTextChange event does not occur by Undo/Redo
8727Text of widget is not displayed after a macro and xmodify is used to refesh table
8787712-5056583 - onMouseDrag event is not in schema documentation
8793Styling of widgets (except cell) when inside a table does not work
8794popup is not given focus when made visible - inconsistent with popupMenu
8795An unnecessary space is displayed in gridpane (gridlayout) when using "gridColumnSpan"
8822712-5072564 - horizontalFlowPane does not fill parent element vertically
8827FocusService's getCurrentFocus() cannot get combobox element
8836When comboBox has focus, the onCommand event of button by accessKey is fired two or more times
8837A mouse wheel becomes invalid after focusing comboBox
8839Link in treeTable does not restore the color of links after mouse over
8851The information changed by AttributeChangeListener does not synchronize with ServerDOM
8855When the update of a client occurs by a server response, ServerDOM does not synchronize
8858comboBox not set to correct width when width attribute is explicitly set
8863Unable to expand tree when lockedColumn is being used by treetable
8871712-5181390 712-5233153 - popMenu does not close after moving focus to another UI widget
8993712-5328616 - Right click will reselect selection state
9019Window re-centers itself after pane redraws