I cannot seem to get the dmi to work, I get action not allowed:

*This method: save for action eventAdd is not allowed! - [unknown location]*

I then get this error when I add global-allowed-methods :

<global-results>
......
</global-results>
<global-allowed-methods>execute,input,cancel([A-Z]*),([A-Z]*)</global-allowed-methods>

which was what I had before, last time I tested beta2.


ERROR DomHelper Element type "global-allowed-methods" must be declared. at
(null:163:33)
 org.xml.sax.SAXParseException; systemId:
file:/../WEB-INF/classes/struts.xml; lineNumber: 163; columnNumber: 33;
Element type "global-allowed-methods" must be declared.

Its saying that it must be declared, with the correct line number in the
struts.xml file.  Well it is.  Where should it go?


btw I need all methods to pass until I can work out what I need.

Cheers Greg


On 21 January 2016 at 13:56, Lukasz Lenart <lukaszlen...@apache.org> wrote:

> The Apache Struts 2.5 BETA3 test build is now available.
>
> New in BETA1
> - XWork source was merged into Struts Core source, it means that there
> be no more xwork artifact nor dedicated jar
> - OGNL was upgraded to version 3.0.11 and it breaks access to
> properties as it follows Java Bean Specification, see WW-4207 and
> WW-3909
> - Spring dependency for tests and spring plugin was upgraded to
> version 4.1.6, see WW-4510.
> - Struts2 internal logging api was marked as deprecated and was
> replaced with new Log4j2 api as logging layer, see WW-4504.
> - Struts2 is now build with JDK7, see WW-4503.
> - New plugin to support bean validation is now part of the
> distribution, see WW-4505.
> - Deprecated plugins are now removed from the distribution and are not
> longer supported anymore.
> - - Dojo Plugin
> - - Codebehind Plugin
> - - JSF Plugin
> - - Struts1 Plugin
>
> New in BETA2
> - New security option was added - Strict Method Invocation (also known
> as Strict DMI), see WW-4540
> - Add support for latest stable AngularJS in Maven archetype, see WW-4522
>
> New in BETA3
> - Dropped support for id and name - replaced with var, see WW-2069
> - Dedicated archive with a minimal set of dependencies was introduced,
> see WW-4570
> - It is possible to use multiple names when defining a result, see WW-4590
> - Rest plugin honors Accept header, see WW-4588
> - New result 'JSONActionRedirectResult' in json-plugin was defined, see
> WW-4591
> - Tiles plugin was upgrade to the latest Tiles 3 and tiles3-plugin was
> dropped, see WW-4584
> - JasperReports plugins was upgraded to JasperReport 6.0, see WW-4381
> - OGNL was upgraded to version 3.0.11 and it breaks access to
> properties as it follows Java Bean Specification, see WW-4207 and
> WW-3909
> - - and then OGNL was upgraded to version 3.1.1, see WW-4561
> - - and then OGNL was upgraded to version 3.2.1, see WW-4577
>
> Release notes
> * https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5
>
> Distribution:
> * https://dist.apache.org/repos/dist/dev/struts/2.5-BETA3/
>
> Maven 2 staging repository:
> * https://repository.apache.org/content/repositories/staging/
>
> Once you have had a chance to review the test build, please respond
> with a vote on its quality:
>
> [ ] Leave at test build
> [ ] Alpha
> [ ] Beta
> [ ] General Availability (GA)
>
> Everyone who has tested the build is invited to vote. Votes by PMC
> members are considered binding. A vote passes if there are at least
> three binding +1s and more +1s than -1s.
>
> The vote will remain open for at least 72 hours, longer upon request.
> A vote can be amended at any time to upgrade or downgrade the quality
> of the release based on future experience. If an initial vote
> designates the build as "Beta", the release will be submitted for
> mirroring and announced to the user list. Once released as a public
> beta, subsequent quality votes on a build may be held on the user
> list.
>
> As always, the act of voting carries certain obligations. A binding
> vote not only states an opinion, but means that the voter is agreeing
> to help do the work.
>
>
> Kind regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>

Reply via email to