Hi,

Struts is very different to .NET. The underlying technologies are used in a
very open fashion. The good thing is that this means you can do pretty much
anything you like. The downside is that you need to understand the
underlying technologies and do some legwork.

As suggested you can use embed JavaScript in the HTML generated by Struts
from JSP or a similar technology. You need to create this JavaScript.
However you can use whatever your favourite JS library is to simplify
things. I've got some code using JQuery that parses the HTML and adds
JavaScript extensions to standard HTML controls. This provides the basic
mechanism to react to user selection etc.

If you want to, you could then make something like a JSON call back to the
Server. Struts can react to this using appropriate Result types. I think
there's a plug-in somewhere that helps this process but I haven't used it.

Enjoy...

Steve

-----Original Message-----
From: loinheart [mailto:shah_khan_1...@hotmail.com] 
Sent: 21 April 2012 17:43
To: user@struts.apache.org
Subject: event On struts

Hey hiiiiiiiiiiii

Im a new in struts so please kindly tell me how to create event on struts
control like a dot net Control ........?

I want to perform a  selected index action on dropedown so please any tell
me how to perform to this ......?

--
View this message in context:
http://struts.1045723.n5.nabble.com/event-On-struts-tp5656488p5656488.html
Sent from the Struts - User mailing list archive at Nabble.com.

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


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

Reply via email to