I have solved the problem. The thread I referenced is correct.
Franz
On Fri, Aug 13, 2010 at 6:00 PM, Franz Wong franzw...@gmail.com wrote:
I found the Type conversion page from struts official web site and I
followed the Advanced example for indexed Lists and Maps, but I cannot get
it work
Hi,
I would like to show a list of user and enable the change of the name. I
don't know if there is any mechanism which struts provided to do that.
class User {
private Long id;
private String name;
// getters and setters
}
form action=updateUser
table
s:iterator
-and-ParametersInterceptor-problem-td15016850.html
On Fri, Aug 13, 2010 at 2:13 PM, Franz Wong franzw...@gmail.com wrote:
Hi,
I would like to show a list of user and enable the change of the name. I
don't know if there is any mechanism which struts provided to do that.
class User
Thanks. It solves my problem :)
Franz
On Wed, Aug 11, 2010 at 10:11 PM, Alex Rodriguez Lopez
alo...@flordeutopia.pt wrote:
Don't know if this solves your problem, but maybe it helps to use the
params-prepare-params trick, calling params interceptor twice, so you have
your params ready
Hi,
I have read the documentation How do we repopulate controls when validation
fails [1]. I tried the action tag solution. However, when there is a
validation error, the execute method of the action in s:action is not
called.
I don't choose the Preparable solution because the parameter required
Hi group,
In the jsp page, I have a page scope variable title. This variable stores
the key of the resource bundle. I can print the value by %= title %.
However, I am not able to use it with s:text/.
I have tried s:text name=${title}/ or s:text name=%= title %/. But
both of them do not work.
Hi,
I would like to ask is there any mechanism clearing ThreadLocal of
ActionContext by struts? As I know, there are some issues when ThreadLocal
is used with thread pool.
Reference :
Hi group,
Suppose I have an URL with parameters (e.g.
http://localhost:8080/myApp/action/myAction/user/name/Peter).
I would like to map those parameters in the following way.
class MyAction {
private String searchType; // user
private String searchMethod; // name
private String
Hi,
I have an i18n web site with struts 2. I don't know why the i18n text is not
loaded properly. I expect 檢索詞不能空白 (Chinese characters), but it turns out
檢索詞不不能空白. But if I make any change on the html (e.g. the order of
attributes or remove some elements), the text is loaded without any problem.
Hi,
I am using Struts 2. I have a page which contains 2 forms. Each form
corresponds to different Actions (Action B / C). The action adds
ActionMessage and redirects back to the original page. I would like to
display the ActionMessage in the form which triggered the Action. How do I
perform this
10 matches
Mail list logo