Re: Portlet 2.0 Plugin was moved to trunk

2011-06-24 Thread Nils-Helge Garli Hegvik
It's probably because of an updated spring mock dependency. The MockPortletRequest object has this line of code: attributes.put("javax.portlet.lifecycle_phase", getLifecyclePhase()); So the test should be rewritten to not be dependent on the number of elements in the entry set, but rather that the

Re: Portlet 2.0 Plugin was moved to trunk

2011-06-23 Thread Nils-Helge Garli Hegvik
Just did an update from trunk, and the tests ran fine with me (Java 1.6.0, Maven 2.2.1). Nils-H On Thu, Jun 23, 2011 at 11:24 PM, Johannes Geppert wrote: > Hi Guys, > > I have copied the latest version of the Portlet 1.0 Plugin to the archive > and replaced the version in trunk with the sandbox

Re: [VOTE] Replace the current Portlet Plugin with Sandbox Version

2011-05-30 Thread Nils-Helge Garli Hegvik
Looks like Rene and Johannes has done a great job getting the plugin up to date. +1 from the side line. Nils-H On Mon, May 30, 2011 at 9:51 AM, Lukasz Lenart wrote: > 2011/5/30 Rene Gielen : > > +1 (binding) > > > > As a side note, we have already a couple of users (including Johannes) > > usi

Re: Portlet plugin renderDirect location transfer via session may has concurrent issue

2011-05-23 Thread Nils-Helge Garli Hegvik
, there's something called "action scoped request attributes" which is probably better suited for saving such state information. Regards, Nils-Helge Garli Hegvik On Mon, May 23, 2011 at 11:41 AM, huang.mi...@gmail.com < huang.mi...@gmail.com> wrote: > Hi Nils-H, > Ju

Re: Portlet plugin renderDirect location transfer via session may has concurrent issue

2011-05-22 Thread Nils-Helge Garli Hegvik
Hi! It used to be a render parameter, but was changed due to this: https://issues.apache.org/jira/browse/WW-2052 Nils-H On Sun, May 22, 2011 at 8:02 PM, huang.mi...@gmail.com wrote: > Hi Pyerson, >   I'm also using portlet2 plugin, which seems derived from struts portlet > plugin, brings same m

Re: Liferay

2011-02-26 Thread Nils-Helge Garli Hegvik
.net/projects/medallion > > Use spring and hibernate > > Get perm gen error > > I think because my portlet have injection and so do liferay > > Can see > --Original Message-- > From: Nils-Helge Garli Hegvik > To: Struts Developers List > To: Frans Thamura > Sub

Re: Liferay

2011-02-25 Thread Nils-Helge Garli Hegvik
I tested the JSR168 portlet framework on Liferay without problems. What problems are you experiencing? Nils-H On Thu, Feb 24, 2011 at 11:35 PM, wrote: > Anyone here know liferay people? > > We know the problem with struts2 is the portlet, > > Any idea for liferay portlet focus? Because this por

Re: portlet2 plugin

2011-02-14 Thread Nils-Helge Garli Hegvik
hub so we could fork it. > May we bother you with some questions if we don't get it fixed > ourselves? Last time I tried it, it wasn't working ... > > - René > > On 27.01.11 09:51, Nils-Helge Garli Hegvik wrote: >> On Thu, Jan 27, 2011 at 8:56 AM, Rene Gielen wrote:

Re: portlet2 plugin

2011-01-27 Thread Nils-Helge Garli Hegvik
lves? Last time I tried it, it wasn't working ... > > - René > > On 27.01.11 09:51, Nils-Helge Garli Hegvik wrote: >> On Thu, Jan 27, 2011 at 8:56 AM, Rene Gielen wrote: >>> Actual state: >>> - JSR286 nature with automatic detection of the API version to use is >>

Re: portlet2 plugin

2011-01-27 Thread Nils-Helge Garli Hegvik
On Thu, Jan 27, 2011 at 8:56 AM, Rene Gielen wrote: > Actual state: > - JSR286 nature with automatic detection of the API version to use is > implemented, but was not heavily tested till now. For test automation, > we still lack a test container environment for 286 as we had for 168 > (customized

Re: sitemesh problem in 2.1.8

2009-10-21 Thread Nils-Helge Garli Hegvik
> > [ERROR] BUILD FAILURE > [INFO] > > [INFO] Compilation failure > error: error reading > /Users/xtian/.m2/repository/cglib/cglib-full/2.0.2/cglib-full-

Re: Portlet-plugin maintainer?

2009-10-15 Thread Nils-Helge Garli Hegvik
I tried pinging you: > ping martin No success... I even tried some obvious intermediate gateways: > ping martin -j wonderland Didn't work either I guess it's because you're offline. So please, do connect... Nils-H On Fri, Oct 16, 2009 at 12:40 AM, Martin Gainty wrote: > > mg>thats grea

Re: Portlet-plugin maintainer?

2009-10-15 Thread Nils-Helge Garli Hegvik
is implemented my changes just break the tests (which is good) and >> proves there is reason why it's implemented that way. >> >> Also I cannot get the unit tests to run in eclipse because it (eclipse >> junit runner) can't load struts-plugin.xml from disk. I'm

Re: Portlet-plugin maintainer?

2009-10-15 Thread Nils-Helge Garli Hegvik
is good) and > proves there is reason why it's implemented that way. > > Also I cannot get the unit tests to run in eclipse because it (eclipse > junit runner) can't load struts-plugin.xml from disk. I'm sure this is > a classic issue, anyone familiar with it? > > 20

