Re: [base] file storage system question

2006-11-09 Thread Keith Ching




True, the session id is good only once.. but in subsequent logins, BASE2
will ask to reauthenticate and after success you can still download the
file.

still, of course.. i would rather have the download link be auto
generated upon
import of the datafile.

is it within the capabilities of a plug-in to take all files in a
directory, create a raw bioassay,
and generate a link to the source file?

thanks,

Keith Ching

Nicklas Nordborg wrote:

  Keith Ching wrote:
  
  
it seems you can make a String annotation type and attach it to raw 
bioassay and fill it with

a href="" class="moz-txt-link-rfc2396E" href="_javascript_:Main.downloadFile('34537569891fa9bf',142)">"_javascript_:Main.downloadFile('34537569891fa9bf', 142)"
img border=0 class="icon" title="Download the contents of this file" src=""/a

which will produce a link to the specified raw file.

  
  
Wow, that's a bug, HTML tags should be escaped. Besides, it won't work 
anyway, since the first parameter to the downloadFile function is a 
session ID and is different for every time you login.

/Nicklas


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject "unsubscribe" to
[EMAIL PROTECTED]

  




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]


Re: [base] file storage system question

2006-11-09 Thread Nicklas Nordborg
Keith Ching wrote:
 True, the session id is good only once.. but in subsequent logins, BASE2
 will ask to reauthenticate and after success you can still download the 
 file.
 
 still, of course.. i would rather have the download link be auto 
 generated upon
 import of the datafile.
 
 is it within the capabilities of a plug-in to take all files in a 
 directory, create a raw bioassay,
 and generate a link to the source file?

It is possible to use the AnyToAny class to create such links. However, 
they won't be displayed in the web interface in the current 
implementation. The only exception is for transformations in the 
analysis section, which is the reason that we introduced the AnyToAny 
class in the first place.

/Nicklas

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]


[base] file storage system question

2006-11-08 Thread Keith Ching
is there a way to link the original source file to the raw bioassay into
which it was imported? say i have an experiment which contains
20 raw bioassays.  what would be the best way to be able to list / 
retrieve the
original data files that were used to create the raw bioassays?

on another note, i noticed that the file storage for base2 physically 
places all files in the
same directory regardless of where they appear in the file tree 
hierarchy. is there
any practical limit on the number of files that can be stored here?  i 
am planning
to put thousands.

thank you,

Keith Ching

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]


Re: [base] file storage system question

2006-11-08 Thread Keith Ching
it seems you can make a String annotation type and attach it to raw 
bioassay and fill it with

a href=javascript:Main.downloadFile('34537569891fa9bf', 142)
img border=0 class=icon title=Download the contents of this file 
src=/base2/images/download.gif/a

which will produce a link to the specified raw file.



Keith Ching wrote:
 is there a way to link the original source file to the raw bioassay into
 which it was imported? say i have an experiment which contains
 20 raw bioassays.  what would be the best way to be able to list / 
 retrieve the
 original data files that were used to create the raw bioassays?

 on another note, i noticed that the file storage for base2 physically 
 places all files in the
 same directory regardless of where they appear in the file tree 
 hierarchy. is there
 any practical limit on the number of files that can be stored here?  i 
 am planning
 to put thousands.

 thank you,

 Keith Ching

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 The BASE general discussion mailing list
 basedb-users@lists.sourceforge.net
 unsubscribe: send a mail with subject unsubscribe to
 [EMAIL PROTECTED]

   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]


Re: [base] file storage system question

2006-11-08 Thread Nicklas Nordborg
Keith Ching wrote:
 it seems you can make a String annotation type and attach it to raw 
 bioassay and fill it with
 
 a href=javascript:Main.downloadFile('34537569891fa9bf', 142)
 img border=0 class=icon title=Download the contents of this file 
 src=/base2/images/download.gif/a
 
 which will produce a link to the specified raw file.

Wow, that's a bug, HTML tags should be escaped. Besides, it won't work 
anyway, since the first parameter to the downloadFile function is a 
session ID and is different for every time you login.

/Nicklas


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]