On Sun, Nov 13, 2011 at 9:48 PM, Dan Haywood
<[email protected]> wrote:
> Hi Johan,
> Thanks for this, really great work.
>
> The only snags I had was that:
> a) JSP support isn't enabled in the Isis embedded jetty server, so I had to
> build the WAR (using mvn clean install) and drop it into a Tomcat instance
The only reason this is a JSP is the line
Isis.init('<%= request.getContextPath() %>');
That way you can copy it to any xxx-viewer-json project you like
(together with the css and js files) without changing anything. You
might as well change index.jsp to index.html and replace this line by
Isis.init('/claims-viewer-json');
of that's more convenient for you.
> b) I didn't realise that drag-n-drop was working, til I realized the label
> in the "slot" had changed
Yesterday I fixed the z-index stuff with the views and the draggable.
Now the object title appears in blue (with a different mouse pointer)
as soon as you start dragging.
> c) I couldn't view drill-down into the claim items, and (because of this?)
> wasn't able to get removeItem to work.
Drilling down to the claim items is also something I added yesterday
after I uploaded the zip file. Removing an item should work:
1. Click the "removeItem" link at the bottom of the claim view ->
"removeItem" action arguments view opens.2. Drag one of the item names
from the claim view to the "claimItem" field of the action arguments
view -> red arrow on screenshot.3. Click "OK" in the action arguments
view.
Anyway, I'll upload a second version tonight (with better visual
feedback when dragging and drill-down into the claim items) so that
your demo can be more convincing.
Johan.