Re: Portlet-plugin maintainer?

2009-10-13 Thread Nils-Helge Garli Hegvik
I did notice your second email, but for some reason never received the first one. It's true that there's are some issues in the backlog right now. Any help would be appreciated :) Nils-H On Tue, Oct 13, 2009 at 5:24 PM, Musachy Barroso wrote: > AFAIK Nils is the only one that uses/maintains the

Re: domains and aplication name mapping

2009-10-05 Thread Nils-Helge Garli Hegvik
If I understand correctly, I believe this is a proxy configuration issue. Here you can find some reference to how I solved it when I faced the same problem: http://portletwork.blogspot.com/2009/04/rewriting-urls-in-web-application-using.html Nils-H On Mon, Oct 5, 2009 at 11:49 AM, Nicola de Sain

Re: zip problems with 2.1.8

2009-10-02 Thread Nils-Helge Garli Hegvik
I'm on Windows, and I did test it after you reported the failure. I tested it on Win with 7-zip, and didn't notice any errors... Nils-H > Well, I did notice that the zips were malfunctioning (see my previous > email), but I assumed it was a local problem (bad harddrive with many > corrupted secto

Need some help tracing down a bug...

2009-10-01 Thread Nils-Helge Garli Hegvik
In DefaultActionMapper.getUriFromActionMapping(ActionMapping): The code tries to resolve which extension to use. String extension = mapping.getExtension(); if (extension == null) { extension = getDefaultExtension(); // Look for the current extension, if available

Re: Struts 2.1.8 Vote

2009-09-26 Thread Nils-Helge Garli Hegvik
+1 GA A couple of notes: - The autocompleter example with two linked autocompleters doesn't work for me - A couple of configuration issues with the bundled portlet showcase. Nils-H On Wed, Sep 23, 2009 at 3:42 PM, Wes Wannemacher wrote: > The Struts 2.1.8 test build is now available. > > Relea

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 wrote: > 2009/9/24 Philip Luppens : >> 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 prox

Re: Anybody else getting build errors in the Tiles plugin?

2009-08-03 Thread Nils-Helge Garli Hegvik
Builds just fine with me. Nils-H On Mon, Aug 3, 2009 at 1:22 AM, Dave Newton wrote: > I'm setting up a new machine and getting a POM-related error in the Tiles > plugin--not sure if it's me, the machine, or what. > > Dave > > - >

Re: Struts, WebSphere, browser tabs

2009-07-09 Thread Nils-Helge Garli Hegvik
Please ask this question on the struts-user mailing list. The struts-dev list is for the development of Struts itself. http://struts.apache.org/mail.html Nils-H On Fri, Jul 10, 2009 at 8:41 AM, jhi wrote: > > Hi. (sorry for my bad English  :blush:) > > I am very new Struts user, so my problem is

Re: how to add the text and image to struts tag

2009-04-29 Thread Nils-Helge Garli Hegvik
Please ask this question on the struts-user mailing list. The struts-dev list is for the development of Struts itself. http://struts.apache.org/mail.html Thanks. Nils-H On Wed, Apr 29, 2009 at 2:08 PM, URTsreenivas wrote: > > i am using struts submit tag . i want to add the both text and image

Re: [VOTE] - Struts Master Archetype 5

2009-04-29 Thread Nils-Helge Garli Hegvik
I'm not sure how to "test" it, but I have looked through the pom file and everything looks ok. +1 GA Nils-H On Tue, Apr 28, 2009 at 8:17 PM, Wes Wannemacher wrote: > The Struts Master 5 test build is now available as a Maven > artifact. It is a dependency of Struts 2.1.7. > > If you have had a

Re: getting to 2.1.7

2009-04-26 Thread Nils-Helge Garli Hegvik
WW-3087 would be nice to get done. WW-2759 doesn't need to hold the release, and WW-2827 need more information to be done, so I suggest it is pushed forward to the next release. I'll try to get WW-3087 done tomorrow. Nils-H On Sun, Apr 26, 2009 at 6:15 PM, Wes Wannemacher wrote: > On Sunday 26 A

Re: [VOTE] - Struts2 Portlet Archetype 2.1.6

2009-04-26 Thread Nils-Helge Garli Hegvik
>> symbol  : class Server >> location: class net.itneering.struts.JettyPlutoLauncher >> >> ... >> >> confusing, because I would expect the deps in the pom to be ok... >> >> Nils-Helge Garli Hegvik schrieb: >>> +1 GA >>> >>> On Thu,

Re: [VOTE] - Struts2 Portlet Archetype 2.1.6

2009-04-26 Thread Nils-Helge Garli Hegvik
+1 GA On Thu, Apr 23, 2009 at 10:22 PM, Nils-Helge Garli Hegvik wrote: > Okey, giving this another shot! > > The Struts 2 Portlet Archetype 2.1.6 is ready for testing. To test it, > point Maven 2 to the staging repository and follow the documentation > at http://cwiki.apache

[VOTE] - Struts2 Portlet Archetype 2.1.6

2009-04-23 Thread Nils-Helge Garli Hegvik
Okey, giving this another shot! The Struts 2 Portlet Archetype 2.1.6 is ready for testing. To test it, point Maven 2 to the staging repository and follow the documentation at http://cwiki.apache.org/confluence/display/WW/Struts+2+Maven+Archetypes Maven 2 staging repository: http://people.apache.o

Re: [VOTE] - Struts2 Portlet Archetype 2.1.6

2009-04-23 Thread Nils-Helge Garli Hegvik
I'm taking this vote down due to some signing issues. I'll create a new proper release and open a new vote. No votes has been registered. Nils-H On Tue, Apr 21, 2009 at 12:13 AM, Nils-Helge Garli Hegvik wrote: > Okey, this is my first vote thread, so please bear with me and correc

Re: Preparing an archetype for release/vote

2009-04-20 Thread Nils-Helge Garli Hegvik
PM, Nils-Helge Garli Hegvik >> >> wrote: >> > Never mind. Had some problems generating the keys (for some reasons >> > --gen-key didn't work on people.apache). After generating the key >> > locally and importing it, I managed to add the keys. >> &

Re: Preparing an archetype for release/vote

2009-04-20 Thread Nils-Helge Garli Hegvik
Never mind. Had some problems generating the keys (for some reasons --gen-key didn't work on people.apache). After generating the key locally and importing it, I managed to add the keys. Nils-H On Mon, Apr 20, 2009 at 11:09 PM, Nils-Helge Garli Hegvik wrote: > Thanks Wes. That brou

[VOTE] - Struts2 Portlet Archetype 2.1.6

2009-04-20 Thread Nils-Helge Garli Hegvik
Okey, this is my first vote thread, so please bear with me and correct me if I'm doing something wrong. I followed what I thought was the necessary steps in the guide here: http://struts.apache.org/2.x/docs/creating-and-signing-a-struts-21x-distribution.html The Struts 2 Portlet Archetype 2.1.6 is

Re: Preparing an archetype for release/vote

2009-04-20 Thread Nils-Helge Garli Hegvik
leasing the distro as a whole (rather than just the archetypes). I > would think that you should be able to glean most of what you need to > know from there. > > -Wes > > On Mon, Apr 20, 2009 at 3:19 PM, Nils-Helge Garli Hegvik > wrote: >> Hi! >> >> I'm abo

Preparing an archetype for release/vote

2009-04-20 Thread Nils-Helge Garli Hegvik
Hi! I'm about to prepare the Struts 2 portlet archetype for a release to close one of the remaining issues for the Struts 2.1.7 release. But I haven't found any instructions on how to prepare an archetype for release, where it should be uploaded etc. Can anyone give me some pointers? Nils-H

Re: XWork - Overriding interceptors in sub package (XW-554)

2009-04-14 Thread Nils-Helge Garli Hegvik
> the runtime is an option. > > musachy > > On Thu, Apr 9, 2009 at 2:11 PM, Nils-Helge Garli Hegvik > wrote: >> I would like a feature in XWork that allows sub packages to override >> interceptors in the interceptor stacks >> (http://jira.opensymphony.com/b

XWork - Overriding interceptors in sub package (XW-554)

2009-04-09 Thread Nils-Helge Garli Hegvik
I would like a feature in XWork that allows sub packages to override interceptors in the interceptor stacks (http://jira.opensymphony.com/browse/XW-554). What I want is that if I define an interceptor in a package with a name that already exists in parent packages, I want all the stacks that are us

Re: Xwork - missing StringUtils

2009-03-24 Thread Nils-Helge Garli Hegvik
Ahyes, that was Struts 2 :) XWorks compiles fine with me (at least it did yesterday). Nils-H On Tue, Mar 24, 2009 at 12:12 PM, Lukasz Lenart wrote: > 2009/3/24 Nils-Helge Garli Hegvik : >> I'm having a similar problem, only with TextUtils. The Hudson build >> complains

Re: Xwork - missing StringUtils

2009-03-23 Thread Nils-Helge Garli Hegvik
I'm having a similar problem, only with TextUtils. The Hudson build complains about the same issue. Nils-H On Mon, Mar 23, 2009 at 11:39 PM, Lukasz Lenart wrote: > Hi, > > I'm not able to run any test from IDEA, project is missing > StringUtils. It's probably related to Maven Shade plugin, but h

Re: getting ready for 2.1.7

2009-03-17 Thread Nils-Helge Garli Hegvik
I'll try to allocate some time to help out as well. Nils-H On Tue, Mar 17, 2009 at 2:17 PM, Musachy Barroso wrote: > I think it is time for cleaning up some 2.1.7 bugs and get a release > out. We will need to release xwork first, Rene or Rainer, any free > time on your hands? Is anyone working o

Re: Xwork Question - how to Inject another instance than default

2009-02-05 Thread Nils-Helge Garli Hegvik
I'm curious, why do you need a custom URL builder for Liferay? Nils-H On Thu, Feb 5, 2009 at 9:12 PM, Torsten Krah wrote: > Hi. > I did some rework to the struts2-portlet2-plugin to make it possible to hook > in a custom URLBuilder. > > I declared a default one like this: > > class="Default" />

Re: New struts2-blank and docs

2009-02-02 Thread Nils-Helge Garli Hegvik
I'm planning on preparing a release of the portlet archetype, so I'm wondering about the same thing. Do the archetypes need a vote first? Nils-H On Mon, Feb 2, 2009 at 3:02 PM, Dave Newton wrote: > How do I get this to a repo, anyway? > > Dave > > Dave Newton wrote: >> >> I've checked in a (most

Re: Call another website when we click Link

2009-01-23 Thread Nils-Helge Garli Hegvik
Please ask this question on the Struts user mailing this; the Struts dev list is for the development of Struts itself. One little tip: When posting a question to the user list, please include as much relevant information as possible. http://struts.apache.org/mail.html Nils-H On Fri, Jan 23, 200

Re: Stream Result

2009-01-16 Thread Nils-Helge Garli Hegvik
Please ask this question on the Struts user mailing this; the Struts dev list is for the development of Struts itself. http://struts.apache.org/mail.html Nils-H On Fri, Jan 16, 2009 at 7:26 PM, Miguel wrote: > Hello, > I have a little problema using a Stream Result. I don't understand how > to

Re: [VOTE] Struts 2.1.6 Quality

2009-01-10 Thread Nils-Helge Garli Hegvik
I haven't clicked through the entire showcase app before, so I'm not sure if some of the "view sources" links doesn't show any configuration or "java action" source? Also, the MailReader link on the "home" page seems broken. Other than that, everything seems to work fine (token examples too), excep

Re: Struts 2.1.3 Quality - Freemarker/Sitemesh plugin issue

2008-12-28 Thread Nils-Helge Garli Hegvik
You can also get the individual project artifacts from the build server for each successful build. Nils-H On Sun, Dec 28, 2008 at 7:14 PM, Wes Wannemacher wrote: > There is something here - > > http://people.apache.org/builds/struts/nightlies/2.x/ > > I'm not sure who/how it's generated, and it

Re: [OSS Bamboo] Struts 2 SVN - Main Build build 973 has FAILED (0 tests failed). Change made by Nils-Helge Garli Hegvik

2008-12-21 Thread Nils-Helge Garli Hegvik
Argh... I'm getting tired of this failure On Sun, Dec 21, 2008 at 8:30 PM, wrote: > STRUTS-MAIN-973 failed. > Code has been updated by Nils-Helge Garli Hegvik. > No failed tests found, a possible compilation error. > Code Changes See full change details > Nils-Helge Ga

Re: tiles and portlet tickets

2008-12-21 Thread Nils-Helge Garli Hegvik
at we postpone these issues until someone else who does can look at them. Nils-H On Sat, Dec 20, 2008 at 11:44 AM, Antonio wrote: > 2008/12/20 Nils-Helge Garli Hegvik : >> Would the problem go away if it did? > > Do you mean incompatibility? Probably. > But, if I was you, I woul

Re: java tags proposal

2008-12-21 Thread Nils-Helge Garli Hegvik
Didn't we have a discussion earlier on extracting the base tags into a plugin? Is that still something to consider? Nils-H On Sun, Dec 21, 2008 at 1:29 PM, Don Brown wrote: > Neat, I'm glad to see work finally being done on the tags. What > exactly would this mean for 2.1 and 2.2? Would this b

Re: java tags proposal

2008-12-20 Thread Nils-Helge Garli Hegvik
+1 Nils-H Den 20. des.. 2008 kl. 19.24 skrev "Musachy Barroso" : As mentioned on the other thread I's like to propose to move the java tags out of the sandbox into the core plugins bundled with the distribution, so they will be part of the 2.1 release. here is +1 musachy -- "Hey you! Woul

Re: Dojo plugin proposal(my last one I promise)

2008-12-20 Thread Nils-Helge Garli Hegvik
+1 Den 20. des.. 2008 kl. 19.27 skrev "James Holmes" : +1 and agree with Dave on moving the Dojo stuff into a plugin that is hosted somewhere else and can be maintained by more people. On Sat, Dec 20, 2008 at 11:38 AM, Dave Newton wrote: --- On Sat, 12/20/08, Musachy Barroso wrote:

Re: tiles and portlet tickets

2008-12-20 Thread Nils-Helge Garli Hegvik
Would the problem go away if it did? On Sat, Dec 20, 2008 at 11:24 AM, Antonio wrote: > 2008/12/19 Musachy Barroso : >> can someone with either porltets or tiles experience look into them? > > I can help "externally" since I know about Tiles but almost nothing > about Struts 2. > I think the bigg

Re: tiles and portlet tickets

2008-12-20 Thread Nils-Helge Garli Hegvik
I know portlets, but I'm not that familiar with tiles... I need some input from someone who does until I know what to fix... Nils-H On Fri, Dec 19, 2008 at 9:58 PM, Musachy Barroso wrote: > I agree. If nobody can take care of them at the moment, then lets > re-schedule them > > musachy > > On Fr

Re: Fw: [OSS Bamboo] Struts 2 SVN - Main Build build 963 has FAILED (0 tests failed). Change made by Musachy Barroso

2008-12-17 Thread Nils-Helge Garli Hegvik
Yeah On Wed, Dec 17, 2008 at 10:16 PM, Dave Newton wrote: > *grr* > > What's the deal w/ jfree? > > --- On Wed, 12/17/08, bam...@apache.org wrote: > From: bam...@apache.org > Subject: [OSS Bamboo] Struts 2 SVN - Main Build build 963 has FAILED (0 tests > failed). Change made by Musachy Bar

Re: Fw: [OSS Bamboo] Struts 2 SVN - Main Build build 963 has FAILED (0 tests failed). Change made by Musachy Barroso

2008-12-17 Thread Nils-Helge Garli Hegvik
Has anyone tried to clean jfree from the repository that the bamboo build is using? Don't know why it should help, but sometimes it does... maybe som corrupted metadata or something. Nils-H On Wed, Dec 17, 2008 at 11:04 PM, Nils-Helge Garli Hegvik wrote: > Yeah > > On Wed, D

Re: Dispatcher encoding and locale bug still not fixed

2008-12-17 Thread Nils-Helge Garli Hegvik
I assume this is the same as https://issues.apache.org/struts/browse/WW-2361? I'm not sure what the original semantics behind the "defaultEncoding" or the "struts.i18n.encoding" setting is, but I agree that it looks suspicious... Could you create a patch and attach it to the issue? Nils-H On Wed

Re: Nested-tag support

2008-12-11 Thread Nils-Helge Garli Hegvik
Didn't get that far... Couldn't get past requirement a) of part one ;) Nils-H On Thu, Dec 11, 2008 at 11:46 PM, Andreas Joseph Krogh wrote: > On Thursday 11 December 2008 23:40:51 Ronny Løvtangen wrote: >> >> On Dec 11, 2008, at 11:21 PM, Nils-Helge Garli Hegvik wrote

Re: Nested-tag support

2008-12-11 Thread Nils-Helge Garli Hegvik
As mentioned, I realized that just _after_ pressing the send button, so please ignore my ignorance ;) Nils-H On Thu, Dec 11, 2008 at 11:18 PM, Ronny Løvtangen wrote: > > On Dec 11, 2008, at 10:42 PM, Nils-Helge Garli Hegvik wrote: > >>> >>> The s:form equivalent

Re: Nested-tag support

2008-12-11 Thread Nils-Helge Garli Hegvik
nguages > (Pascal? VB?) > > musachy > > On Thu, Dec 11, 2008 at 4:42 PM, Nils-Helge Garli Hegvik > wrote: >>> >>> The s:form equivalent of the nested-example above should be something like: >>> >>> >>> >>

Re: Nested-tag support

2008-12-11 Thread Nils-Helge Garli Hegvik
> > The s:form equivalent of the nested-example above should be something like: > > > > > > > Wouldn't to the trick? Nils-H - To unsubscribe, e-mail: dev-unsubscr...@struts.ap

Re: [OSS Bamboo] Struts 2 SVN - Main Build build 953 has FAILED (0 tests failed). Change made by Nils-Helge Garli Hegvik

2008-12-10 Thread Nils-Helge Garli Hegvik
een that one before. > > On Tue, Dec 9, 2008 at 2:28 PM, Nils-Helge Garli Hegvik > <[EMAIL PROTECTED]> wrote: >> This one seems to fail now and then. Any ideas why? >> >> Nils-H >> >>>

Re: [OSS Bamboo] Struts 2 SVN - Main Build build 953 has FAILED (0 tests failed). Change made by Nils-Helge Garli Hegvik

2008-12-09 Thread Nils-Helge Garli Hegvik
This one seems to fail now and then. Any ideas why? Nils-H > > [INFO] Failed to resolve artifact. > > Missing: > -- > 1) jfree:jcommon:jar:1.0.14 > > Try downloading the file manually from: > http://www.jfree

Re: Dynamic add new properiest file with languages

2008-12-04 Thread Nils-Helge Garli Hegvik
Please ask user questions on the Struts user mailing list. The dev list is for the development of the Struts framework itself. http://struts.apache.org/mail.html Nils-H On Thu, Dec 4, 2008 at 11:42 AM, integral_ua <[EMAIL PROTECTED]> wrote: > > Hello, > I have the Struts app with several propert

Re: [VOTE] Struts 1.3.10 Quality

2008-12-04 Thread Nils-Helge Garli Hegvik
> [ X ] General Availability (GA) Nils-H - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Display String in line by line in s:textarea

2008-11-24 Thread Nils-Helge Garli Hegvik
Please ask user questions on the Struts user mailing list. The dev list is for the development of the Struts framework itself. Nils-H On Tue, Nov 25, 2008 at 7:29 AM, Nishna <[EMAIL PROTECTED]> wrote: > > Hi All, > > I am getting string from database. I want to display the string line > by

Re: Struts2's filter architecture vs. J2EE UserTransactions - problem with J2EE spec?

2008-11-23 Thread Nils-Helge Garli Hegvik
Interesting question. I don't have an answer, and I'm certainly no JEE spec expert, but I've been trying to do some research. From what I understand, this restriction exists because there's no guarantee that the filter and the service method of the servlet it filters executes in the same thread. Ho

Re: Drop J4 support, was: Re: release process

2008-11-16 Thread Nils-Helge Garli Hegvik
I though this had been decided already, but +1 for dropping it in 2.1 and keeping it in 2.0.x. Nils-H On Sun, Nov 16, 2008 at 10:44 PM, Rene Gielen <[EMAIL PROTECTED]> wrote: > +1 for dropping in 2.1, along with keeping it in 2.0.X > > Rainer Hermanns schrieb: >> >> I'd vote with +1 for dropping

Change in ParameterAware

2008-11-09 Thread Nils-Helge Garli Hegvik
A bit old, but what was the reason for changing the parameter of setParameters in the ParameterAware interface from Map? Nils-H - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] - Bamboo S2 Main Build still failing

