File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Which one is better ? Dojo plugin Vs jQuery plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Which one is better ? Dojo plugin Vs jQuery plugin" Watch "Which one is better ? Dojo plugin Vs jQuery plugin" New topic
Author

Which one is better ? Dojo plugin Vs jQuery plugin

Vamshi Jampala
Ranch Hand

Joined: Feb 23, 2008
Posts: 40
I tried using both dojo and jquery plugins, jquery ui is sleek, but when it comes to functionality its not that good.

For example :
I am using local tabs and now I want to have a ajax div section in a tab.
For some weird reason the div is populated across all the tabs, but thats not what I want.

I ask you guys to post your views and some good techniques if you know any in using these plugins.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

For some weird reason the div is populated across all the tabs, but thats not what I want.

Then you are doing something wrong.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Vamshi Jampala
Ranch Hand

Joined: Feb 23, 2008
Posts: 40
JSP

Included JSP


qxhtml is a custom struts2 theme where in i can have 8 column rows(struts2 will come with onle 2 columns)

Please let me know if you are see any thing wrong here, which I am over seeing ...

Thanks for your time
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

This is an HTML forum. JSPs full of custom actions don't make much sense.
Johannes Geppert
Ranch Hand

Joined: Jan 12, 2010
Posts: 67
You should not include an JSP with an complete head tag,
shrink it so that you use only the body content.



My Java and Webprogramming Blog
Vamshi Jampala
Ranch Hand

Joined: Feb 23, 2008
Posts: 40
Just now figured that out after almost 2 days effort,
Yep you are right, thanks for the reply.

One more quick question, I am using remote jquery tabs

I want to enter some thing in the first tab and then navigate to the second tab and come back.

Presently what happens is the entered value is not there, Could you please help me to find a way where in , when i come back to the page, I can still see the entered value.

Thank you for your time
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

If you haven't replaced the fragment or refreshed the tab content, it will still be there. Are you using Ajax tabs?
Vamshi Jampala
Ranch Hand

Joined: Feb 23, 2008
Posts: 40
Johannes Geppert wrote:You should not include an JSP with an complete head tag,
shrink it so that you use only the body content.



Hi Johannes Geppert,

I tried that even then its doing the same thing my div content is on all the jsps

and when i look at the page source, my div shows on the top but its being rendered on the bottom

I am suspecting that it has some thing to do with the tab divs ? Could you pleaseee help me
Vamshi Jampala
Ranch Hand

Joined: Feb 23, 2008
Posts: 40
Bear Bibeault wrote:If you haven't replaced the fragment or refreshed the tab content, it will still be there. Are you using Ajax tabs?



Trying different things, which ever works, for this i am using ajax tabs (or remote tabs)
Vamshi Jampala
Ranch Hand

Joined: Feb 23, 2008
Posts: 40
Created a new "test tab" with local tabs(non Ajax)
This is the code in testtab


Attached is how it looks, but then
1
2
11
22

are being displayed on all the other tabs at the bottom

I am not able to figure out why is this happening, May be I am missing some thing here, please let me know if you know what I am missing.

Thanks for your time


[Download testTab.bmp] Download

Johannes Geppert
Ranch Hand

Joined: Jan 12, 2010
Posts: 67
This look like you have a non well formated HTML?
Have you check the Output of your JSP with www.validome.org ?
Vamshi Jampala
Ranch Hand

Joined: Feb 23, 2008
Posts: 40
There was some problem in the plugin and its resolved now by the owner of the plugin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which one is better ? Dojo plugin Vs jQuery plugin