I'll take a gander this eve. Thx Dan
On 12 January 2015 at 11:59, Martin Grigorov <[email protected]> wrote: > Added a simple demo to the ToDo app. > Ideas how to make it better are welcome! > At the moment the code demonstrates how to achieve the need, but it doesn't > bring any business value to the application (to the ToDo domain) and could > be found confusing by the users. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, Jan 12, 2015 at 11:38 AM, Dan Haywood < > [email protected]> > wrote: > > > On 12 January 2015 at 09:23, Martin Grigorov <[email protected]> > wrote: > > > > > In case I've missed something > > > > > > > > Hi Martin, > > > > No, you haven't missed anything... the reason there were no examples of > > this use case was because I hit the same issue and couldn't think of an > > obvious solution. > > > > So, great that you've come up with an approach to address it. Perhaps > you > > could extend the todoapp and/or the kitchensink app to demonstrate its > > usage? > > > > Meantime, I'll review the branch. > > > > Cheers > > Dan > > > > > > > > > > > and didn't see how it should work I've > > > created https://issues.apache.org/jira/browse/ISIS-1008 with a > possible > > > impl in a branch. > > > > > > > > > > > > https://git-wip-us.apache.org/repos/asf?p=isis.git;a=commitdiff;h=988b77ce;hp=aecba01ec04805ad6f1b4fa2f99b8b1037af4c23 > > > > > > Martin Grigorov > > > Wicket Training and Consulting > > > https://twitter.com/mtgrigorov > > > > > > On Mon, Jan 12, 2015 at 8:47 AM, Martin Grigorov <[email protected] > > > > > wrote: > > > > > > > Hi, > > > > > > > > Is there a use case already in some of the Isis demo applications > where > > > an > > > > action opens a prompt (modal window) to provide the parameters and > the > > > > action's return type is a Lob (Clob/Blob) so it is returned with > > > > Content-Disposition: ATTACHMENT response header ? > > > > > > > > The problem that I face is that the Blob cannot be streamed back in > the > > > > Ajax response (action prompts use Ajax to show/close themselves). > > > > > > > > Something like the described at > > > > > > > > > > https://cwiki.apache.org/confluence/display/WICKET/AJAX+update+and+file+download+in+one+blow > > > > is needed in this case. > > > > > > > > I just wonder whether such use case has been needed somewhere else > and > > > how > > > > it has been implemented. > > > > > > > > > > > > Martin Grigorov > > > > Wicket Training and Consulting > > > > https://twitter.com/mtgrigorov > > > > > > > > > >