2008-10-19 Thread Nils-Helge Garli Hegvik
re, but I can't seem to reproduce this on my local machine. It would be nice to get the build going again. It has been red for a long while now. Nils-H On Wed, Sep 17, 2008 at 9:50 AM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > It looks like there's still prob

[S2] - Bamboo S2 Main Build still failing

2008-09-17 Thread Nils-Helge Garli Hegvik
It looks like there's still problems with a missing xwork snapshot artifact in the local maven repository used in the build. Does anyone know how to fix this? If someone tell me how and I have the right permissions I'd be happy to resolve the issue myself. Nils-H -

Re: svn commit: r691544 - /struts/struts2/trunk/apps/showcase/src/test/java/it/org/apache/struts2/showcase/staticcontent/StaticContentTest.java

2008-09-03 Thread Nils-Helge Garli Hegvik
Seems like there's more build problems: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: com.opensymphony ArtifactId: xwor

Re: [S2] - Bamboo broken build

2008-08-31 Thread Nils-Helge Garli Hegvik
Except I can't Only getting "No such host is known. (https://svn.apache.org)"... On Sun, Aug 31, 2008 at 11:46 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > Ok, I'll comment it out for now. > > On Sun, Aug 31, 2008 at 7:58 PM, Musachy Barroso

Re: [S2] - Bamboo broken build

