RE: FlashScope: anyone has a better name?

2006-07-22 Thread David Friedman
Why not call them custom scopes and link it into to contexts where appropriate. That way you could name your scope and if it doesn't exist, create it. Then you could have generic methods to handle all sorts of scopes at once with generic methods like: addScope("request").setAttribute(name, objec

Re: FlashScope: anyone has a better name?

2006-07-22 Thread Adam Hardy
FlashScope definitely smells of Macromedia. Spring Webflow has several scopes in the virtual scope-scape between request scope and session scope, called ConversationScope and FlowScope. Perhaps they are more to your taste? Michael Jouravlev on 22/07/06 21:20, wrote: Umm, dialog is not reall

Re: [OT] Link to Web Part?

2006-07-22 Thread Duong BaTien
On Sat, 2006-07-22 at 14:09 -0400, Frank W. Zammetti wrote: > Hi BaTien, > > You may want to have a look at this Wiki page as well: > > http://wiki.apache.org/struts/AjaxStruts > > I presume your using Struts as your overall framework since you posted > to this list :) This page has some links

Re: FlashScope: anyone has a better name?

2006-07-22 Thread Michael Jouravlev
Umm, dialog is not really the same thing: http://shale.apache.org/features-dialog-manager.html "Conceptually, a dialog can be thought of as a set of labelled states, connected by labelled transitions between those states." I am talking about something like this but more generic: /** * Re

Re: FlashScope: anyone has a better name?

2006-07-22 Thread Frank W. Zammetti
How about ContinuationScope? Sounds decent to me since the second request can be viewed as a continuation of the first. Then again, if other frameworks are calling a similar facility FlashScope, then there is some logic in using that name as well... that way, when people compare frameworks, t

Re: FlashScope: anyone has a better name?

2006-07-22 Thread Paul Benedict
Shale calls this a dialog. I prefer that name. The reason is, obviously, is a continuous dialog across multiple requests. Michael Jouravlev <[EMAIL PROTECTED]> wrote: FlashScope is a feature of such frameworks like Tapestry or Stripes. Behind the scenes, it uses session object and automatically

FlashScope: anyone has a better name?

2006-07-22 Thread Michael Jouravlev
FlashScope is a feature of such frameworks like Tapestry or Stripes. Behind the scenes, it uses session object and automatically retains objects for the duration of this request and the subsequent request. This scope object works best when redirect-after-post pattern is utilized. Struts has a rud

Re: [OT] Link to Web Part?

2006-07-22 Thread Michael Jouravlev
On 7/22/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: Hi BaTien, You may want to have a look at this Wiki page as well: http://wiki.apache.org/struts/AjaxStruts I presume your using Struts as your overall framework since you posted to this list :) This page has some links and info to get y

Re: [OT] Link to Web Part?

2006-07-22 Thread Frank W. Zammetti
Hi BaTien, You may want to have a look at this Wiki page as well: http://wiki.apache.org/struts/AjaxStruts I presume your using Struts as your overall framework since you posted to this list :) This page has some links and info to get you going with AJAX (Michael, I just noticed two images t

Re: [OT] Link to Web Part?

2006-07-22 Thread Duong BaTien
Thanks Ted. Yes, i start to wet my feet with ajax. There are so many things to catch up. BaTien On Sat, 2006-07-22 at 12:38 -0400, Ted Husted wrote: > On 7/21/06, Duong BaTien <[EMAIL PROTECTED]> wrote: > > I remember somewhere on this list an announcement of Web Parts in the > > sourceforg.net

Re: struts 1.3.5 maven dependency definition

2006-07-22 Thread Ted Husted
Struts 1.3.5 is no longer a snapshot, but a tagged build. So the reference should be to 1.3.5 -Ted. On 7/22/06, Adam Hardy <[EMAIL PROTECTED]> wrote: Is this the right definition for a maven2 dependency on struts 1.3.5? org.apache.struts struts-core 1.3.5-SNAPSHOT

Re: [OT] Link to Web Part?

2006-07-22 Thread Ted Husted
On 7/21/06, Duong BaTien <[EMAIL PROTECTED]> wrote: I remember somewhere on this list an announcement of Web Parts in the sourceforg.net (collection of various web components such as Filter, logging, etc). Do someone has a link? Rick Reumann also posted an article about using Web Parts * http:

struts 1.3.5 maven dependency definition

2006-07-22 Thread Adam Hardy
Is this the right definition for a maven2 dependency on struts 1.3.5? org.apache.struts struts-core 1.3.5-SNAPSHOT I am pointing at http://people.apache.org/maven-snapshot-repository as well as central (repo1.maven.org/maven2). I guess I'll just add the other struts co

Re: ActionMapping roles attribute

2006-07-22 Thread Nicolas BOIRE
Hello , you can use the requestProcessor @see http://www.onjava.com/pub/a/onjava/2004/11/10/ExtendingStruts.html Ciao Niko Le jeudi 20 juillet 2006 à 09:59 -0300, Vinicius Carvalho a écrit : > Hello there folks! > I was wondering, is it possible to force struts to not check > request.isUserInRole