Re: Struts 2 Examples Updated

2013-10-31 Thread Antonio Sánchez
Will documentation be updated too? Do I create an issue in JIRA? El Jueves, 31 de Octubre de 2013 09:55:54 a.m., bphill...@ku.edu escribió: I updated the Struts 2 examples to test using the new release (2.3.15.3). I also fixed those examples that were still using name="expression" for regex X

Re: Antwort: About struts.mapper.action.prefix.enabled

2013-10-31 Thread Antonio Sánchez
That requires to enable Dynamic Method Invocation. DMI is discouraged. It's better to enable action prefix. Another option is to use not a button but a simple link. If your application is stateless there is no need to POST a cancel request. Usually a middle size application will almost alwa

Antwort: About struts.mapper.action.prefix.enabled

2013-10-31 Thread Christoph Nenning
> As far as I know the only way to render a cancel button inside a form is > this: > > action="cancelFormAction"/> > > This requires > > struts.mapper.action.prefix.enabled = true. > > I can't imagine a middle-high size development which does not use a > single cancel button. > > Shouldn'

Struts 2 Examples Updated

2013-10-31 Thread bphill...@ku.edu
I updated the Struts 2 examples to test using the new release (2.3.15.3). I also fixed those examples that were still using name="expression" for regex XML validation. You can checkout these examples from Subversion at: https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2examples

About struts.mapper.action.prefix.enabled

2013-10-31 Thread Antonio Sánchez
As far as I know the only way to render a cancel button inside a form is this: action="cancelFormAction"/> This requires struts.mapper.action.prefix.enabled = true. I can't imagine a middle-high size development which does not use a single cancel button. Shouldn't 'struts.mapper.action.p

Re: XML Validation bug in examples and documentation

2013-10-31 Thread Antonio Sánchez
Please remove link to annotations above from the list: http://struts.apache.org/development/2.x/xwork-core/apidocs/com/opensymphony/xwork2/validator/annotations/RegexFieldValidator.html El Jueves, 31 de Octubre de 2013 08:27:49 a.m., Antonio Sánchez escribió: "Preparable" and "exclude paramete

XML Validation bug in examples and documentation

2013-10-31 Thread Antonio Sánchez
"Preparable" and "exclude parameters" examples (at least) in: http://struts.apache.org/release/2.3.x/docs/getting-started.html should be Documentation: http://struts.apache.org/release/2.3.x/xwork-core/apidocs/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.html http://str

Re: CodeBehind @ParentPackage annotation seems to not work in struts 2.3.15.1

2013-10-31 Thread Lukasz Lenart
2013/10/30 Greuel, Jim : > I don't know about the 10 times easier, but we'll see what we can do. I mean you have a real case and as you've probably noticed I'm adjusting my solution to your very simple example ;-) You can always extend the example to help me grasp as much as possible :-) Regards