2008-08-31 Thread Nils-Helge Garli Hegvik
Ok, I'll comment it out for now. On Sun, Aug 31, 2008 at 7:58 PM, Musachy Barroso <[EMAIL PROTECTED]> wrote: > yeah, jetty is throwing a NPE which it should not, we will probably have to > comment that test out for the moment. > > musachy > > On Sun, Aug 31, 2008

[S2] - Bamboo broken build

2008-08-31 Thread Nils-Helge Garli Hegvik
Had some problems with a failing test locally and looking at the Bamboo build, it appear to be broken there as well: http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN/latest It's the StaticContentTest that's failing. Looks like there's an issue with the prepare/execute filters. Nils-H --

[S2] - Bamboo broken build

2008-08-31 Thread Nils-Helge Garli Hegvik
Had some problems with a failing test locally and looking at the Bamboo build, it appear to be broken there as well: http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN/latest It's the StaticContentTest that's failing. Looks like there's an issue with the prepare/execute filters. Nils-H --

Re: Struts 2 archetypes

2008-08-23 Thread Nils-Helge Garli Hegvik
I'm guessing you have conflicting versions of the servlet api on the classpath. Try with debug logging enabled and take a look at the dependencies that are loaded. Nils-H On Sat, Aug 23, 2008 at 7:22 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > Our user docs point to snapshots of the archetypes,

