Re: binding paramters in struts2 without the form

2010-12-01 Thread maven apache
://stackoverflow.com/questions/4300409/binding-paramters-in-struts2-without-the-form . 2010/11/29 maven apache apachemav...@gmail.com s:form action=register s:textfield name=personBean.firstName label=First name / s:submit/ /s:form

Re: binding paramters in struts2 without the form

2010-11-30 Thread Li Ying
Struts will not automatically populate fields based on parameters passed via the URL I always use URL to binding parameters to Action. And I have read source code of ParametersInterceptor, I think this Interceptor will populate all the params to Action. And it dose not treat params via URL or

binding paramters in struts2 without the form

2010-11-29 Thread maven apache
s:form action=register s:textfield name=personBean.firstName label=First name / s:submit/ /s:form public class Register extends ActionSupport { private static final long serialVersionUID = 1L; private Person personBean; // } Using the s:form tag

Re: binding paramters in struts2 without the form

2010-11-29 Thread Maurizio Cucchiara
bar struts will try to inject value inside your bean. Does this answer your question? 2010/11/29 maven apache apachemav...@gmail.com: BTW,this is a cross post at stackoverflowhttp://stackoverflow.com/questions/4300409/binding-paramters-in-struts2-without-the-form . 2010/11/29 maven apache

Re: binding paramters in struts2 without the form

2010-11-29 Thread maven apache
will try to inject value inside your bean. Does this answer your question? 2010/11/29 maven apache apachemav...@gmail.com: BTW,this is a cross post at stackoverflow http://stackoverflow.com/questions/4300409/binding-paramters-in-struts2-without-the-form . 2010/11/29 maven apache

Re: binding paramters in struts2 without the form

2010-11-29 Thread Jason Ferguson
-paramters-in-struts2-without-the-form . 2010/11/29 maven apache apachemav...@gmail.com s:form action=register s:textfield name=personBean.firstName label=First name / s:submit/ /s:form public class Register extends ActionSupport

Re: binding paramters in struts2 without the form

2010-11-29 Thread maven apache
? 2010/11/29 maven apache apachemav...@gmail.com: BTW,this is a cross post at stackoverflow http://stackoverflow.com/questions/4300409/binding-paramters-in-struts2-without-the-form . 2010/11/29 maven apache apachemav...@gmail.com s:form action=register

Re: binding paramters in struts2 without the form

2010-11-29 Thread Dave Newton
On Mon, Nov 29, 2010 at 6:55 AM, Jason Ferguson wrote: Struts will not automatically populate fields based on parameters passed via the URL. Your action will need to implement the ParameterAware interface, and the setParameters(MapString, String[] parameters) method. Then you can use the

Re: binding paramters in struts2 without the form

2010-11-29 Thread Maurizio Cucchiara
post at stackoverflow http://stackoverflow.com/questions/4300409/binding-paramters-in-struts2-without-the-form . 2010/11/29 maven apache apachemav...@gmail.com s:form action=register       s:textfield name=personBean.firstName label=First name