Re: [s2] portlet 2.0 (JSR 286) support

2007-08-12 Thread Nils-Helge Garli
The major changes are: - In addition to the action and render phases, there's a new "event" phase where portlets can communicate. These events are subscribed and published using some sort of QName/XML naming feature, and receiving the events happen between the action and render phase. - A portlet

[s2] portlet 2.0 (JSR 286) support

2007-08-12 Thread James Holmes
I haven't studied the new portlet 2.0 spec much yet, but I'm wondering what sort of changes we'll need to make to the Struts 2 portlet plugin to support it. Just something to think about. James - To unsubscribe, e-mail: [EMAIL

RE: [s2] portlets - another issue

2007-08-12 Thread James Holmes
I tried using the portletMode attribute as you originally mentioned, but that didn't work. Using the portletUrlType attribute did the trick. You're the man! I am definitely testing all of the portlet functionality. I have an application going to production in the next week or 2 that will be all

Re: [s2] portlets - another issue

2007-08-12 Thread Nils-Helge Garli
I'm mixing things up. It's not the portletMode attribute, but the portletUrlType attribute that needs to be set. Sorry for the spamming On 8/12/07, Nils-Helge Garli <[EMAIL PROTECTED]> wrote: > It might be that it should be set to "action" instead of "event". It > really reminds me that things

Re: [s2] portlets - another issue

2007-08-12 Thread Nils-Helge Garli
It might be that it should be set to "action" instead of "event". It really reminds me that things need to be documented properly On 8/12/07, Nils-Helge Garli <[EMAIL PROTECTED]> wrote: > Hi James! > > It's great that you're really testing out the portlet support! > > By default, s:url (GET) i

Re: [s2] portlets - another issue

2007-08-12 Thread Nils-Helge Garli
Hi James! It's great that you're really testing out the portlet support! By default, s:url (GET) is generating render urls, and s:form (POST) is generating action urls. For s:url, use the portletMode attribute and set it to "event" if you need to execute a link in the event phase. For s:form, you

Re: weird reply

2007-08-12 Thread James Mitchell
There are 2 people with @mclink.net currently subscribed. I wonder if this is a mail gateway that is no longer available for either of these guys. I'm not an mail expert so I'm not sure what I should do for smtp that would be similar to a trace route. It's clear that mh5094 is not availa

Re: [s2] nightly builds

2007-08-12 Thread James Mitchell
Ok, I just reenabled the cron job and ran it manually so we don't have to wait to tonight. There may be issues with old jars in the local repo or with the j4 builds, so I'll keep an eye on it. Watch for the artifacts to appear under this directory: http://people.apache.org/builds/struts/

[s2] portlets - another issue

2007-08-12 Thread James Holmes
Nils-H, I have come across another issue during my Web app to portlet app conversion process for my Struts 2 application. Clicking a link on a page that executes an action does not go into the action/event phase. For example, I have a link on a page to delete an element in a database. The lin

weird reply

2007-08-12 Thread Musachy Barroso
Every time I reply to an email on the user list I get some weird mail delivery notification error back, I will post the whole thing here to see if any of you guys know what it is: Delivered-To: [EMAIL PROTECTED] Received: by 10.140.248.11 with SMTP id v11cs92438rvh; Sun, 12 Aug 2007 09:12

RE: [s2] nightly builds

2007-08-12 Thread James Holmes
Yes, please restart! :) -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Sunday, August 12, 2007 12:08 PM To: Struts Developers List Subject: Re: [s2] nightly builds No, actually, we haven't done this on our own machines in quite a while. For a long time we were

Re: [s2] nightly builds

2007-08-12 Thread James Mitchell
No, actually, we haven't done this on our own machines in quite a while. For a long time we were doing this on our zone account, which is ASF hardware. I stopped this process a few weeks ago while doing some maintenance and never got back to it. I can restart this process if we need to. L

Re: [s2] nightly builds

2007-08-12 Thread Wendy Smoak
On 8/12/07, James Holmes <[EMAIL PROTECTED]> wrote: > We need to get a process setup for generating nightly builds for Struts 2. > I'm not familiar with all of the infrastructure involved with getting this > going, but am > willing to help get this in place. > > I have spoken briefly to James Mit

RE: [s2] nightly builds

2007-08-12 Thread James Holmes
Agreed that Bamboo and Maven can "approximate" a nightly build, but I for one find it much more convenient to simply download an already packaged build. It's much easier to grab this, unzip it, get the latest jars and go. Maven is nice if your project is using Maven, but in my case I'm not and

Re: [s2] nightly builds

2007-08-12 Thread Ted Husted
Between Bamboo and Maven, I wonder if nightly builds are still worth the trouble. Bamboo alerts us if we do anything that breaks the build, and if someone wants the latest bits, "maven install" is not so much to ask. -Ted. On 8/12/07, James Holmes <[EMAIL PROTECTED]> wrote: > We need to get a pro

[s2] nightly builds

2007-08-12 Thread James Holmes
We need to get a process setup for generating nightly builds for Struts 2. I'm not familiar with all of the infrastructure involved with getting this going, but am willing to help get this in place. I have spoken briefly to James Mitchell about this and I understand that he was doing this for