Bamboo - Broken build

2008-07-19 Thread Nils-Helge Garli Hegvik
The Struts 2 main builds are currently failing, complaining about a missing xwork 2.1.2-SNAPSHOT dependency. The change from build 883 to 884 when it started to fail was minor and I can't see how that should have caused the failure. I guess something has been removed from a repository somewhere...?

Re: Getting action extension from a class "outside" the container

2008-06-23 Thread Nils-Helge Garli Hegvik
Would it be safe to pass the instantiated object to the the inject method of the container? Just want to make sure that I won't step into some unfortunate side effects... Nils-H On Mon, Jun 23, 2008 at 9:55 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > After looking int

Re: Getting action extension from a class "outside" the container

2008-06-23 Thread Nils-Helge Garli Hegvik
to access the action extension property from the container in a way... Nils-H On Mon, Jun 23, 2008 at 2:56 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > Ok, so I have to look up the current executing action and it's action > mapping from the action context? I'

Re: Getting action extension from a class "outside" the container

2008-06-23 Thread Nils-Helge Garli Hegvik
; submitted with. You can retrieve the ActionMapping either via the > ServetActionContext or the portlet dispatcher. > > Don > > On Mon, Jun 23, 2008 at 7:44 PM, Nils-Helge Garli Hegvik > <[EMAIL PROTECTED]> wrote: >> Hi! >> >> I'm looking at WW-2622 and

