You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jason Pyeron <jp...@pdinc.us> on 2012/04/22 14:15:37 UTC

RE: [struts-user] event On struts

> -----Original Message-----
> From: loinheart 
> Sent: Saturday, April 21, 2012 12:43
> Subject: [struts-user] 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 ........?

Struts is a MVC framework, that kind of feature would be a update you make in
the view. The view is typically JSP a scripted HTML, similar to .NET apps. Since
there are no controls (we call them tags) that I know of that support that out
of the box, you would us a JavaScript trigger to call the submit. IIRC that is
what .NET does.

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

See above.

A general note of caution, .NET applications store a plethora of state
information in the user's session. Many including my self feel that is a bad
practice as it breaks the natural navigation of a site.

-Jason 


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 


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