aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes jQuery UI tabs not loading in the same tab Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jQuery UI tabs not loading in the same tab" Watch "jQuery UI tabs not loading in the same tab" New topic
Author

jQuery UI tabs not loading in the same tab

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9383
    
    2

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.



SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9383
    
    2

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

Joined: Sep 26, 2006
Posts: 9383
    
    2

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

Joined: Sep 26, 2006
Posts: 9383
    
    2

I guess it is the syntax highlighter? Is there any open source tool that I can use?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61215
    
  66

Please limit a topic to one question. Otherwise the responses can overlap and make the topic hard to follow.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9383
    
    2

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

Joined: Jan 10, 2002
Posts: 61215
    
  66

You will reap what you sow. Lazy, sloppy questions get lazy sloppy answers, or none at all.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jQuery UI tabs not loading in the same tab