Getting action extension from a class "outside" the container

2008-06-23 Thread Nils-Helge Garli Hegvik
Hi! I'm looking at WW-2622 and I need to get the configured action extension for the application. Is there a way to obtain this from a class that is not instantiated by the core container? Nils-H - To unsubscribe, e-mail: [EMAIL

Re: [s2] 2.1 to 2.5 Roadmap discussions

2008-06-03 Thread Nils-Helge Garli Hegvik
I haven't been paying too much attention to the progress of the Portlet 2.0 spec lately, but I guess somewhere around 2.5 would be a good time to get the portlet 2.0 plugin in place. As for the current portlet plugin, the only "major" missing feature is Ajax, but I'm not sure it's worth the effort

Re: If I had 1000 hours to give...

2008-03-20 Thread Nils-Helge Garli Hegvik
> If you could give 1000 hours to the Struts 2 project, what would you do? I would try to: - Completely refactor all tags/components (it's really hard to extend and customize) and extract them to a plugin, making it easier to drop in a different tag library implementation. - Simplify and standar

Re: Weekly, daily, hourly?! FAQ/README on Struts User?

2008-03-12 Thread Nils-Helge Garli Hegvik
> I believe the old WW forum approach (an announcement containing some > do's and don't's, links to the Jira, Wiki, archives, etc ..) was quite > efficient and hard to ignore (some still managed, though). Yeah, the WW forum was quite efficient for filtering out most of the noise... > Of course

Re: [S2] - FilterDispatcher and ActionContextCleanup (WW-2240 FileUploadInterceptor causes null pointer exception)

2008-02-21 Thread Nils-Helge Garli Hegvik
> that info logging was enabled the NPE would still occurr, so we're basically > saying that WL 10 users can't use info level logging or below, which seems a > bit harsh. It also has the benefit of not having a conditional test in each > loop iteration, which, as a bit of a

Re: [S2] - FilterDispatcher and ActionContextCleanup (WW-2240 FileUploadInterceptor causes null pointer exception)

2008-02-19 Thread Nils-Helge Garli Hegvik
On Jan 23, 2008 5:43 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > I would really like a second opinion on this issue. Please let me know > if something I wrote was unclear. > > Nils-H > > > On Jan 20, 2008 1:03 PM, Nils-Helge Garli Hegvik <[EMAIL PROT

Re: svn commit: r628298 - /struts/struts2/trunk/apps/portlet/src/test/java/org/apache/struts2/portlet/test/Struts2PortletTest.java

2008-02-17 Thread Nils-Helge Garli Hegvik
On Feb 17, 2008 8:00 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > The Maven team is voting on Surefire 2.4.2 right now. Assuming > nothing major pops up it should be available this week. > Surefire 2.4.2-SNAPSHOT seems to work ok. Nils-H --

Re: [s2] Let's get out Struts 2.1.1

2008-02-17 Thread Nils-Helge Garli Hegvik
There was a complaint (https://issues.apache.org/struts/browse/WW-2101) that some classes in the portlet integration was removed without notice in a previous release. Should probably get that into the release notes this time, or add the classes back as no-op classes with a deprecation notice. Nils

Re: svn commit: r628298 - /struts/struts2/trunk/apps/portlet/src/test/java/org/apache/struts2/portlet/test/Struts2PortletTest.java

2008-02-16 Thread Nils-Helge Garli Hegvik
t; > > > On Feb 16, 2008 3:16 PM, Don Brown <[EMAIL PROTECTED]> wrote: > > > Yay Maven... *ducks* :) > > > > > > > > > Don > > > > > > On 2/17/08, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > > > > I know.

Re: svn commit: r628298 - /struts/struts2/trunk/apps/portlet/src/test/java/org/apache/struts2/portlet/test/Struts2PortletTest.java

2008-02-16 Thread Nils-Helge Garli Hegvik
ak <[EMAIL PROTECTED]> wrote: > On Feb 16, 2008 12:29 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > > If > > I set the plugin version back to the previous release (2.3) it runs > > perfectly. But with the new 2.4 version, the test breaks... 2.4.1 > > do

JavaZone 2008 CFP

2008-02-16 Thread Nils-Helge Garli Hegvik
Just wanted to let you know about the CFP for JavaZone 2008. JavaZone is one of the biggest Java conferences in Europe. The conference is organized by javaBin, the Norwegian Java User Group (JUG). It's in my home town, so I hope to see some of you there :) Information can be found here: http://www

Re: svn commit: r628298 - /struts/struts2/trunk/apps/portlet/src/test/java/org/apache/struts2/portlet/test/Struts2PortletTest.java

2008-02-16 Thread Nils-Helge Garli Hegvik
ED]> wrote: > Yay Maven... *ducks* :) > > > Don > > On 2/17/08, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > > I know. I've tried locally as well. It's not very obvious what the > > problem could be. This test has been running without probl

Re: svn commit: r628298 - /struts/struts2/trunk/apps/portlet/src/test/java/org/apache/struts2/portlet/test/Struts2PortletTest.java

2008-02-16 Thread Nils-Helge Garli Hegvik
rule out the maven-jetty-pluto stuff, although I don't see how that could be the problem considering it hasn't changed since it was introduced. Nils-H On Feb 16, 2008 3:16 PM, Don Brown <[EMAIL PROTECTED]> wrote: > Yay Maven... *ducks* :) > > > Don > > On 2

