This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes datepicker onChangeTopics to load a div Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "datepicker onChangeTopics to load a div" Watch "datepicker onChangeTopics to load a div" New topic

datepicker onChangeTopics to load a div

Nisha Kala

Joined: Nov 17, 2010
Posts: 21
I am using struts2 jquery 2.3.0. I used date picker onChangeTopcis to load a paticular div and i get error saying this.publish is not a function

<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="sj" uri="/struts-jquery-tags"%>
<sj:head compressed="false"/>
<title><s:text name="application.title"/></title>

Date: <sj:datepicker id="datepicker1" displayFormat="MM/dd/yyyy"
imageTooltip="Select Your Birthdate" showButton="true" onChangeTopics="datepickerSelectedDate"/>
<sj:div src="dateEvents.action" reloadTopics="datepickerSelectedDate"/>
Shashank Ag
Ranch Hand

Joined: Dec 22, 2009
Posts: 88

I am not very sure of this, but doesn't using datepicker needs theme="ajax". Unless you specified so in

SCJP 91%, SCWCD 97%
Johannes Geppert
Ranch Hand

Joined: Jan 12, 2010
Posts: 67
Please try latest version I think this is a problem of version 2.3.0.


My Java and Webprogramming Blog
I agree. Here's the link:
subject: datepicker onChangeTopics to load a div
Similar Threads
Struts-JQuery grid, how to set font-size to the title of each grid column?
[Jqueryplugin] [struts2] rendering grid
How the The WEB-INF/decorators.xml is linked to a jsp page made up of Struts Tags.
Struts Dojo Tree disappears on page reload
Struts with Tiles--- simple program but not working