Re: Create struts2 portlet webapp from archetype

2012-01-04 Thread Johannes Geppert
I am sure this happens because the archetype.xml in the META-INF folder inside of the struts2-archetype-portlet-2.3.1.1.jar is missing. In the older release 2.2.1.1 this file exists. Johannes - web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context:

Re: strict DMI

2012-01-04 Thread John Lindal
The wildcard support is limited to *, since (Method1|Method2|Method3) is actually a regex, not a wildcard. I agree that allowed-methods ought to limit the wildcard matching. Can you file a JIRA ticket for this? Thanks, John On Jan 4, 2012, at 12:00 PM, Andreas Sachs wrote: Hi John, than

Re: strict DMI

2012-01-04 Thread Andreas Sachs
Hi John, thanks for the clarification. But to come back to my original question: Why is not available for wildcard method invocation? Even you expected that it is available (your first post). Allowed-methods would be a good possibility to limit the wildcard to some method names. Or is there a

Re: strict DMI

2012-01-04 Thread John Lindal
Actually, the wiki did mention that "method" is in addition to allowed- methods. I have updated it to make it clearer and also explain that since wildcards are specified in the "method", this is not blocked by allowed-methods. I also added a note about allowed-methods without strict-metho

Re: Create struts2 portlet webapp from archetype

2012-01-04 Thread Łukasz Lenart
All the archetypes are broken, don't know why :/ The jars are missing important files. W dniu 4 stycznia 2012 14:43 użytkownik Łukasz Lenart napisał: > Done, just wait a bit - one hour ;-) > > W dniu 4 stycznia 2012 13:47 użytkownik Łukasz Lenart > napisał: >> It's ok, the repo [1] has changed :

Re: Create struts2 portlet webapp from archetype

2012-01-04 Thread Łukasz Lenart
Done, just wait a bit - one hour ;-) W dniu 4 stycznia 2012 13:47 użytkownik Łukasz Lenart napisał: > It's ok, the repo [1] has changed :/ > I'll update the archetype-catalog.xml in few minutes > > [1] http://repo1.maven.org/maven2/ > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.o

Re: Create struts2 portlet webapp from archetype

2012-01-04 Thread Łukasz Lenart
It's ok, the repo [1] has changed :/ I'll update the archetype-catalog.xml in few minutes [1] http://repo1.maven.org/maven2/ Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2012/1/4 Johannes Geppert : > I like to update the e

Create struts2 portlet webapp from archetype

2012-01-04 Thread Johannes Geppert
I like to update the existing Struts2 Portlet Tutorial. https://cwiki.apache.org/confluence/display/WW/Struts+2+Portlet+Tutorial But I run into Failure when executing following maven command to create the Webapp from archetype. /mvn archetype:generate -DarchetypeGroupId=org.apache.struts -Darche

Re: Clean up

2012-01-04 Thread Maurizio Cucchiara
On 3 January 2012 16:21, Wes Wannemacher wrote: > I was able to move the folders out of /www/struts.apache.org and into > my home directory... > LOL, it looks like a game I used to play when I was 10 (sure there is no folder yet). Now, according to the play rules, you have to find someone who tak

Re: strict DMI

2012-01-04 Thread Andreas Sachs
According to the documentation: In Struts 2.3, an option was added to restrict the methods that DMI can invoke. First, set the attribute strict-method-invocation="true" on your element. Then specify as a comma-separated list of method names in your . A request for any other method will be reje