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

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. field name=a field-validator type=requiredstring message key=errors.required/ /field-validator /field field name=b field-validator type=requiredstring

Re: s:property with dynamic values

2008-04-16 Thread JRD
' 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 them dynamically. c:set var=currentProperty value=x

s:property with dynamic values

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. c:set var=currentProperty value=x/ How do I write a s:property value=/ using currentProperty that would result it showing my