I thought if you specified "key" it would try to use that value as the name, label, and value. That might be consistent with what you're seeing, where it's trying to set a value on an action property object graph:
> Exception caught setting 'user.registration.submit.button' > on 'class portal.struts2.actions.aaa.RegisterUserAction What happens if you use OGNL in the label expression, like so? label='%{getText("user.registration.submit.button")}' I don't recall if supplying a "key" implies its value will be used as the value as well. Dave --- Alec C4 <[EMAIL PROTECTED]> wrote: > ognl.OgnlException: source is null for getProperty(null, > "registration") > at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1638) > at ognl.ASTProperty.getValueBody(ASTProperty.java:92) > at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) > at ognl.SimpleNode.getValue(SimpleNode.java:210) > at ognl.ASTChain.setValueBody(ASTChain.java:168) > at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177) > at ognl.SimpleNode.setValue(SimpleNode.java:246) > at ognl.Ognl.setValue(Ognl.java:476) > at > com.opensymphony.xwork2.ognl.OgnlUtil.setValue(OgnlUtil.java:197) > at > com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:150) > at > com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:138) > at > com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:205) > at > com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:162) > at > com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > at > com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) > at > com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) > at > com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) > at > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) > > > ......... > > expr: user.registration.submit.button val: > [Ljava.lang.String;@1c71508 > context: [EMAIL PROTECTED] root:[portal.s > [EMAIL PROTECTED], > [EMAIL PROTECTED] value: > [Ljava.lang.St > ring;@1c71508 > [2008-05-22 21:38:43,187] ERROR > com.opensymphony.xwork2.interceptor.ParametersInterceptor > ParametersInterceptor - [setPa > rameters]: Unexpected Exception caught setting > 'user.registration.submit.button' on 'class > portal.struts2.actions.aaa.Re > gisterUserAction: Error setting expression > 'user.registration.submit.button' > with value '[Ljava.lang.String;@1c71508' > > -- > View this message in context: > http://www.nabble.com/unclear-behavior-of-submit-control-tp17402365p17409629.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]