| Author |
accordion in struts2-jquery-plugin-2.1.0 not working
|
Rohit Bhal
Ranch Hand
Joined: Aug 28, 2007
Posts: 44
|
|
Hi
I've just started playing with struts2-jquery-plugin-2.1.0 and was trying the 'accordion from list' from Struts2 jQuery Plugin Showcase, version 2.1.0. Strangely enough, I am getting the data retrived but not the accordion look and feel. Here is the image showing what I am trying to say here, http://www.freeimagehosting.net/image.php?800edec649.jpg. I am not on comission for that add, I just needed to host the image somewhere to upload it here to make my query more understood. Here is the code that I am using:
In struts.xml
In Accordion.java
In accordion-list.jsp
Could someone tell me why am I not getting the accordion look and feel?
Thanks.
|
 |
Glen Divers
Ranch Hand
Joined: Jan 21, 2010
Posts: 61
|
|
Have you got the Struts Jquery tags defined in your jsp <%@ taglib prefix="sj" uri="/struts-jquery-tags"%> and have you remembered to include the <sj:head/> tag as well?
What does your rendered HTML look like?
|
 |
Rohit Bhal
Ranch Hand
Joined: Aug 28, 2007
Posts: 44
|
|
Now this is what I call a blunder.
I missed the following tag:
This was how it looked like http://www.freeimagehosting.net/image.php?800edec649.jpg.
Had it linked to the original post as well.
Many thanks
|
 |
Glen Divers
Ranch Hand
Joined: Jan 21, 2010
Posts: 61
|
|
Actually what I meant was what does your rendered html look like as in <htnl><head>...</html>. No matter, glad you got things sorted
Regards
|
 |
 |
|
|
subject: accordion in struts2-jquery-plugin-2.1.0 not working
|
|
|