Mark, The Issue is eventhough the preload=false, each time you click the div the content will be loaded,
What I want is basically to capture the click event and load accordingly if required. Thanks Mark-413 wrote: > > While I haven't used it yet, my understanding is that if you set > preload=false, the DIV won't load until the user clicks the tab. > Then the content will load. However, I've also found this issue: > https://issues.apache.org/struts/browse/WW-1860 which you might be > running into. > > Mark > > On 06/10/2008, at 1:49 PM, Tracy12 wrote: > >> >> Thanks for the reply, >> >> I have not set any preload value, >> >> But what I want is capture that event (when someone click the div) >> and do a >> AJAX call to the server, with Preload how can we do this.? >> >> Do i have to use notifyTopics, >> >> >> Waiting for a reply, >> >> Thanks >> >> >> >> >> >> >> Mark-413 wrote: >>> >>> What have you set for the "preload" value of the DIV tag? I believe >>> if you set this to false, it will behave the way you want. >>> >>> Check out: http://struts.apache.org/2.1.2/docs/dojo-div.html >>> >>> Mark >>> >>> On 06/10/2008, at 12:22 PM, tom tom wrote: >>> >>>> Hi, >>>> >>>> We are using struts 2.0.6 with AJAX development features, we got >>>> couple of <s:div ..s, in our page inside the tabbed panel >>>> . >>>> >>>> We want to do some lazy loading, which means when someone clicks >>>> the div, >>>> inside the tabbed panel,we need to load some data for that >>>> corresponding page, >>>> >>>> At the moment we are unable to trap this event, when we give >>>> onClick inside the <s:div... it does not really fire when some one >>>> click the div but the page body,which is not we really want. >>>> >>>> Can someone pls give us any help on this. >>>> >>>> Thanks >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -------------------------------------------------------------------- >>>> - >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/How-to-capture- >> this-event-tp19830839p19831303.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-capture-this-event-tp19830839p19849519.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]