New features
...
新しい機能
- TestAPI で CellScriptObject からセル位置を取得するための新しいメソッド (See 10946)
- New method for getting CellScriptObject from ColumnScriptObject in TestAPI TestAPI で ColumnScriptObject から CellScriptObject を取得するための新しいメソッド (See 10947)
- Automatic pop-up and highlighting of menu items メニューアイテムの自動ポップアップとハイライト表示機能 (See 10948)
Defects Resolved (Java)
10666 | The stylesheet attributes of Pane were excluded by DisplayService.cloneUiElement() .によって Pane のスタイルシート属性が除外される | ||
10876 | Mixed code issue with signed and unsigned Jar for java 1JRE1.6.19 or later以降の署名 JAR と未署名 JAR ファイルが混在した場合の問題 | ||
10903 | Text Area does not scroll with not editable using keyboard | 10945 | Automatic resizing of a dialog does not work correctly.textArea が editable="false" の場合にキーボードによってスクロールできない |
10945 | ダイアログの自動サイズ変更が正しく動作しない | ||
10946 | FR : TestAPI : The addition of the function which gets a row index and a column index from CellScriptObject.CellScriptObject からセル位置を取得する API の追加 | ||
10947 | FR : TestAPI : The functional addition for getting CellScriptObject from ColumnScriptObjects.ColumnScriptObject から CellScriptObject を取得する API の追加 | ||
10948 | FR : The functional addition for an automatic pop-up & highlight of a menu barメニューバーの自動ポップアップとハイライトを実現するための機能の追加 | ||
10949 | A disabled image is NOT updated.非活性画像が更新されない | ||
10961Exception | while using nested iteratorsデータバインディングでネストした を使用した場合に例外が発生する | ||
10962Compatibility | : The selection item of <comboBox/> has an issue of a highlight.互換性: の選択項目ハイライト表示の問題 | ||
10985 | RadioButton default renderer misconfiguredの標準レンダラの構成の誤り |
10876 New repackaging Script to solve problems with mixed code exceptions due to signed and unsigned Jar for java JRE 1.6.19 or laterIn the past, some of our customers have run into problems signing the plugin jars in their Nexaweb projects. They had to manually unpackage, rearrange, package and then sign the jar. With this release, we are providing an ant script that automates that process. Below are the steps to automatically sign your plugin jars. In the future we hope to make this even easier.
Prerequisites以降で署名 JAR と未署名 JAR の混合により発生する例外を解決するための新しいパッケージスクリプト
これまで、一部のユーザは Nexaweb プロジェクト内のプラグイン jar の署名という問題を抱えており、ユーザ自身が手動でアンパッケージ、再配置、パッケージを行ってから jar に署名する必要がありました。今回のリリースでは、署名までのプロセスを自動化する Ant スクリプトを提供しています。
自動的にプラグイン jar に署名する手順は以下の通りです。今後この手順はさらなる容易化を望んでいます。
前提条件:
1.) install ant and make sure Ant をインストールし、 ANT_HOME is correctly setが正しく設定されていることを確認する
2.) make sure that ant-contrib-0.3.jar is in your ant lib directoryがAnt の lib ディレクトリにあることを確認する
3.) make sure your JAVA_HOME is pointing to a jdkRun the scriptが JDK を指定していることを確認する
スクリプトの実行:
1.) Download build)build.xml をダウンロードする
2.) Copy the build.xml file and your certificate keys file to your nexaweb project directoryと認証キーファイルを Nexaweb プロジェクトのディレクトリにコピーする
3.) Modify build.xml so that "keystore.alias", 、"keystore.file" and 、"keystore.password" have the appropriate values for your keystoreがキーストアに対して適切な値を持つよう build.xml を編集する
4.) Stop Studio を終了する
5.) Go to your project folder and run プロジェクトフォルダに移動し、Ant スクリプトとして build.xml as an ant scriptを実行する
6.) Sign the rest of your jar files as you would normally
通常の手順で残りの jar ファイルに署名する
10946 & 10947 New TestAPI features for cells and columns Added two methods that can get the row index and the column index from a CellScriptObect:セルと列のための新しい TestAPI 機能
CellScriptObect からセルの位置を取得できる2つのメソッドを追加しています:
CellScriptObject.getRowIndex()
CellScriptObject.getColumnIndex() Also a method to get the cells in a ColumnScript object:
また、このメソッドはColumnScriptObject からセルを取得します:
ColumnScriptObject.getCells() Example: If you had a test script and wanted to print the row and column indexes of all the selected cells in a table, here is one way of doing it using
例:テストスクリプトでテーブル内の選択されたセルの位置を出力したい場合、
Code Block |
---|
CellScriptObject.getRowIndex() |
...
と CellScriptObject.getColumnIndex() |
...
Code Block | ||
---|---|---|
| ||
を使用する方法があります: int COLUMN_INDEX=0;
ApplicationScriptObject appScriptObject = (ApplicationScriptObject) getTestScriptService().getApplicationScriptObject();
TableScriptObject tableScriptObject = (TableScriptObject)appScriptObject.findObjectById( "tb1" );
ColumnScriptObject col=(ColumnScriptObject)tableScriptObject.getColumnAt(COLUMN_INDEX);
//10947 - get cells in a column
Vector cellsByColumn=col.getCells();
for(int i=0;i<cellsByColumn.size();i++){
CellScriptObject cell=(CellScriptObject)cellsByColumn.get(i);
//10946 - get row and column index of a cell
System.out.println("cellsByColumn Cell RowIndex " + cell.getRowIndex());
System.out.println("cellsByColumn Cell ColumnIndex " + cell.getColumnIndex());
} |
10948Automatic pop-up and highlighting of menu items
Menus and MenuItems can now be manipulated programatically using these methods メニューバーの自動ポップアップとハイライト
Menus と MenuItemsは、これらのメソッドを使用してプログラム的に操作することができます:
Open popup Menu programatically usingを使用してポップアップメニューを表示:
menu.setAttribute("popupVisible", "true");
set highlighted menuItem usingを使用してハイライトを設定:
menuItem.setAttribute("highlighted","true");
...