[ 
https://issues.apache.org/jira/browse/ISIS-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989546#comment-13989546
 ] 

Dan Haywood commented on ISIS-705:
----------------------------------

This isn't fixed as of 1.4.1

To reproduce, add the following to ToDoItem in quickstart app:

    
    @MemberOrder(name="attachment", sequence="1")
    public Blob downloadAttachment(@Named("dummy") int dummy) {
        return getAttachment();
    }
    public String disableDownloadAttachment(int dummy) {
        return getAttachment() != null? null: "No attachment to download";
    }


Create a todo item, set an attachment, then attempt to download with the 
"downloadAttachment" method.

> Support actions accepting parameters, and also bulk actions, that return 
> Blobs/Clobs
> ------------------------------------------------------------------------------------
>
>                 Key: ISIS-705
>                 URL: https://issues.apache.org/jira/browse/ISIS-705
>             Project: Isis
>          Issue Type: Improvement
>          Components: Viewer: Wicket
>    Affects Versions: viewer-wicket-1.3.1
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: viewer-wicket-1.5.0
>
>
> The issue here is that the returned Blob/Clob must be handled with a 
> scheduled handler (see ActionResultResponseHandlingStrategy class) but it is 
> also necessary to refresh the page by redirecting to a new page.  (In the 
> case of an action accepting parameters, want to remove the dialog.  In the 
> case of a bulk action, want to clear the toggles and refresh the list).
> Haven't yet figured out how to do that ... :-(



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to