Re: Private Actions Mappings?

2006-09-06 Thread Michael Jouravlev
On 9/6/06, Martin Cooper <[EMAIL PROTECTED]> wrote: The action is (intended to be) the class that handles the entire request, whether that involves parcelling out the work to other classes or not. An action was designed to be the end point of the request, not one of a set that handles the request

Re: Private Actions Mappings?

2006-09-06 Thread Frank W. Zammetti
Martin Cooper wrote: This is the part that I've never understood. If it's intended to be a helper class, then why, oh why, do you insist on using an Action for this? If it's a helper class, *make* it a helper class, not an action! And if the reason is that you also use it as an action, then my r

Re: [s2] Struts 2 wiki

2006-09-06 Thread Rainer Hermanns
Could someone please add permissions to my user account as well? Username is 'rainerh'. tia, Rainer On Aug 30, 2006, at 23:36 , Wendy Smoak wrote: On 8/28/06, Ted Husted <[EMAIL PROTECTED]> wrote: On 8/28/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > 'signup' says no more users can be added.

Re: Private Actions Mappings?

2006-09-06 Thread Martin Cooper
On 9/5/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: Hi Paul et al, Paul Benedict wrote: > Everyone, thank you for the response. > > Martin Cooper wrote: >> This sounds to me like a rather blatant mis-use of actions. In the first >> place, as Michael points out, action chaining has always be

Re: Private Actions Mappings?

2006-09-06 Thread Frank W. Zammetti
Paul Benedict wrote: All good points. But do end points have to be singular? Well, I suppose I could have been being too semantic... an endpoint means a point at which something, typically a line, ends. A point, AFAIK, is always singular. Like I said, it's possible I was being too literal

Re: Private Actions Mappings?

2006-09-06 Thread Paul Benedict
All good points. But do end points have to be singular? I do not believe I have invented any sort of unique design. I have employed actions in actually a very similar fashion to how a portlet server would work. Additionally, I don't know exactly which project in Apache has done this, but I know

Re: Private Actions Mappings?

2006-09-06 Thread Frank W. Zammetti
Hi Paul et al, Paul Benedict wrote: Everyone, thank you for the response. Martin Cooper wrote: This sounds to me like a rather blatant mis-use of actions. In the first place, as Michael points out, action chaining has always been an anti-pattern in Struts. As Michael later pointed out (and

Re: Private Actions Mappings?

2006-09-06 Thread Paul Benedict
Everyone, thank you for the response. Martin Cooper wrote: This sounds to me like a rather blatant mis-use of actions. In the first place, as Michael points out, action chaining has always been an anti-pattern in Struts. As Michael later pointed out (and I should have explicitly said), this

Re: Private Actions Mappings?

2006-09-06 Thread Michael Jouravlev
I should have kept my mouth shut ;-) Paul's suggestion is *not* about chaining (while it *may* indirectly promote it). As I understand it, Paul builds a page out of smaller blocks, each block is rendered by an action. I do the same thing and I do not oppose Paul in this regard. You are saying tha

Re: Private Actions Mappings?

2006-09-06 Thread Wendy Smoak
On 9/6/06, Bob Lee <[EMAIL PROTECTED]> wrote: I've needed this, too. You should be able to implement it with an interceptor. Apply the interceptor globally to all your actions. ... Clearly, we need those [s1] and [s2] subject line tags. :) Paul's proposal is for Struts 1. -- Wendy -

Re: Private Actions Mappings?

