Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem With Pages

 
Pat Flickner
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two jsp's. The one is loaded with some buttons along with the report. The report uses SAS Connect to get the report of the cube. One of the buttons connects to Sybase to get any special information regarding the report. If that button is clicked, the call to Sybase seems to kill the call to SAS, so in order to view any more info on the report, you have to get completely out of the application and then go back in. Obviously a huge waste of time. Any ideas how I can avert this problem? Thanks
Pat
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are saying if the one button is clicked, then the other one is clicked it kills the page.
You can use JavaScript to disable the buttons when one of the buttons is clicked. Then this would not happen.

You would just need to add an onclick call on the buttons
onclick="DisableButtons()"
Eric
 
Pat Flickner
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the info, Eric. It's not going to help in this case because it turns out that the connection configuration was improperly set. I mentioned this issue to the developer, who of course said that shouldn't happen. He found his bug and the problem went away.
But thanks very much for the response. Actually, I need this info for something else I'm working on, so this is a huge help.
Regards,
Pat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic