Re: Struts 2.1.8 Vote

2009-09-24 Thread Philip Luppens
On Wed, Sep 23, 2009 at 3:42 PM, Wes Wannemacher w...@wantii.com wrote: The Struts 2.1.8 test build is now available. Release notes: * [http://cwiki.apache.org/confluence/display/WW/Version+Notes+2.1.8] Distribution: * [http://people.apache.org/builds/struts/2.1.8/] I get extraction errors

Re: Struts 2.1.8 Vote

2009-09-24 Thread Lukasz Lenart
2009/9/24 Philip Luppens philip.lupp...@gmail.com: I get extraction errors for the struts-2.1.8-all.zip file (some docs cannot be extracted). Can anyone verify? I just downloaded and find no problems - 7-Zip on Windows XP - download trough proxy server Regards -- Lukasz

Re: Struts 2.1.8 Vote

2009-09-24 Thread Nils-Helge Garli Hegvik
Me too. On Thu, Sep 24, 2009 at 12:15 PM, Lukasz Lenart lukasz.len...@googlemail.com wrote: 2009/9/24 Philip Luppens philip.lupp...@gmail.com: I get extraction errors for the struts-2.1.8-all.zip file (some docs cannot be extracted). Can anyone verify? I just downloaded and find no problems

Re: Struts 2.1.8 Vote

2009-09-24 Thread Frans Thamura
any checklist about new feature added in 2.1.8? Frans - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org

NPE in embeddedJsp plugin

2009-09-24 Thread Obinna
I'm getting a NPE in the embeddedJsp plugin. It seems to originate from JSPLoader.getJarURL(clazz) at URL loc = codeSource.getLocation() because codeSource is null. (protectionDomain.getCodeSource() returns null). Not sure why this is happening for me (it is occurring when clazz = interface

Re: 2.1.8

2009-09-24 Thread Wes Wannemacher
Martin, You are missing what I am saying. If you look in the pom for xwork-core, there is a configuration for the 'maven-shade-plugin.' This configuration sort of 'steals' those classes from commons-lang and puts them into xwork-core's jar file. It also changes the package on the class so that

Re: NPE in embeddedJsp plugin

2009-09-24 Thread Musachy Barroso
hum, that's pretty much the only way of getting the list of jars, that I know of. We should probably add a contant where a list of jar files can be set. Although code can be null, it has always had a value for me, what's your environment, jdk, os, etc? musachy On Thu, Sep 24, 2009 at 6:44 AM,

Re: [VOTE] Struts 2.1.8 Vote

2009-09-24 Thread Wes Wannemacher
+1 GA I noticed a few interesting things - The Tiles / Freemarker example in the past used to throw a nasty exception, but now it appears to be working - http://struts.zones.apache.org/tomcat-5-5-27-java6-struts2-showcase/tiles/freemarkerLayout.action I don't remember any svn commits related

Re: Struts 2.1.8 Vote

2009-09-24 Thread Musachy Barroso
+1 GA On Wed, Sep 23, 2009 at 6:42 AM, Wes Wannemacher w...@wantii.com wrote: The Struts 2.1.8 test build is now available. Release notes: * [http://cwiki.apache.org/confluence/display/WW/Version+Notes+2.1.8] Distribution: * [http://people.apache.org/builds/struts/2.1.8/] Maven 2 staging

2.1 - 2.2 ?

2009-09-24 Thread Dale Newfield
Musachy Barroso (JIRA) wrote: Musachy Barroso updated WW-3260: Fix Version/s: 2.1.9 Assuming that 2.1.8 becomes GA, and we're able to get the xwork code base through the IP clearance process, are we planning on continuing development on 2.1, or are we

Re: 2.1 - 2.2 ?

2009-09-24 Thread Wes Wannemacher
I think that's up in the air... I'm a 'one thing at a time' kind of guy, so I'm just wanting to get a GA release for 2.1, there are over 100 bugfixes that have been done but not released since 2.1.6. So, personally, I'll worry about 2.2 / 2.1 after we get the next release out. -Wes On Thu, Sep

Re: Struts 2.1.8 Vote

2009-09-24 Thread Philip Luppens
+1 GA On 9/23/09, Wes Wannemacher w...@wantii.com wrote: The Struts 2.1.8 test build is now available. Release notes: * [http://cwiki.apache.org/confluence/display/WW/Version+Notes+2.1.8] Distribution: * [http://people.apache.org/builds/struts/2.1.8/] Maven 2 staging repository: *

Re: Struts 2.1.8 Vote

2009-09-24 Thread Wes Wannemacher
Frans, the best place to look is the 'Release Notes' You can get to them here - http://cwiki.apache.org/WW/version-notes-218.html There is a brief summary of the 'new' things. Here is a link on that page to see everything that has been fixed since 2.1.6...

Re: Struts 2.1.8 Vote

2009-09-24 Thread Frans Thamura
thx ;) reading it.. JSON is the main thing in this release i love if we can put json-showcase in it.. Frans - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail:

Re: Struts 2.1.8 Vote

2009-09-24 Thread Wes Wannemacher
Yeah, Musachy and I were talking about that yesterday off-line. We are in need of a new showcase... I have some ideas on that :) *cough,cough,hack,jquery,cough* But that might be a part of a 2.2 push. -Wes On Thu, Sep 24, 2009 at 1:05 PM, Frans Thamura fr...@meruvian.org wrote: thx ;)

