Thread View: bionet.software.srs
1 messages
1 total messages
Started by James Abbott
Mon, 14 Jul 2003 16:50
Registering queries within a session from a layout script
Author: James Abbott
Date: Mon, 14 Jul 2003 16:50
Date: Mon, 14 Jul 2003 16:50
37 lines
2838 bytes
2838 bytes
I am creating some views of application results databases (under SRS 7.1.1) which require me to retrieve all the results for an application rather than the 30 which are produced by default. I am doing this by using a 'stub' object loader which just contains the job name etc., then within the layout script I can succesfully query the application results database and pull back the data back using a second object loader as follows: $s=CurrSession $set=$s.query:"[$db-id:$job\*]" $data=$set.load:"AppData" This gives me the data I need, however the query carried out during the layout script does not get registered within the users session, even though it is clearly using the right session since the application results are returned correctly. This means that attempts to change the view produce 'Query no. xx does not exist' errors in the browser, and application launching etc. does also not necessarily use the correct sequence. The documentation for the Session object indicates that the 'query' method contains a 'doReg' attribute which is enabled by default, but I've also tried manually registering the results i.e. $set=$s.query:["[$db-id:$job\*]" queryName:"AppData"] $s.registerSet:$set but this also doesn't seem to work. Does anyone have any ideas of how to get round this, or am I trying to do the impossible? Cheers, James -- j.abbott@imperial.NOSPAM.ac.uk Bioinformatics Software Developer, Imperial College, London
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads