Re: Initial setup

2010-11-22 Thread M. Rakowski
Docs and sample applications are in the same place: http://struts.apache.org/download.cgi#struts221 I am going for 2.2.1 that jar I have downloaded, also please provide doc where I found it. - To unsubscribe, e-mail: user-un

Re: labelizing submit buttons

2010-11-29 Thread M. Rakowski
i have exactly the same problem: with event.name set in the package.properties file: works ok. with button.create set in the same .properties-file causes exception. Suggestion: It works only if you use ActionClassName.properties file instead of package.properties?

Re: labelizing submit buttons

2010-12-02 Thread M. Rakowski
maybe it is a little late, but here is a "legal" way to put a label on s:submit: With btn.search defined in .properties file. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: Struts 2 - problem updating page

2011-01-06 Thread M. Rakowski
Another approach would be to store a request-id in the form and session and compare this values. On Browser navigation, e.g. reload, browser would sent an old request-id. To be sure you have to combine the two techniques (Post/Redirect + Request-id). -

Struts @Inject vs. Spring @Autowire

2011-04-20 Thread M. Rakowski
Hi Everyone, which annotation should I use for DI? I have successfully used both. Spring requires additional libraries, is it worth it? Thanks in advance - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For addition

Re: Struts @Inject vs. Spring @Autowire

2011-04-20 Thread M. Rakowski
@Inject is the JSR-330 standard, right? I meant com.opensymphony.xwork2.inject.Inject. But you are right, I should try EE6 with Java DI. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands,

rest-plugin: paramPrepareParam + Namespaces

2011-08-30 Thread M. Rakowski
i have some questions about the rest-plugin: 1) paramPrepareParam-Stack: It seems that the rest plugin does not support paramPrepareParam-Stack. The setId-method is always called after the prepare-Method. Is the only way to solve it to use the query string (action?id=xy instead of action/xy) or

Re: Struts 2 Annotation Tutorial

2011-09-28 Thread M. Rakowski
Hi, make sure your Hallo-Action is in class HalloController in package foo.actions.bar (foo and bar are random names). That it should work. Regards, Matthias - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

Re: Struts 2 Annotation Tutorial (additional info)

2011-09-28 Thread M. Rakowski
I wrote: > make sure your Hallo-Action is in class HalloController in package > foo.actions.bar (foo and bar are random names) which is not quite correct: the prefix of the actions-package can be random. The sub-packages names defines the url namespace. For example, you can access the foo.action

Re: Authentication and authorization

2012-04-17 Thread M. Rakowski
Hey, i would definitely _discourage_ you from using JAAS. IMHO go with Spring Security: http://static.springsource.org/spring-security/site/ It is pretty easy to integrate in Struts and provides everything you need for both authentication and authorization.

Re: Authentication and authorization

2012-04-19 Thread M. Rakowski
a brief explanation for basic spring-security (only authentication) configuration with struts: Spring security is running as a filter in your web-app (you need to make sure that it comes first before Struts). For the filter-configuration take a look at (2.2.1): http://static.springsource.org/spr

Re: event On struts

2012-04-22 Thread M. Rakowski
since Struts is an action-oriented framework, i don't think it is possible. Maybe with one of the ajax-plugins? Or just try apache wicket. --- Im a new in struts so please kindly tell me how to create event on struts control like a dot net Control ? I want to perform a selected ind