Re: Struts 2.1.8 Vote

2009-09-24 Thread Frans Thamura
On Fri, Sep 25, 2009 at 12:09 AM, Wes Wannemacher w...@wantii.com wrote: Yeah, Musachy and I were talking about that yesterday off-line. We are in need of a new showcase... I have some ideas on that :) *cough,cough,hack,jquery,cough* But that might be a part of a 2.2 push. i try to

parameters in url

2009-09-24 Thread Musachy Barroso
I find that using parameters in urls is confusing in struts, and there are just too many (and not compatible) ways of doing it, for example, if you want to have parameters in front of the action name, like /something/param1/param2/ActionName you would have to use the namedVariable action mapper,

Where to post XWork issue?

2009-09-24 Thread Alex Siman
Where to post XWork 2.1.6 issue? -- View this message in context: http://www.nabble.com/Where-to-post-XWork-issue--tp25592812p25592812.html Sent from the Struts - Dev mailing list archive at Nabble.com. - To unsubscribe,

Re: Where to post XWork issue?

2009-09-24 Thread Alex Siman
I ask, because I have not found version 2.1.6 here: http://jira.opensymphony.com/browse/XW Alex Siman wrote: Where to post XWork 2.1.6 issue? -- View this message in context: http://www.nabble.com/Where-to-post-XWork-issue--tp25592812p25593344.html Sent from the Struts - Dev mailing

Re: XWork 2.1.6 released

2009-09-24 Thread Dale Newfield
On Saturday 19 September 2009 09:41:06 am Rainer Hermanns wrote: finally done, XWork 2.1.6 is on its way to the mirrors and should be available soon... Any release notes of note? http://jira.opensymphony.com/secure/ReleaseNote.jspa?version=21826styleName=HtmlprojectId=10050Create=Create

Re: [VOTE] Struts 2.1.8 Vote

2009-09-24 Thread Dale Newfield
This build includes commons-logging-1.0.4 and commons-digester-2.0. Digester 2.0 (while it says It is also possible to use Logging 1.0.x) has commons-logging-1.1.1 as a recommended dependency. (and commons-logging-api-1.1, which presumably should also be commons-logging-api-1.1.1) I don't

Re: parameters in url

2009-09-24 Thread Musachy Barroso
meh, this one didn't put up much of a fight :). With these set (regex alternative implementation of patternMatcher): constant name=struts.enable.SlashesInActionNames value=true/ constant name=struts.mapper.alwaysSelectFullNamespace value=false/ constant name=struts.patternMatcher value=regex /

