We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GoogleGroupより転記 https://groups.google.com/forum/#!topic/excella/ZOzHCv2tQyo
テンプレートファイル内に$BR[]を定義し、removeTag=trueを指定した場合の挙動としては、リファレンス内の説明にあります通り、行削除ではなくブランクになる認識でおります。 しかし、下記に示します方法で実行した場合には、removeTag=trueにしていたのにも関わらず、行が削除されてしまいました。
対応方法案:
BlockRowRepeatParamParser.javaの153行目で、データがない場合、処理をスキップしているのが原因のようです。 お急ぎ修正が必要でしたら、下記のように修正することで、設定が有効にできそうです。
BlockRowParamParser.java:L150 // パラメータ名に対応するデータ取得 Object[] paramInfos = getParamData( paramInfo, brTagName); if ( paramInfos == null) { // XXX *** ↓修正箇所↓ *** boolean removeTag = false; if ( paramDef.containsKey( PARAM_REMOVE_TAG)) { removeTag = Boolean.valueOf( paramDef.get( PARAM_REMOVE_TAG)); } // タグ除去 if ( removeTag) { tagCell.setCellType( Cell.CELL_TYPE_BLANK); } // XXX *** ↑修正箇所↑ *** return parsedReportInfo; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
GoogleGroupより転記
https://groups.google.com/forum/#!topic/excella/ZOzHCv2tQyo
対応方法案:
BlockRowParamParser.java:L150
// パラメータ名に対応するデータ取得
Object[] paramInfos = getParamData( paramInfo, brTagName);
if ( paramInfos == null) {
// XXX *** ↓修正箇所↓ ***
boolean removeTag = false;
if ( paramDef.containsKey( PARAM_REMOVE_TAG)) {
removeTag = Boolean.valueOf( paramDef.get( PARAM_REMOVE_TAG));
}
// タグ除去
if ( removeTag) {
tagCell.setCellType( Cell.CELL_TYPE_BLANK);
}
// XXX *** ↑修正箇所↑ ***
return parsedReportInfo;
}
The text was updated successfully, but these errors were encountered: