On 7 July 2013 20:20, Bhargav Golla <[email protected]> wrote:
>
> On Sun, Jul 7, 2013 at 6:24 PM, Dan Haywood
> <[email protected]>wrote:
>
>> The JQM demo was written to an earlier version of the RO spec. I don't
>> intend to spend any time on updating it. But by all means borrow any code
>> from it that makes sense.
>>
> The JQM demo isn't opening at all. Could you share the code with me if you
> can get a zip of it?
>
>
There's a write-up of the demo on my blog [1]. Using our new fisheye
repository [2] I was able to locate a commit where the code was in the
codebase. If you type:
git reset --hard 46827c9
then go to example/application/onlinedemo/webapp/src/main/webapp.
When done, use:
git reset --hard HEAD@{1}
to go back to the original head.
> And missed out on invoke part. Now, I have understood how to fetch
> objects. I still have problem with setting up the html, css and JS files in
> isis webapp directory. If I place them in src/main/webapp directory as you
> suggested, how do I access it via URL?
>
src/main/webapp is the root for Java webapps, so they are (should be)
served up automatically. I was able to navigate to
http://localhost:8080/index.html, and your login page was shown.
>
> And as you suggested, I have listed my plan of Sprint 2. I will first
> fetch the services list. Then the group of objects and then the objects.
> Once I am done with this, I intend to do editing an object and creating an
> object. I think that once this is done, I can work on templating.
>
Thanks.
Dan
[1] http://danhaywood.com/2012/02/01/jquerymobile-demo-app-walkthr/
[2] https://fisheye6.atlassian.com/graph/isis-git