S2 Losing Session in interceptor

2008-05-05 Thread JRD
Hey there, I have built an interceptor to store and retrieve ActionErrors using the session for redirect-action results. The weird thing is I seem to lose the values the first time it is run through. private static final String KEY="org.etc..."; public String intercept(ActionInvocation actionIn

Struts 2 & Dynamic Validation results

2008-04-21 Thread JRD
I am try to migrate an app from struts 1 -> 2 I am trying to do basic validation on a form. Fields a and b are required. in the resource bundle I have errors.required={0} is required. How do you put dynamic values into these messages so that it shows

Re:

2008-04-16 Thread JRD
w to write in 'x' for the currentProperty, but since I have to evaluate property to get x it doesn't work. Any other thoughts? Thanks, Jonathan newton.dave wrote: > > --- JRD <[EMAIL PROTECTED]> wrote: >> I have a .JSP where I want to write out the values of the

user@struts.apache.org

2008-04-15 Thread JRD
Hi there, I have an action/form that contains properties x, y, & z with values 1, 2, & 3. I have a .JSP where I want to write out the values of them dynamically. How do I write a using currentProperty that would result it showing my actions value (1). If I were using runtime expressions I