Gudmundur,
To integrate Longwell-CSI with your webapp, first, longwell-csi must be
served on the same domain as the webapp (meaning that its scripts must
have URLs with the same domain as the HTML file into which you want to
integrate the Longwell-CSI user interface). Second, take a look at
http://simile.mit.edu/repository/longwell/trunk/src/main/webapp/longwell-csi/templates/commands/start.vt
That's a Velocity template (much like ASP or JSP). Actually, it's
probably easier to just look at the HTML that Longwell-CSI serves up by
default. There are a few things in there that you need to copy over to
your HTML file.
- the various <link> elements at the top for styling
- the various <script> elements
- the onLoad event and its hook in the <body> element
Also, within <body>, you must have 3 <div> elements with id equal
"control-panel", "view-panel", and "browse-panel". You can place them
anywhere and style them anyhow you like.
Let us know if that works out for you!
David
Gudmundur A. Thorisson wrote:
> Hi. Thanks to SIMILE developers for bring such cool toys like Exhibit
> and Longwell to the masses! I started out with Exhibit recently for a
> project and found it very nice, except for the scalability: I need to
> handle several thousand items (at least) and that's too big for Exhibit.
>
> I saw the Longwell CSI configuration mentioned on the SIMILE
> website, tried it out and am very impressed, seems to fit my needs
> perfectly. However, I am working within a Perl--based webapp
> framework (Catalyst) and am wondering what the best way is to
> integrate a Longwell server with my other stuff. I tried putting it
> in an <iframe> but that didn't work, probably breaks some Javascript/
> Ajax stuff that Longwell relies on. Any ideas on how to solve this,
> maybe do the <iframe> trick in a certain way, something else? Thanks!
>
>
> Best regards, keep up the good work!
>
>
> Mummi, Leicester
>
>
> -----------------------------------------------------------
> Gudmundur A. Thorisson, PhD student, Brookes lab
> Department of Genetics
> University of Leicester
> University Road
> Leicester, LE1 7RH, UK
> E-mail: [EMAIL PROTECTED]
> Tel: +44 (0)116 252-3055
>
>
>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general