Re: How to capture this event

2008-10-07 Thread Tracy12
I tried lot of examples at http://struts.apache.org/2.1.2/docs/ajax-and-javascript-recipes.html#AjaxandJavaScriptRecipes-Donotloadtab2whenpageloads%2528itwillbeloadedwhenselected%2529 but nothing seems to work, I know the above documentation is for struts 2.1 we are using struts 2.0.6 We have

Re: How to capture this event

2008-10-06 Thread Mark
Oh ok. That's beyond my knowledge. Hopefully someone else on the list can help you. Mark On 07/10/2008, at 12:27 PM, Tracy12 wrote: 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 ev

RE: How to capture this event

2008-10-06 Thread Martin Gainty
party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Mon, 6 Oct 2008 18:27:45 -0700 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Re: How to capture this event > > > Mark, > >

Re: How to capture this event

2008-10-06 Thread Tracy12
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 > prelo

Re: How to capture this event

2008-10-05 Thread Mark
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

Re: How to capture this event

2008-10-05 Thread Tracy12
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 s

RE: How to capture this event

2008-10-05 Thread Martin Gainty
for your From: [EMAIL PROTECTED] > Subject: Re: How to capture this event > Date: Mon, 6 Oct 2008 12:33:28 +1100 > To: user@struts.apache.org > > What have you set for the "preload" value of the DIV tag? I believe > if you set this to false, it will behave the

Re: How to capture this event

2008-10-05 Thread Mark
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 f