ゾーンの本体とストリーム応答を返す必要があります。
ゾーンを更新してファイルを返したい。
Java でのイベントは次のようになります。
Object[] onActionFromGenerar() throws InstanceNotFoundException{
/**
* Code
*
*/
try(InputStream input = new ByteArrayInputStream(cuaderno.getFichero())){
return new Object[] {new AttachmentStreamResponse(input,"Transferencias"), tableZone.getBody()};
}catch (IOException x){
System.err.format("IOException: %s%n", x);
return new Object[] { Index.class } ;
}
}
しかし、エラーを返します。tableZone.getBody(); のみを返すことができます。
どのようにできるのか?