JSP Search Demo: Click on searched Structure,Display Detail

User 7114978658

15-01-2010 10:15:14

Using an evaluation license I have setup db_search example. Working fine. What I would like to have is: When user clicks on any searched structure (Or a link "Click for Detail" should display below that structure ) then structure ID should be passed to separate jsp page  where I can display data from other tables other than Jchem tables. I'll store Structure ID in those tables so that I can link them with Jchem structure tables.

ChemAxon e274e1bada

15-01-2010 11:47:29

Hi alokkhode,


JChem base does not support the relational database handling in the current version, but we are planning to solve it in the future.


I could recommend  for you the Instant JChem which can handle relational data tables. See the manual


In addition the next major version of JChem Web Services (5.3, it will be released in this week) will support the relational tables, you will be able to find the details in the JChem Web Services developer's guide


Regards, Edvard

ChemAxon e274e1bada

15-01-2010 12:09:55

An additional info for my previous response.
It is possible to show information for a result molecule throuh it's cd_id in the db_search JSP example if you didn't want to search in the relational tables. In this case you have to implement it to to the JSP example.
This example is open source, you have chance to modify it freely.


Regards, Edvard

User 7114978658

15-01-2010 12:53:57

I have attached an screenshop of the result page. I just like to create a link to the JSP page and want to pass cd_id as a querystring. Then on that jsp I will do other operation not using jchem.

ChemAxon 9c0afc9aaf

15-01-2010 15:03:22

Hi,


 


Please see these examples from the Marvin Developer's Guide:


http://www.chemaxon.com/marvin/examples/applets/view/advancedcomponents.html


http://www.chemaxon.com/marvin/examples/applets/view/javascripting.html


If you have further questions on applet layouts you can ask them in the Marvin section of the forum.


 


Best regards,


 


Szilard

User 7114978658

20-01-2010 13:46:34

Thanks Szilard.


I will try this example also visit Marvin section Forum.