struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zeermi <ku...@service-it.eu>
Subject Re: Struts2 onchange event should do the same like submit(with ajax tag). How ?
Date Mon, 02 Jun 2008 08:02:45 GMT

Hi,

with  onchange="submit() I loose the ajax functionality -> website gets
completely refreshed



Jim Kiley wrote:
> 
> onchange="submit();"
> 
> On Fri, May 30, 2008 at 6:26 AM, zeermi <kutzi@service-it.eu> wrote:
> 
>>
>> Hi,
>>
>> I think this is an easy question to struts2 insiders ... but I wasted
>> serveral hours and could not solve the problem.
>>
>> I have one div and one form
>>
>> I refresh the div with the forms content by clicking submit:
>>
>> <s:submit value="submit" theme="ajax" targets="divid"/>
>>
>> This works fine . But I dont want to click the submit button,I want this
>> after an onchange event like:
>>
>> <s:textfield  theme="ajax"  name='data' onchange="?????"></s:textfield>
>>
>>
>> I hope anybody can help me ;/
>> thank you
>> zeermi
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Struts2-onchange-event-should-do-the-same-like-submit%28with-ajax-tag%29.-How---tp17555869p17555869.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 
> 
> -- 
> Jim Kiley
> Technical Consultant | Summa
> [p] 412.258.3346 [m] 412.445.1729
> http://www.summa-tech.com
> 
> 

-- 
View this message in context: http://www.nabble.com/Struts2-onchange-event-should-do-the-same-like-submit%28with-ajax-tag%29.-How---tp17555869p17596006.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message