Re: parameters in url

2009-09-24 Thread Wes Wannemacher
Be careful overriding the pattern matcher. I use it in xwork to include files in the xml configuration provider. -W On 9/24/09, Musachy Barroso musa...@gmail.com wrote: meh, this one didn't put up much of a fight :). With these set (regex alternative implementation of patternMatcher):

Re: parameters in url

2009-09-24 Thread Musachy Barroso
Careful with that axe Eugene The only change in xwork would be in AbstractMatcher:replaceParameters, because that method gets the params defined in the action mapping (param name=name{1}/param), and replaces it with the value extracted from the URL. My change is to also include additional params,

Re: parameters in url

2009-09-24 Thread Frans Thamura
hi there i believe we cannot mix the old package xml with rest right -- Frans Thamura Meruvian. Experiential Tempation of Java and Enterprise OpenSource Meruvian bukan hanya membuat anak SMK menjadi bisa tapi SAKTI, malah saktinya SAKTI Mandraguna. Mobile: +62 855 7888 699i Blog Profile:

Re: parameters in url

2009-09-24 Thread Alex Siman
Very useful feature! It's SEO friendly and reduces/eliminates using of UrlRewriteFilter. Is this code correct?: @Results({ @Result( name = Action.SUCCESS, location = {2}.jsp ) }) class TestAction { String bio, name;

Re: parameters in url

2009-09-24 Thread Frans Thamura
my opinion the /url/url/param/param is REST right, we need use convention and the package is the old model how can it run in the your dev envionment? F - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For

Re: parameters in url

2009-09-24 Thread Musachy Barroso
yes, that would work. musachy On Thu, Sep 24, 2009 at 7:01 PM, Alex Siman aleksandr.si...@gmail.com wrote: Very useful feature! It's SEO friendly and reduces/eliminates using of UrlRewriteFilter. Is this code correct?: @Results({       �...@result(                name = Action.SUCCESS,

Re: Where to post XWork issue?

2009-09-24 Thread Wes Wannemacher
On Thursday 24 September 2009 06:02:22 pm Alex Siman wrote: I ask, because I have not found version 2.1.6 here: http://jira.opensymphony.com/browse/XW Alex Siman wrote: Where to post XWork 2.1.6 issue? Go ahead and post in our JIRA, we are talking of moving xwork over here for struts2.

Re: Where to post XWork issue?

2009-09-24 Thread Alex Siman
I have posted issue here: Allow LoggerUtils.format to support unlimited number of args http://jira.opensymphony.com/browse/XW-726 Do I need to repost it to Struts2 JIRA? Wes Wannemacher wrote: On Thursday 24 September 2009 06:02:22 pm Alex Siman wrote: I ask, because I have not found

Re: Where to post XWork issue?

2009-09-24 Thread Musachy Barroso
no, there is fine also, when posting a patch try to generate a diff for it, it makes it easier to apply. thanks musachy On Thu, Sep 24, 2009 at 8:44 PM, Alex Siman aleksandr.si...@gmail.com wrote: I have posted issue here: Allow LoggerUtils.format to support unlimited number of args

new showcase

2009-09-24 Thread Musachy Barroso
Wes suggested that we should make a new showcase app, and I think it is a great idea. Things I have in mind: * CRUD sample with spring * Spring security * Sitemesh * Tiles * Convention samples * Results samples, FreeMarker, Velocity, JSON, Embedded JSP * OGNL interactive thing (ok, ok..maybe not

Re: NPE in embeddedJsp plugin

2009-09-24 Thread Obinna
I figured out the problem. Somehow (don't ask), servlet-api.jar ended up in my Tomcat endorsed folder. Removing it fixed the problem. It still seems that assuming protectionDomain.getCodeSource() will return a non-null value is dangerous though. On Thu, Sep 24, 2009 at 4:44 PM, Obinna