New features 新しい機能(Java) Table quickEdit enhancements
table のquickEdit 機能を強化した:
...
- 追加された属性: quickEditHorizontalNavigationKeys
...
- cellを水平方向に移動するときにナビゲーションキーが設定できる。次の属性値を指定する。
- arrows: デフォルト値。右矢印キー、左矢印キーで水平方向に移動する。矢印キーで移動しrowの端にきたとき次の行に遷移する(オートラップ機能)。
- tabs: タブキー、Shift+タブキーを使って水平方向に移動する。
- all: 矢印キー、タブキーどちらも水平方向に移動する。
Code Block |
---|
<table quickEditHorizontalNavigationKeys="tabs" selectionMode="singleCell" quickEdit="true" height="210px" width="310px" x="400px" y="160px"/> |
...
- column editor
...
onEdit event now only fires if the text value actually
Table Sorting
Column sorting now supports checkBox and radioButton. Checkboxes and radioButtons will be sorted first on their selected values, with ties being broken by the text attribute.
XAL Schema Improvements
Both the Ajax and Java XAL schemas have been updated with numerous improvements, both fixing errors and improving the overall utility of the schemas to assist with development in Studio. The improved schema documentation is now installed with the platform builds to [platform installation directory]/docs
Defects Resolved (Java)
...
- の改良
column editor (textField とcomboBox)を指定したばあのquickEdit の動作(セルの移動、編集の開始、終了)を改良した。 - onEdit
テキストが変更されていない場合onEditイベントが発生しないよう修正した。
テーブルのソート: checkBox とradioButtonを含むカラムのソートができるようになった。checkboxe とradioButtonは、最初にselectedの属性値でソートされ、つぎにテキストでソートされる。
XAL スキーマの改良
Java版、Ajax版どちらもXALのスキーマについて多くの点を改良した。開発時にStudioで発生するエラーにも対応した。改良したスキーマドキュメントは、[Platformインストールディレクトリ]/docsにインストールされる。
修正された不具合(Java)
4929 | Tableで編集可能なcell がクリックされonEdit が呼ばれたときテキストが変更されずフォーカスが外れる |
5850 | キーイベントでウィジェットを移動するときに正常に動作しない |
6266 | 712-4738989, 712-2590165, 712-2791131, 712-4308269 - Sorting table columns which contain checkBoxes and radioButtonstable がcolumnsにcheckBoxes やradioButtonsを含むときソートされない |
7220 | Mco execute schema doc links to のスキーマドキュメントが"page not found"となる |
7221 | schemaスキーマ: macro documentation uses xu prefix instead of xmドキュメントでxmではなくxuが使われている |
7227 | schemaスキーマ: In the Ajax Schema, elements and attributes are listed which are only available in JavaAjax のスキーマで、Javaでしかサポートされていないエレメントと属性が記述されている |
7386 | Schema documentation is not installed with the platformスキーマドキュメントがインストールされない |
7432 | schema: footerRow needs to be removed from the tree schemaスキーマ: tree スキーマからfooterRowを削除する |
7651 | 712-4287658 CtrltextField でCtrl-X not firing onTextChange event for textFieldで編集してもonTextChange イベントが発生しない |
7684 | change timing of "cursorIndex" attribute属性の更新のタイミングが正しくない |
7699Add | capabilities to test Drag&Drop event of RowScriptObject and ListItemScriptObject in Test APITest APIのRowScriptObject とListItemScriptObject でDrag&Dropイベントのテスト機能を追加する |
7722 | 712-4174876 objectDataSource always requires BeanInfo class first before binding correctlyバインディングだ正しく設定されているにもかかわらずobjectDataSource がつねにBeanInfo クラスを要求する |
7732 | 712-4397317 The row element doesn't show the tooltip message when the mouse moves inrow でマウスが上に来てもtooltip メッセージが表示されない |
7734 | 712-4397704 Cannot print the entire table using PrintService PrintService.printElement(Element) methodでtable全体が出力できない |
7903 | schemaスキーマ: desktopPane is not a valid child of any container in the schemaがコンテナの子要素として正しく定義されていない |
7921 | schemaスキーマ: htmlView and htmlHost are not in the Ajax SchemaとhtmlHost がAjax スキーマに記述されていない |
8006composite | plugins don't understand XAL expression syntax組み合わせたプラグインでXAL のシンタックスが解釈できない |
8092schema | : decimal values are not possible for in cm mm unitsスキーマ: cm、mmの単位としてdecimal の値が設定できない |
8104schema | : accesibleName attribute is missing from the Java schemaスキーマ: JavaのスキーマでaccesibleName 属性が定義されていない |
8225schema | : text selection and cursor position attributes are missing from some componentsスキーマ: いくつかのウィジェットでtext 選択とカーソル位置の属性が定義されていない |
8226 | schema: drag events and attributes are missing from button in Java schemaスキーマ: Javaのスキーマのbuttonのドラッグイベントと属性が定義されていない |
8228schema | : overtype attributes are missing from textField, passwordField and textAreaスキーマ: textField、passwordField 、textAreaでovertype属性が定義されていない |
8245 | schemaスキーマ: suffix is not required but should be in measurementは必要ないがmeasurement-type が必要(at least for Ajax) |
8252 | typo resulted in implementing "toggleableTextEntryMode" が"toggableTextEntryMode" instead of "toggleableTextEntryMode" |
...
と誤植されている |
問題を回避する
バグ管理番号7722 では、プロジェクトで利用しているNexaweb プラグインをアップグレードする必要がある. StudioでAntを使わずプロジェクトのビルトする場合、Studio 3.0.3
...
とStudio 2.
...
4ではプラグインが正常に更新されないことに注意する必要がある。Studio 3.5
...
ではこの問題は2007年9月までに解決する予定。Studio 2.4、Studio 3.0.
...
3では、つぎの手順でプラグインを更新する必要がある。
1. サーバをシャットダウンする
2. サーバからプロジェクトを削除する
3. サーバの右ボタンメニューで"Publish"を選択する
4. WebContent/WEB-INF/client/
...
pluginsの右ボタンメニューでImportを選択する
5.
...
Platform 4.5.
...
6がインストールされているディレクトリからファイルをインポートする
6.
...
ディレクトリ”dist/plugins/
...
New Features (Ajax):
Sizing Improvements - all widgets now size much more accurately than before. Because each component is made up of a number of HTML <div> and <table> elements with CSS, there were several layers in each component where an off by 1 error calculation could add up to incorrectly sized components. Many of these types of defects have been resolved with this release.
Table Layout Enhancements
table
- New Behavior: automatic scrollbars - if table content exceeds height and width of table, scrollbars will appear
- New Attribute: verticalLineColor
- New Attribute: horizontalLineColor
row
- New Attribute: expanded - the expanded/collapsed state of a row in a tree or treeTable can now be specified in the original file or dynamically
window
- New Attribute: minimized
- New Attribute: maximized
- New Attribute: centered
Styling Improvements - several components' styles have been modified for a look more consistant with Nexaweb Studio's WYSIWYG visual editing capabilities. This includes: toolbar, menuBar, menu.*”を選択する
7. プロジェクトの右ボタンメニューでプロジェクトをクローズする
8. メニューバーの[Project] →[Clean…]でプロジェクトを選択しクリーンビルトする
9. プロジェクトをサーバに追加する
10. プロジェクトを起動する
新しい機能(Ajax)
サイズ変更についての改良:すべてのウィジェットについて、指定されたサイズどお りウィジェットが表示されるようになった。HTMLではCSSを利用して<div> と<table> で指定された数値をもとに、それぞれのウィジェットを生成しているが、表示には複数のレイヤが関係し、ひとつの計算のエラーがつみかさなりウィジェットの サイズが正しく反映されなくなることにつながる。このリリースでは、このしくみに関連する多くの問題が解決されている。
テーブルのレイアウト機能強化:
- table
- 新しい振る舞い: 自動scrollbar - table の内容が高さ、幅を超えた場合、自動的にスクロールバーが表示される
- 新しい属性: verticalLineColor
- 新しい属性: horizontalLineColor
- row
- 新しい属性: expanded - tree やtreeTable のrowのexpanded/collapsed ステートは初期状態を指定できる。また動的に変更もできる。
- window
- 新しい属性: minimized
- 新しい属性: maximized
- 新しい属性: centered
スタイルの改良
いくつかのウィジェットのスタイルは、Nexaweb StudioのビジュアルエディタでWYSIWYG(みたまま) で変更できる。toolbar、menuBar、menuのスタイルがWYSIWYGで変更できる。