Calling an action class through Javascript -Struts 2.

2011-03-20 Thread JavaNoobie87
Hi All , I'm trying to call an action class , On change of the values in a dropdown box in my jsp .I also have to pass a value to the action class to execute the method . Im trying to implement it only using Javascript as part of our project requirements , and so using AJAX with JSON , dwr etc is r

RE: update a complex object through struts2

2011-03-20 Thread Martin Gainty
MG>answers prefixed by MG> > > > > here is an example of TaskAction_add-validation.xml: > > > > > "-//OpenSymphony Group//XWork Validator 1.0.2//EN" > > "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd";> > > > > > > > > > > > >

Re: update a complex object through struts2

2011-03-20 Thread maven apache
2011/3/20 Martin Gainty > Another common approach is to postfix the method name and set it off with > an exclamation point (aka "bang"), underscore, or other special character. > >- "action=TaskAction_add" >- "action=TaskAction_update" > > To use a postfix wildcard, just move the asteris

Fwd: update a complex object through struts2

2011-03-20 Thread maven apache
-This post is orignal sent to Martin Gainty. It seems he maybe busy now,so I post it to the list and wonder if any other guys can do me a favor. --- -- Forwarded message -- From: maven apache Date: 2011/3/19 Subject: Re: update a complex object throug