2006-09-06 Thread Bob Lee
I've needed this, too. You should be able to implement it with an interceptor. Apply the interceptor globally to all your actions. If the current action has a "private" parameter, the interceptor can verify that it's being entered a second time (i.e., the first time was through a public action whi

Re: Private Actions Mappings?

2006-09-06 Thread Hubert Rabago
I'm not sure it's a common enough need to justify being built into the core. For something like this, I'd be content with an app-specific extension and using to mark private actions. On 9/6/06, Paul Benedict <[EMAIL PROTECTED]> wrote: For a lack of a better subject line. Let me explain. I hav

Re: Private Actions Mappings?

2006-09-06 Thread Bob Lee
On 9/6/06, Martin Cooper <[EMAIL PROTECTED]> wrote: This sounds to me like a rather blatant mis-use of actions. In the first place, as Michael points out, action chaining has always been an anti-pattern in Struts. As such, I'd be against promoting / encouraging the use of chaining in the way you

Re: Private Actions Mappings?

2006-09-06 Thread Martin Cooper
This sounds to me like a rather blatant mis-use of actions. In the first place, as Michael points out, action chaining has always been an anti-pattern in Struts. As such, I'd be against promoting / encouraging the use of chaining in the way you describe (or in any other way, for that matter ;). M

Re: Private Actions Mappings?

2006-09-06 Thread Michael Jouravlev
I don't care much about this... I would say -0. I see that you use includes primarily for composition. I use included actions also as request targets, I need them to be accessed from browser, i.e. public, so your suggestion is of no use for me. If you need this feature then who am I to oppose :-

Private Actions Mappings?

2006-09-06 Thread Paul Benedict
For a lack of a better subject line. Let me explain. I have some actions which are not supposed to be accessed by users. They are mostly for internal uses within the program. Specifically, I like to include many actions on a page and build a poor-man's portlet. So what I have, architecturally

Re: [s2] Source with examples

2006-09-06 Thread Wendy Smoak
On 9/6/06, Ted Husted <[EMAIL PROTECTED]> wrote: It didn't show my changes. I'm not sure if it's showing anything from the POM under apps. If I move the changes down to the blank POM, it works just fine. I pasted the copy-sources config into struts-apps-parent, and then from struts2/apps/blan

Re: [s2] Source with examples

2006-09-06 Thread Ted Husted
On 9/6/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: Try this from the webapp that is not including the source code: mvn help:effective-pom Does that show your changes? Right now I'm not sure if the config you added is present and not working, or if it's not even getting picked up. It didn't sh

Re: svn commit: r439914 - /struts/maven/trunk/struts2-archetype-starter/README.txt

2006-09-06 Thread tm jee
Ahh... ok, noted. Changed the email address to direct to struts-dev malling list (in svn head). rgds - Original Message From: Ted Husted <[EMAIL PROTECTED]> To: dev@struts.apache.org Sent: Tuesday, 5 September, 2006 9:37:09 AM Subject: Re: svn commit: r439914 - /struts/maven/trunk/stru

Re: [s2] Source with examples

2006-09-06 Thread Wendy Smoak
On 9/6/06, Ted Husted <[EMAIL PROTECTED]> wrote: On 9/6/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 9/6/06, Ted Husted <[EMAIL PROTECTED]> wrote: > > > I tried to update the S2 apps POM to bundle the source, as we do with > > the S1 apps, but it didn't seem to work. > ... > > Is there somethi

Re: [s2] Source with examples

2006-09-06 Thread Ted Husted
On 9/6/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 9/6/06, Ted Husted <[EMAIL PROTECTED]> wrote: > I tried to update the S2 apps POM to bundle the source, as we do with > the S1 apps, but it didn't seem to work. ... > Is there something else we need to do? After you made the change to struts2

Re: ApacheCon

2006-09-06 Thread Martin Cooper
On 9/6/06, James Mitchell <[EMAIL PROTECTED]> wrote: I know it's a little early for this, but I just purchased my conference pass and plane ticket today (early discount ends soon). I arrive Sunday evening around 8 pm. I'm going to try to stay with Don Brown if they give him a room with 2 beds,

ApacheCon

2006-09-06 Thread James Mitchell
I know it's a little early for this, but I just purchased my conference pass and plane ticket today (early discount ends soon). I arrive Sunday evening around 8 pm. I'm going to try to stay with Don Brown if they give him a room with 2 beds, however, in case that doesn't work out, please k

Re: Help Needed its an Burning Issue

2006-09-06 Thread Wendy Smoak
On 9/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have to validate Combo Box ... Please ask this type of question on the user list. You can find subscription information on this page: http://struts.apache.org/mail.html -- Wendy ---

Re: [s2] Source with examples

2006-09-06 Thread Wendy Smoak
On 9/6/06, Ted Husted <[EMAIL PROTECTED]> wrote: I tried to update the S2 apps POM to bundle the source, as we do with the S1 apps, but it didn't seem to work. ... Is there something else we need to do? After you made the change to struts2-apps-parent, did you 'mvn install' it so the updated

Re: [s2] Struts Next

2006-09-06 Thread Ted Husted
For Struts Next, here are my personal goals. * xStruts. I would like Struts to become a framework so elegant that developers working in other environments will want to implement it too. IOW, the xUnit of web development frameworks. Overarching vision: "Share the wealth." * Struts DAO. Today,

[s2] Source with examples

2006-09-06 Thread Ted Husted
I tried to update the S2 apps POM to bundle the source, as we do with the S1 apps, but it didn't seem to work. ... maven-antrun-plugin copy-sources process-sources

Help Needed its an Burning Issue

2006-09-06 Thread shilpa.raghavendra
Hi, I have to validate Combo Box such that it should have only Numeric Values by default it will hold value "NONE" ,so I put the mask for the filed as given below mask