Thanks, that did the trick. I must be going blind! How do I control the coloring used by the tabbedpanel? I set the cssClass but noticed NO affect, so the default coloring seemed to still be used. Plus there are 3 types of background in a tabbedpanel: #1 - background color in button, #2 - background color above (and right) of buttons, #3 - regular background in content region. How can I control these adequately in order to use this control in my app.
You'll probably have to look at the Dojo (*old* Dojo) docs for that; I don't really recall. It's Dojo 0.4.3--good luck.
Joined: Jul 27, 2009
I see the dojo jar distributed with Struts2 is struts2-dojo-plugin-2.1.6.jar...so you are saying that is using dojo 0.4.3 right? You are no doubt correct...I've seen alot of threads complaining about TabbedPanel bugs, etc.
I actually chose to use Struts2 assuming that it would have the latest screen widgets such as TabbedPanels, Rich TextArea, etc and that they would actually work robustly and NOT just be another vaporware feature listed in the docs. But, I'm finding out that all is not too merry in this regard.
What top-notch JS Frameworks are you using to augment development with Struts2 that work?
When WebWork/Struts 2 first integrated the Dojo widgets they *were*, at least partially, best-of-breed. The massive changes in Dojo since then make the amount of work necessary to revamp them something unpalatable to the S2 team, and community as well.
Recent Dojo is still a strong choice for a client-side framework, particularly if you need a full complement of widgets. It really depends on what you need, and what you're willing to learn. There are other compelling choices in "full-service" frameworks (YUI comes to mind, along with GWT, which I've never used). If you're looking for a "lighter-weight" solution then both jQuery and Prototype are excellent choices.
Joined: Jul 27, 2009
Definitely longer term (ie the next project) I'll lean towards GWT and be done with all the html/js non-sense - I love Java! For the current project I am constrained to more traditional web technologies so I guess I'll checkout of few of those you mentioned - Thanks for your input!