2010/1/13 Syed Haider <[email protected]>:
> biomart-perl/conf/templates/default/menupanel.tt
I had a look at that file, which is also the place where I inserted my
own form elements. Whilst I can see that the buttons check 'onclick'
whether there is a dataset available, I cannot see where the buttons
are activated though. By the latter I mean un-greyed-out, i.e. made
click-able.
As a side note, I have to admit that the function of handle_request in
Web.pm is not quite clear to me. It seems to get called when I click
my 'submit' button, but only when the user has freshly selected a
dataset. Once the user has run any other query and pressed 'Results',
it appears to me that the code which I have put right before the line
'my $returnaAfterSave = 0;' in handle_request of Web.pm is not called
anymore. I find that strange, since I only surround my code with a 'if
($CGI->Vars()->{'myButton'})'. Is handle_request not called anymore
after a query is made?
Sorry for asking these programming questions -- especially as the code
will be obsolete soon -- but I am sure that there is a simple and
straightforward solution to my questions that I am just not being able
to see.
Thanks,
Joachim
--
B.1079 Michael Smith Building
Faculty of Life Sciences
The University of Manchester
Oxford Road
Manchester
M13 9PT
United Kingdom