Re: [s2] Let's get out Struts 2.1.1

2008-02-16 Thread Nils-Helge Garli Hegvik
I would like to fix the failing portlet test. I hope to get some time tonight or tomorrow to look more into it. Nils-H On Feb 16, 2008 3:19 PM, Don Brown <[EMAIL PROTECTED]> wrote: > I've cleared all but a couple issues out of Struts 2.1.1, so I think > we are ready for a release. The only kinda

Re: svn commit: r628298 - /struts/struts2/trunk/apps/portlet/src/test/java/org/apache/struts2/portlet/test/Struts2PortletTest.java

2008-02-16 Thread Nils-Helge Garli Hegvik
t;[EMAIL PROTECTED]> wrote: > I explicitly removed the 2.4 servlet jar that was leaking in, but that > only seemed to fix the method not found exception I was seeing. I > even tried including jstl but that didn't seem to help. > > Don > > > On 2/17/08, Nils-Helge G

Re: svn commit: r628298 - /struts/struts2/trunk/apps/portlet/src/test/java/org/apache/struts2/portlet/test/Struts2PortletTest.java

2008-02-16 Thread Nils-Helge Garli Hegvik
I don't know why the test have started to fail, but it appears that some updated dependency version somewhere has caused a dependency-classloader-clash The prime suspect is a conflicting version of servlet-api indirectly included somewhere... Nils-H On Feb 16, 2008 3:01 PM, <[EMAIL PROTECTED

