wow, you are fast! Is there also a parameter that defines the data type? (mol, xyz, pdb, etc.?)


Miguel wrote:

Bob wrote:

Vertical bars are great. No problem there.... In fact, that's precisely
what I use in many web-based applications because | is a natural
separator. Beginning of the line, end of the line--makes no matter to
me. Probably looks nicer at the beginning of the line anyway.


Good ... I just finished implementing this and checking it in :-)

The format is:
 <param name="loadInline" value="
|put
|your
|data
|here
" />

The first vertical bar and any white space before it is ignored.

I will send you a separate email with the JmolApplet.jar as an attachment.



I would much prefer it all be part of the parameters. You will run into
exactly the same issue with line feeds if it is HTML, and that really
(in my mind, anyway) runs contrary to the data/delivery separation idea.
Also, it associates the data with the parameters in a clear fashion. If
these two are separated, you will also need tags and some sort of
parameter that points to the data block by name, as there could easily
be a dozen instances of the applet and a dozen data sets on a page (in
principle). From a reader's point of view, it will make far more sense
to have all the information together, and from a programmatic point of
view, scanning HTML text for data seems to me to be inelegant and
possibly error-prone.


All good arguments ... we will hold off on this :-)


Miguel



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

--

Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr

"Imagination is more important than knowledge."  - Albert Einstein



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to