• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jQuery UI tabs not loading in the same tab

 
Joe Harry
Ranch Hand
Posts: 10112
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following snippet renders a jQuery UI tab (let's call this screen-1). Each tab has a set of form which calls its respective action. One strange problem that I noticed is the following:

Click on one of the forms in any one of the tabs. This will load the contents of the new jsp page in the same tab. This new jsp page has a so called "Get me home" link and on click of this link, I can return to the main page that renders the tab (the screen-1). When I'm in the new jsp page rendered by one of the tabs, I click on another tab which also has a form and it opens the corresponding jsp in a new window rather than opening it in the same tab.

 
Joe Harry
Ranch Hand
Posts: 10112
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unable to find out the reason why this happens, I tried to get rid of the problem by disabling the rest of the tabs excepting the currently selected tab.
 
Joe Harry
Ranch Hand
Posts: 10112
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have another simple question. How does this source code rendered above render the source code along with line numbers? Is this any UI widget that I can plug and use?
 
Joe Harry
Ranch Hand
Posts: 10112
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess it is the syntax highlighter? Is there any open source tool that I can use?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please limit a topic to one question. Otherwise the responses can overlap and make the topic hard to follow.
 
Joe Harry
Ranch Hand
Posts: 10112
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry here. Though I'm here at the ranch for quite some time, felt a bit lazy to open a new thread!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will reap what you sow. Lazy, sloppy questions get lazy sloppy answers, or none at all.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic