Control Struts2 Tags with Conditional Tags

2014-06-11 Thread NIJO GEORGE
s:select name=totalOptions id=TotalOptions headerKey=-1 headerValue=Select Number of Options theme=bootstrap list=# {'2':'2','3':'3','4':'4','5':'5','6':'6','7':'7'} onchange=getTextBoxes(value)/ -- s:radio list=# {'0':'SingleChoice','1':'MultipleChoice','2':'Subjective'}

Control Struts2 Tags with Conditional Tags

2014-06-11 Thread NIJO GEORGE
s:select name=totalOptions id=TotalOptions headerKey=-1 headerValue=Select Number of Options theme=bootstrap list=# {'2':'2','3':'3','4':'4','5':'5','6':'6','7':'7'} onchange=getTextBoxes(value)/ -- s:radio list=# {'0':'SingleChoice','1':'MultipleChoice','2':'Subjective'}

Re: Find action method in interceptor ( One action class with lots of action methods in it)

2014-06-11 Thread Christoph Nenning
Please consider below action class: public class MyAction extends ActionSupport{ @Action(action1) public String action1(){ } @Action(action2) public String action2(){ } @Action(action3) public String

Forward to exception page instead of result in case of ognl runtime exception ?

2014-06-11 Thread Mohit Gupta
I have below action class where customerId is integer. If i pass customerId as string from UI(I know it should not be allowed but there are ways user can do it), i get exception ognl.MethodFailedException: . Please find stack trace at last @Results({ @Result(name = displayCustomer, location