Michael Nosal
unread,Sep 20, 2012, 10:10:06 AM9/20/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to simile-...@googlegroups.com
Yes, you can refer to JSON stored in a static file. However, note that Google prevents AJAX calls to file:/// urls, so you'll need to put it where it can be served via http.
--Mike
On Sep 19, 2012, at 7:11 AM, Andrea Maestroni wrote:
> hi to all!
>
> i am a new user of SIMILE Widgets!
> i have a question...it's possible to use a json loaded from a desktop (or other directory) for the creation of the page with the widget?
>
> for example i have create a page (a project with netbeans where i have a jsp page e a json file) with this istruction:
>
> <link href="Person.json" type="application/json" rel="exhibit/data" />
>
> and it works...
> but if a want to use a json from the desktop?
>
> i have think to this solution because i want to modify the json file with a java program (for example i insert a data in a database and with this data ,modify the json) and after i can visualize the data in the jsp page with the widget...
>
> I hope I was clear :)
>
> thank a lot in advance!