Re: [ANN] New Struts Committer - Wes Wannemacher

2008-02-05 Thread Nils-Helge Garli Hegvik
Welcome! :) On Feb 5, 2008 5:36 AM, Ted Husted <[EMAIL PROTECTED]> wrote: > Please join us in welcoming Wes Wannemacher as a new Struts committer. > > Wes has been posting to the user list and to dev@ since September > 2007, and, to date, he has reported a dozen JIRA issues, often with > patches.

Re: [ANN] New Struts Committer - Jeromy Evans

2008-02-05 Thread Nils-Helge Garli Hegvik
Welcome! :) On Feb 5, 2008 5:37 AM, Ted Husted <[EMAIL PROTECTED]> wrote: > Please join us in welcoming Jeromy Evans as a new Struts committer. > > Jeromy has been posting to the user list since May 2007, and to dev@ > since July 2007, and has submitted two issues to JIRA, both with > patches. >

Re: [S2] - FilterDispatcher and ActionContextCleanup (WW-2240 FileUploadInterceptor causes null pointer exception)

2008-01-23 Thread Nils-Helge Garli Hegvik
I would really like a second opinion on this issue. Please let me know if something I wrote was unclear. Nils-H On Jan 20, 2008 1:03 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > Hi! > > I've been debugging WW-2240 (had to install WebLogic 10 to reproduce >

Re: Sandbox

2008-01-21 Thread Nils-Helge Garli Hegvik
For your information, I have now added the struts2-portlet2-plugin experimental code to the struts sandbox. Nils-H - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[S2] - FilterDispatcher and ActionContextCleanup (WW-2240 FileUploadInterceptor causes null pointer exception)

2008-01-20 Thread Nils-Helge Garli Hegvik
Hi! I've been debugging WW-2240 (had to install WebLogic 10 to reproduce it) and have seen some strange behavior (at least I think so) in the ActionContext initialization and cleanup performed by the FilterDispatcher. The problem is that the cleanup of the ActionContext (ActionContext.setConte

  1   2   >