You can subscribe to this list here.
| 2003 |
Jan
|
Feb
(55) |
Mar
(100) |
Apr
(203) |
May
(330) |
Jun
(190) |
Jul
(302) |
Aug
(323) |
Sep
(197) |
Oct
(245) |
Nov
(490) |
Dec
(330) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(194) |
Feb
(400) |
Mar
(416) |
Apr
(415) |
May
(359) |
Jun
(381) |
Jul
(491) |
Aug
(311) |
Sep
(291) |
Oct
(273) |
Nov
(355) |
Dec
(266) |
| 2005 |
Jan
(306) |
Feb
(303) |
Mar
(520) |
Apr
(346) |
May
(255) |
Jun
(221) |
Jul
(171) |
Aug
(247) |
Sep
(147) |
Oct
(125) |
Nov
(165) |
Dec
(65) |
| 2006 |
Jan
(90) |
Feb
(53) |
Mar
(121) |
Apr
(103) |
May
(113) |
Jun
(103) |
Jul
(104) |
Aug
(67) |
Sep
(78) |
Oct
(82) |
Nov
(78) |
Dec
(70) |
| 2007 |
Jan
(77) |
Feb
(76) |
Mar
(63) |
Apr
(30) |
May
(47) |
Jun
(41) |
Jul
(44) |
Aug
(44) |
Sep
(49) |
Oct
(33) |
Nov
(25) |
Dec
(21) |
| 2008 |
Jan
(45) |
Feb
(13) |
Mar
(15) |
Apr
(12) |
May
(9) |
Jun
(33) |
Jul
(30) |
Aug
(7) |
Sep
(20) |
Oct
(17) |
Nov
(20) |
Dec
(10) |
| 2009 |
Jan
(8) |
Feb
(5) |
Mar
(12) |
Apr
(17) |
May
(19) |
Jun
(97) |
Jul
(77) |
Aug
(33) |
Sep
(24) |
Oct
(41) |
Nov
(16) |
Dec
(32) |
| 2010 |
Jan
(24) |
Feb
(14) |
Mar
(50) |
Apr
(71) |
May
(70) |
Jun
(64) |
Jul
(45) |
Aug
(62) |
Sep
(32) |
Oct
(4) |
Nov
(12) |
Dec
(2) |
| 2011 |
Jan
(1) |
Feb
(3) |
Mar
(4) |
Apr
(3) |
May
(6) |
Jun
(1) |
Jul
(4) |
Aug
(3) |
Sep
(4) |
Oct
(6) |
Nov
(3) |
Dec
(3) |
| 2012 |
Jan
(4) |
Feb
(8) |
Mar
(6) |
Apr
(10) |
May
(2) |
Jun
(3) |
Jul
(11) |
Aug
(10) |
Sep
(4) |
Oct
|
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(1) |
Mar
(9) |
Apr
(1) |
May
(8) |
Jun
(2) |
Jul
(5) |
Aug
(2) |
Sep
|
Oct
(3) |
Nov
(10) |
Dec
(8) |
| 2014 |
Jan
(3) |
Feb
(12) |
Mar
(9) |
Apr
(12) |
May
(2) |
Jun
|
Jul
(3) |
Aug
(1) |
Sep
(1) |
Oct
(4) |
Nov
|
Dec
(2) |
| 2015 |
Jan
(1) |
Feb
(3) |
Mar
(4) |
Apr
(9) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(7) |
Oct
(9) |
Nov
(7) |
Dec
(9) |
| 2016 |
Jan
(7) |
Feb
(5) |
Mar
(5) |
Apr
(5) |
May
(8) |
Jun
(4) |
Jul
(5) |
Aug
(4) |
Sep
(6) |
Oct
(7) |
Nov
(2) |
Dec
(3) |
| 2017 |
Jan
(7) |
Feb
(8) |
Mar
(7) |
Apr
(3) |
May
(4) |
Jun
(3) |
Jul
(5) |
Aug
(8) |
Sep
(4) |
Oct
(2) |
Nov
(3) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2021 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(2) |
Aug
(5) |
Sep
(2) |
Oct
|
Nov
|
Dec
(1) |
| 2026 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Erwin V. <erw...@er...> - 2005-04-09 13:34:31
|
At the moment SWF does not have any direct binding & validation support of
its own: it just uses the Spring binding and validation infrastructure
(DataBinder, Errors, Validator). I don't think binding and validation is
really a feature that we should build *into* SWF. Instead we need to
integrate with existing solutions.
Could you elaborate on the "XWork validators" a bit?
Erwin Vervaet
erw...@er...
----- Original Message -----
From: "Steven Devijver" <ste...@gm...>
To: <spr...@li...>
Sent: Saturday, April 09, 2005 3:09 PM
Subject: [Springframework-developer] webflow: validators
> Hi guys,
>
> Do you guys support the notion of validators like XWork validators?
> Since WebFlow uses Spring validators could be configured
> declaratively. If you're interested I would be happy to create a BNF
> file for something like this:
>
> { firstname : length of form.firstname > 0 : "First name must not be
> empty" }
> { firstname : length of form.firstname <= 30 : "First name must be no
> longer than 30 characters" }
> { age : form.age is number : "[${form.age}] is not a valid number" }
> { age : form.age > 18 : "You must be 18 years or older" }
> { age : form.age <= 110 : "We do not do business with the undead" }
>
> Kind regards
>
> Steven Devijver
>
> --
> "If you want to be a different fish, you gotta jump out of the school."
> -- Captain Beefheart
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
|
|
From: Erwin V. <erw...@er...> - 2005-04-09 13:30:26
|
It defaults to a method with the name of the current state. Erwin Vervaet erw...@er... ----- Original Message ----- From: "Steven Devijver" <ste...@gm...> To: <spr...@li...>; <spr...@li...> Sent: Saturday, April 09, 2005 2:49 PM Subject: [Springframework-developer] webflow: action tag without method name > Hi guys, > > Which method is called on an action bean when no method name is > specified in the action tag? > > Kind regards > > Steven > > -- > "If you want to be a different fish, you gotta jump out of the school." > -- Captain Beefheart > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |
|
From: Steven D. <ste...@gm...> - 2005-04-09 13:10:10
|
Hi guys,
Do you guys support the notion of validators like XWork validators?
Since WebFlow uses Spring validators could be configured
declaratively. If you're interested I would be happy to create a BNF
file for something like this:
{ firstname : length of form.firstname > 0 : "First name must not be empty" }
{ firstname : length of form.firstname <= 30 : "First name must be no
longer than 30 characters" }
{ age : form.age is number : "[${form.age}] is not a valid number" }
{ age : form.age > 18 : "You must be 18 years or older" }
{ age : form.age <= 110 : "We do not do business with the undead" }
Kind regards
Steven Devijver
--
"If you want to be a different fish, you gotta jump out of the school."
-- Captain Beefheart
|
|
From: Steven D. <ste...@gm...> - 2005-04-09 12:49:17
|
Hi guys, Which method is called on an action bean when no method name is specified in the action tag? Kind regards Steven -- "If you want to be a different fish, you gotta jump out of the school." -- Captain Beefheart |
|
From: Dmitriy K. <dko...@ru...> - 2005-04-08 23:43:01
|
> thx for pointing out and boy, its hard to follow all that new > features, which is good of course <g>. > Well, sometimes taking a look at the changelog when a new release ships could be useful: * added "value"/"ref" attributes to XML "property"/"constructor-arg" tag, as shortcut alternative to child elements * added "key" sub-element to XML "entry" tag for maps, allowing for inner beans, refs, values etc specified as key * added "key-ref" attribute to XML "entry" tag for maps, as shortcut alternative to a key element with "ref bean=" ... :-) Cheers, Dmitriy. |
|
From: Marc L. <ma...@lo...> - 2005-04-08 23:10:24
|
Hi, wasnt aware of that new feature of RC1, thats nice. Its the halfway of my proposal ;-) Of course you are right by saying that auto-wiring will help me here but call me conservative, i am not a big fan of it because of possible sideeffects and i want to have documented on bean basis what will be injected and what not. But the "ref" attribute in RC1 is a fair tradeoff between readability/flexibility and verbosity. I will go this route. thx for pointing out and boy, its hard to follow all that new features, which is good of course <g>. Juergen Hoeller wrote: > On a related note: Since Spring 1.2 RC1, there are "ref" and "value" > shortcut attributes on the <property> tag (and others): > > <property name="logisticProviderManagerService" > ref="logisticProviderManagerService"/> > > Of course, this still explicitly mentions the name of the bean. As I said, > autowire-by-name is probably what you're looking for then. > -- regards Marc Logemann http://www.logemann.org http://www.logentis.de |
|
From: Juergen H. <ju...@in...> - 2005-04-08 22:44:31
|
On a related note: Since Spring 1.2 RC1, there are "ref" and "value" shortcut attributes on the <property> tag (and others): <property name="logisticProviderManagerService" ref="logisticProviderManagerService"/> Of course, this still explicitly mentions the name of the bean. As I said, autowire-by-name is probably what you're looking for then. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Juergen Hoeller Sent: Saturday, April 09, 2005 12:40 AM To: spr...@li... Subject: Re: [Springframework-developer] verbosity of XML property declaration Well, if it's about avoiding to express the "logisticProviderManagerService" name twice: why not use autowiring-by-name? This can be defined on a per-bean basis, and automatically wires all bean properties that have matching beans in the context (with the bean name matching the property name). Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Marc Logemann Sent: Saturday, April 09, 2005 12:28 AM To: spr...@li... Subject: [Springframework-developer] verbosity of XML property declaration Hi, i ve followed with great interest the xml namespace discussion today and my concern is also in the area of xml verbosity. While looking at my context XML files (which allready reached 800 lines after 3 weeks of project programming), i saw that i have plenty of definitions which go like this: <bean...> <property name="logisticProviderManagerService"><ref bean="logisticProviderManagerService"/></property> </bean> If its not only me who prefers (whenever possible) to have the same attribute name than the bean name/id, it would be nice to have something like this: <bean...> <property name="logisticProviderManagerService" refbean="true"/> </bean> or <property name="logisticProviderManagerService" bean="ref|local"/> But i really dont know how many others do it this way. So i dont know if this is of common interest here. If its not of common interest, or if i feel that this is a must have, i assume that the package org.springframework.beans.factory.xml is my friend right? ;-) -- regards Marc Logemann http://www.logemann.org http://www.logentis.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Juergen H. <ju...@in...> - 2005-04-08 22:40:59
|
Well, if it's about avoiding to express the "logisticProviderManagerService" name twice: why not use autowiring-by-name? This can be defined on a per-bean basis, and automatically wires all bean properties that have matching beans in the context (with the bean name matching the property name). Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Marc Logemann Sent: Saturday, April 09, 2005 12:28 AM To: spr...@li... Subject: [Springframework-developer] verbosity of XML property declaration Hi, i ve followed with great interest the xml namespace discussion today and my concern is also in the area of xml verbosity. While looking at my context XML files (which allready reached 800 lines after 3 weeks of project programming), i saw that i have plenty of definitions which go like this: <bean...> <property name="logisticProviderManagerService"><ref bean="logisticProviderManagerService"/></property> </bean> If its not only me who prefers (whenever possible) to have the same attribute name than the bean name/id, it would be nice to have something like this: <bean...> <property name="logisticProviderManagerService" refbean="true"/> </bean> or <property name="logisticProviderManagerService" bean="ref|local"/> But i really dont know how many others do it this way. So i dont know if this is of common interest here. If its not of common interest, or if i feel that this is a must have, i assume that the package org.springframework.beans.factory.xml is my friend right? ;-) -- regards Marc Logemann http://www.logemann.org http://www.logentis.de ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <al...@jt...> - 2005-04-08 22:31:07
|
View results here -> http://opensource.jteam.nl/build/buildresults/spring?log=log20050409001605Lbuild.240 |
|
From: Marc L. <ma...@lo...> - 2005-04-08 22:30:18
|
Hi, i ve followed with great interest the xml namespace discussion today and my concern is also in the area of xml verbosity. While looking at my context XML files (which allready reached 800 lines after 3 weeks of project programming), i saw that i have plenty of definitions which go like this: <bean...> <property name="logisticProviderManagerService"><ref bean="logisticProviderManagerService"/></property> </bean> If its not only me who prefers (whenever possible) to have the same attribute name than the bean name/id, it would be nice to have something like this: <bean...> <property name="logisticProviderManagerService" refbean="true"/> </bean> or <property name="logisticProviderManagerService" bean="ref|local"/> But i really dont know how many others do it this way. So i dont know if this is of common interest here. If its not of common interest, or if i feel that this is a must have, i assume that the package org.springframework.beans.factory.xml is my friend right? ;-) -- regards Marc Logemann http://www.logemann.org http://www.logentis.de |
|
From: Thierry T. <te...@ya...> - 2005-04-08 19:25:54
|
Rob, I have made some tests with WAS 5.1.2. The exportation of beans (simple mbeans) works fine... Is it the only thing to test for the jmx support? Thierry > Please do. I'm just downloading WAS 5.0 now for my > testing session tomorrow. > > Rob Take a look at my blog: http://templth.blogspot.com/ __________________________________________________________________ Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/ |
|
From: Nanda F. <nan...@gm...> - 2005-04-08 17:45:01
|
Same here... -- Nanda Firdausi > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] > On Behalf Of Matt Sgarlata > Sent: 08 April 2005 18:58 > To: spr...@li... > Subject: [Springframework-developer] Trouble retrieving CVS HEAD > > I can't retrieve the latest code from CVS anymore for some > reason. Does the Spring project need to request more space > from SourceForge? > > The server reported an error: No space left on device > Spring: cannot create_adm_p > /tmp/cvs-serv27404/sandbox/org/springframework/aop > The server reported an error: No space left on device > > Matt > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & > candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: Erwin V. <erw...@er...> - 2005-04-08 17:28:31
|
All, I've been integrating Portlet support into the Spring Web Flow system and today I also added a portlet based version of the PhoneBook sample application. SWF Portlet support builds on the Spring Portlet MVC framework, which brings me to the question: what is the status of Spring Portlet MVC? A recent discussion on the DEV list states that it will be a key feature of Spring 1.3. However, there also seems to be a lot of confusion as to how up-to-date the sources in CVS are (http://article.gmane.org/gmane.comp.java.springframework.devel/7997) and who is actually working on it/maintaining it. The Wiki page (http://opensource.atlassian.com/confluence/spring/display/JSR168/Home) also seems to given the impression that's it's not ready for prime-time yet. Since SWF is now dependent on Spring Portlet MVC, we need to make sure it is ready for release in the 1.3 timeframe. Also, since SWF is already releasing preview releases (we have preview 2 coming up this weekend!), we need to make sure the Portlet MVC code we're shipping with that (which is the code from CVS) is actually in up-to-date! Could somebody please try to clarify the Spring Portlet MVC situation a bit? Erwin Vervaet erw...@er... |
|
From: Matt S. <sga...@us...> - 2005-04-08 17:00:37
|
I can't retrieve the latest code from CVS anymore for some reason. Does the Spring project need to request more space from SourceForge? The server reported an error: No space left on device Spring: cannot create_adm_p /tmp/cvs-serv27404/sandbox/org/springframework/aop The server reported an error: No space left on device Matt |
|
From: Matt S. <sga...@us...> - 2005-04-08 16:49:34
|
I agree that you want the DispatcherServlet to work as it used to and not require a new filter to be added to Spring MVC apps. I'm just suggesting that making some of the DispatcherServlet's functionality accessible to non-Spring MVC users could be beneficial. It could also make the implementation of the <spring> tags more straightforward. Matt Colin Sampaleanu wrote: > Matt Raible wrote: > >> >> On Apr 8, 2005, at 7:32 AM, Matt Sgarlata wrote: >> >>> Are you proposing to remove the Context interface or to move it to >>> Spring core? I think moving it to Spring core could be good. >>> However, I would make it a blank interface and add a >>> ValidatableContext subinterface that defines the validate() method. >>> >>> Could we have the LocaleContext also be automatically setup in the >>> DelegatingRequestProcessor for Struts users? Alternatively, perhaps >>> some of the work that's currently done by the DispatcherServlet could >>> be moved to a servlet filter that could work with any web >>> application? For backwards compatability, the DispatcherServlet >>> could detect whether the new filter has already been invoked, and if >>> not invoke it manually. >> >> >> >> If I understand these classes correctly, it should be fairly simple to >> add this to your own filter: >> >> LocaleContextHolder.setLocale(request.getLocale()); >> >> I wonder if adding this to the CharacterEncodingFilter would make any >> sense? >> > For people using Spring MVC you definitely still want to have > DispatcherServlet do it (whether directly as now, or by reusing common > code), without people having to put in the filter. I'm not so sure about > combining the functionality into the CharacterEncodingFilter. Somewhat > different concerns here, and you might want to handle the locale without > touching the character encoding... > |
|
From: Matt R. <li...@ra...> - 2005-04-08 16:48:51
|
On Apr 8, 2005, at 10:19 AM, Colin Sampaleanu wrote: > Matt Raible wrote: > >> >> On Apr 8, 2005, at 7:32 AM, Matt Sgarlata wrote: >> >>> Are you proposing to remove the Context interface or to move it to >>> Spring core? I think moving it to Spring core could be good. >>> However, I would make it a blank interface and add a >>> ValidatableContext subinterface that defines the validate() method. >>> >>> Could we have the LocaleContext also be automatically setup in the >>> DelegatingRequestProcessor for Struts users? Alternatively, perhaps >>> some of the work that's currently done by the DispatcherServlet >>> could be moved to a servlet filter that could work with any web >>> application? For backwards compatability, the DispatcherServlet >>> could detect whether the new filter has already been invoked, and if >>> not invoke it manually. >> >> >> If I understand these classes correctly, it should be fairly simple >> to add this to your own filter: >> >> LocaleContextHolder.setLocale(request.getLocale()); >> >> I wonder if adding this to the CharacterEncodingFilter would make any >> sense? >> > For people using Spring MVC you definitely still want to have > DispatcherServlet do it (whether directly as now, or by reusing common > code), without people having to put in the filter. I'm not so sure > about combining the functionality into the CharacterEncodingFilter. > Somewhat different concerns here, and you might want to handle the > locale without touching the character encoding... Right, but for those using something like Tapestry or JSF - they'll need to write their own filter. Since it's such little code, I don't see the need to provide a Spring Filter as part of the core, but it might be a good idea to note the Filter (and code) in the LocaleContextHolder's javadoc. I agree that it probably shouldn't go in the CharacterEncodingFilter - I'm just always looking for filter consolidation. I can probably add the above code to an existing filter. Matt > > -- > Colin Sampaleanu > Interface21 Principal Consultant > Spring Training, Consulting and Support - "From the Source" > http://www.springframework.com > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Juergen H. <ju...@in...> - 2005-04-08 16:42:56
|
I'm proposing to remove the generic Context interface completely. It seems to me that Acegi should concentrate on its specific SecureContext, held in a SecureContextHolder. It will only ever hold a SecureContext; after all, it's a security framework, isn't it :-) A single holder for a generic Context doesn't help much unless you have a central controlling place where you manage the Context (which somewhat goes against Spring's philosophy). For loosely coupled code, it's better to have a specific Context for each subsystem, managed independently (in independent ThreadLocals, i.e. independent holder classes). Regarding LocaleContext management outside DispatcherServlet: Note that DispatcherServlet does something very specific there - it delegates to its LocaleResolver to resolve the Locale. Outside of Spring Web MVC, there is no such LocaleResolver. We could probably extend our Struts support to expose the Struts-determined Locale as a LocaleContext, though. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Matt Sgarlata Sent: Friday, April 08, 2005 3:32 PM To: spr...@li... Subject: [Springframework-developer] Re: LocaleContext Are you proposing to remove the Context interface or to move it to Spring core? I think moving it to Spring core could be good. However, I would make it a blank interface and add a ValidatableContext subinterface that defines the validate() method. Could we have the LocaleContext also be automatically setup in the DelegatingRequestProcessor for Struts users? Alternatively, perhaps some of the work that's currently done by the DispatcherServlet could be moved to a servlet filter that could work with any web application? For backwards compatability, the DispatcherServlet could detect whether the new filter has already been invoked, and if not invoke it manually. Matt PS - Spring MVC is soooo much better than Struts, but I simply don't have the time to switch to it. We already have too much momentum with Struts. Juergen Hoeller wrote: > I've introduced a LocaleContext abstraction and LocaleContextHolder class in > "org.springframework.context.i18n". DispatcherServlet automatically > populates LocaleContextHolder's ThreadLocal (delegating to LocaleResolver), > and MessageSourceAccessor automatically uses the current Locale from there > (falling back to the system default Locale). > > The LocaleContext is essentially analogous to Acegi's SecurityContext. I > guess it's better to keep such contexts separate, though, else it'll be > unclear who choses the Context implementation to use etc. To express this, > it might make sense to remove the generic Context interface from Acegi, only > keeping a SecurityContext, held in a SecurityContextHolder. > > Thoughts? > > Juergen > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Colin S. <col...@ex...> - 2005-04-08 16:19:14
|
Matt Raible wrote: > > On Apr 8, 2005, at 7:32 AM, Matt Sgarlata wrote: > >> Are you proposing to remove the Context interface or to move it to >> Spring core? I think moving it to Spring core could be good. >> However, I would make it a blank interface and add a >> ValidatableContext subinterface that defines the validate() method. >> >> Could we have the LocaleContext also be automatically setup in the >> DelegatingRequestProcessor for Struts users? Alternatively, perhaps >> some of the work that's currently done by the DispatcherServlet could >> be moved to a servlet filter that could work with any web >> application? For backwards compatability, the DispatcherServlet >> could detect whether the new filter has already been invoked, and if >> not invoke it manually. > > > If I understand these classes correctly, it should be fairly simple to > add this to your own filter: > > LocaleContextHolder.setLocale(request.getLocale()); > > I wonder if adding this to the CharacterEncodingFilter would make any > sense? > For people using Spring MVC you definitely still want to have DispatcherServlet do it (whether directly as now, or by reusing common code), without people having to put in the filter. I'm not so sure about combining the functionality into the CharacterEncodingFilter. Somewhat different concerns here, and you might want to handle the locale without touching the character encoding... -- Colin Sampaleanu Interface21 Principal Consultant Spring Training, Consulting and Support - "From the Source" http://www.springframework.com |
|
From: Matt R. <li...@ra...> - 2005-04-08 15:40:59
|
On Apr 8, 2005, at 7:32 AM, Matt Sgarlata wrote: > Are you proposing to remove the Context interface or to move it to > Spring core? I think moving it to Spring core could be good. > However, I would make it a blank interface and add a > ValidatableContext subinterface that defines the validate() method. > > Could we have the LocaleContext also be automatically setup in the > DelegatingRequestProcessor for Struts users? Alternatively, perhaps > some of the work that's currently done by the DispatcherServlet could > be moved to a servlet filter that could work with any web application? > For backwards compatability, the DispatcherServlet could detect > whether the new filter has already been invoked, and if not invoke it > manually. If I understand these classes correctly, it should be fairly simple to add this to your own filter: LocaleContextHolder.setLocale(request.getLocale()); I wonder if adding this to the CharacterEncodingFilter would make any sense? Matt > > Matt > > PS - Spring MVC is soooo much better than Struts, but I simply don't > have the time to switch to it. We already have too much momentum with > Struts. > > Juergen Hoeller wrote: >> I've introduced a LocaleContext abstraction and LocaleContextHolder >> class in >> "org.springframework.context.i18n". DispatcherServlet automatically >> populates LocaleContextHolder's ThreadLocal (delegating to >> LocaleResolver), >> and MessageSourceAccessor automatically uses the current Locale from >> there >> (falling back to the system default Locale). >> The LocaleContext is essentially analogous to Acegi's >> SecurityContext. I >> guess it's better to keep such contexts separate, though, else it'll >> be >> unclear who choses the Context implementation to use etc. To express >> this, >> it might make sense to remove the generic Context interface from >> Acegi, only >> keeping a SecurityContext, held in a SecurityContextHolder. >> Thoughts? >> Juergen >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real >> users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Steven D. <ste...@gm...> - 2005-04-08 14:46:54
|
groovy.
On Apr 8, 2005 4:42 PM, Keith Donald <ke...@in...> wrote:
> Yes - everything is accessible via the RequestContext, the root object on
> the value stack. So lastEvent is a prop, flowScope is a prop, "sale" is a
> bean stored in flowScope, Boolean "shipping" is a prop on that bean. The
> "on" condition must be a boolean expression.
>
> -----Original Message-----
> From: spr...@li...
> [mailto:spr...@li...] On Behalf Of
> Steven Devijver
> Sent: Friday, April 08, 2005 10:37 AM
> To: spr...@li...
> Subject: Re: [Springframework-developer] FW: OGNL sample
>
> Thanks guys.
>
> I suppose the "lastEvent" and "flowScope" variables are always
> available on the OGNL value stack. I furthermore suppose that "scope"
> is a key in the flow request context and that "shipping" is a boolean
> property on the instance associated with said key.
>
> Cheers
>
> Steven
>
> On Apr 8, 2005 4:29 PM, Erwin Vervaet <erw...@er...> wrote:
> > should that be "threesome-programming"? ;)
> >
> > Erwin Vervaet
> > erw...@er...
> > ----- Original Message -----
> > From: "Keith Donald" <ke...@in...>
> > To: <spr...@li...>
> > Sent: Friday, April 08, 2005 4:17 PM
> > Subject: [Springframework-developer] FW: OGNL sample
> >
> > > FYI if this wasn't posted here already: the below feature is the result
> of
> > > Erwin, Rob, and I's "tri-programming" over skype yesterday. Steven,
> this
> > > is
> > > an example of conditional transitions expressed in OGNL, to help with
> your
> > > article.
> > >
> > > Keith
> > >
> > > -----Original Message-----
> > > From: Erwin Vervaet [mailto:erw...@er...]
> > > Sent: Friday, April 08, 2005 3:09 AM
> > > To: Keith Donald; Rob Harrop
> > > Subject: OGNL sample
> > >
> > > Hey guys,
> > >
> > > I just added OGNL based conditional transitions to our sellitem sample
> > > app:
> > >
> > > <action-state id="bindAndValidateCategory">
> > > <action bean="sellItemAction" method="bindAndValidate"/>
> > > <transition on="${lastEvent.id == 'success' and
> > > flowScope.sale.shipping}"
> > >
> > > to="enterShippingDetails"/>
> > > <transition on="${lastEvent.id == 'success' and
> > > !flowScope.sale.shipping}" to="showCostOverview"/>
> > > <transition on="error" to="enterCategory"/>
> > > </action-state>
> > >
> > > Sweet! I tested this and it's working nicely.
> > >
> > > Erwin Vervaet
> > > erw...@er...
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > SF email is sponsored by - The IT Product Guide
> > > Read honest & candid reviews on hundreds of IT Products from real users.
> > > Discover which products truly live up to the hype. Start reading now.
> > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > > _______________________________________________
> > > Springframework-developer mailing list
> > > Spr...@li...
> > > https://lists.sourceforge.net/lists/listinfo/springframework-developer
> > >
> > >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > Springframework-developer mailing list
> > Spr...@li...
> > https://lists.sourceforge.net/lists/listinfo/springframework-developer
> >
> >
>
> --
> "If you want to be a different fish, you gotta jump out of the school."
> -- Captain Beefheart
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
--
"If you want to be a different fish, you gotta jump out of the school."
-- Captain Beefheart
|
|
From: Keith D. <ke...@in...> - 2005-04-08 14:43:01
|
Yes - everything is accessible via the RequestContext, the root object on
the value stack. So lastEvent is a prop, flowScope is a prop, "sale" is a
bean stored in flowScope, Boolean "shipping" is a prop on that bean. The
"on" condition must be a boolean expression.
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...] On Behalf Of
Steven Devijver
Sent: Friday, April 08, 2005 10:37 AM
To: spr...@li...
Subject: Re: [Springframework-developer] FW: OGNL sample
Thanks guys.
I suppose the "lastEvent" and "flowScope" variables are always
available on the OGNL value stack. I furthermore suppose that "scope"
is a key in the flow request context and that "shipping" is a boolean
property on the instance associated with said key.
Cheers
Steven
On Apr 8, 2005 4:29 PM, Erwin Vervaet <erw...@er...> wrote:
> should that be "threesome-programming"? ;)
>
> Erwin Vervaet
> erw...@er...
> ----- Original Message -----
> From: "Keith Donald" <ke...@in...>
> To: <spr...@li...>
> Sent: Friday, April 08, 2005 4:17 PM
> Subject: [Springframework-developer] FW: OGNL sample
>
> > FYI if this wasn't posted here already: the below feature is the result
of
> > Erwin, Rob, and I's "tri-programming" over skype yesterday. Steven,
this
> > is
> > an example of conditional transitions expressed in OGNL, to help with
your
> > article.
> >
> > Keith
> >
> > -----Original Message-----
> > From: Erwin Vervaet [mailto:erw...@er...]
> > Sent: Friday, April 08, 2005 3:09 AM
> > To: Keith Donald; Rob Harrop
> > Subject: OGNL sample
> >
> > Hey guys,
> >
> > I just added OGNL based conditional transitions to our sellitem sample
> > app:
> >
> > <action-state id="bindAndValidateCategory">
> > <action bean="sellItemAction" method="bindAndValidate"/>
> > <transition on="${lastEvent.id == 'success' and
> > flowScope.sale.shipping}"
> >
> > to="enterShippingDetails"/>
> > <transition on="${lastEvent.id == 'success' and
> > !flowScope.sale.shipping}" to="showCostOverview"/>
> > <transition on="error" to="enterCategory"/>
> > </action-state>
> >
> > Sweet! I tested this and it's working nicely.
> >
> > Erwin Vervaet
> > erw...@er...
> >
> >
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > Springframework-developer mailing list
> > Spr...@li...
> > https://lists.sourceforge.net/lists/listinfo/springframework-developer
> >
> >
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
--
"If you want to be a different fish, you gotta jump out of the school."
-- Captain Beefheart
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Steven D. <ste...@gm...> - 2005-04-08 14:37:22
|
Thanks guys.
I suppose the "lastEvent" and "flowScope" variables are always
available on the OGNL value stack. I furthermore suppose that "scope"
is a key in the flow request context and that "shipping" is a boolean
property on the instance associated with said key.
Cheers
Steven
On Apr 8, 2005 4:29 PM, Erwin Vervaet <erw...@er...> wrote:
> should that be "threesome-programming"? ;)
>
> Erwin Vervaet
> erw...@er...
> ----- Original Message -----
> From: "Keith Donald" <ke...@in...>
> To: <spr...@li...>
> Sent: Friday, April 08, 2005 4:17 PM
> Subject: [Springframework-developer] FW: OGNL sample
>
> > FYI if this wasn't posted here already: the below feature is the result of
> > Erwin, Rob, and I's "tri-programming" over skype yesterday. Steven, this
> > is
> > an example of conditional transitions expressed in OGNL, to help with your
> > article.
> >
> > Keith
> >
> > -----Original Message-----
> > From: Erwin Vervaet [mailto:erw...@er...]
> > Sent: Friday, April 08, 2005 3:09 AM
> > To: Keith Donald; Rob Harrop
> > Subject: OGNL sample
> >
> > Hey guys,
> >
> > I just added OGNL based conditional transitions to our sellitem sample
> > app:
> >
> > <action-state id="bindAndValidateCategory">
> > <action bean="sellItemAction" method="bindAndValidate"/>
> > <transition on="${lastEvent.id == 'success' and
> > flowScope.sale.shipping}"
> >
> > to="enterShippingDetails"/>
> > <transition on="${lastEvent.id == 'success' and
> > !flowScope.sale.shipping}" to="showCostOverview"/>
> > <transition on="error" to="enterCategory"/>
> > </action-state>
> >
> > Sweet! I tested this and it's working nicely.
> >
> > Erwin Vervaet
> > erw...@er...
> >
> >
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > Springframework-developer mailing list
> > Spr...@li...
> > https://lists.sourceforge.net/lists/listinfo/springframework-developer
> >
> >
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
--
"If you want to be a different fish, you gotta jump out of the school."
-- Captain Beefheart
|
|
From: Erwin V. <erw...@er...> - 2005-04-08 14:26:53
|
should that be "threesome-programming"? ;)
Erwin Vervaet
erw...@er...
----- Original Message -----
From: "Keith Donald" <ke...@in...>
To: <spr...@li...>
Sent: Friday, April 08, 2005 4:17 PM
Subject: [Springframework-developer] FW: OGNL sample
> FYI if this wasn't posted here already: the below feature is the result of
> Erwin, Rob, and I's "tri-programming" over skype yesterday. Steven, this
> is
> an example of conditional transitions expressed in OGNL, to help with your
> article.
>
> Keith
>
> -----Original Message-----
> From: Erwin Vervaet [mailto:erw...@er...]
> Sent: Friday, April 08, 2005 3:09 AM
> To: Keith Donald; Rob Harrop
> Subject: OGNL sample
>
> Hey guys,
>
> I just added OGNL based conditional transitions to our sellitem sample
> app:
>
> <action-state id="bindAndValidateCategory">
> <action bean="sellItemAction" method="bindAndValidate"/>
> <transition on="${lastEvent.id == 'success' and
> flowScope.sale.shipping}"
>
> to="enterShippingDetails"/>
> <transition on="${lastEvent.id == 'success' and
> !flowScope.sale.shipping}" to="showCostOverview"/>
> <transition on="error" to="enterCategory"/>
> </action-state>
>
> Sweet! I tested this and it's working nicely.
>
> Erwin Vervaet
> erw...@er...
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
|
|
From: Keith D. <ke...@in...> - 2005-04-08 14:17:59
|
FYI if this wasn't posted here already: the below feature is the result of
Erwin, Rob, and I's "tri-programming" over skype yesterday. Steven, this is
an example of conditional transitions expressed in OGNL, to help with your
article.
Keith
-----Original Message-----
From: Erwin Vervaet [mailto:erw...@er...]
Sent: Friday, April 08, 2005 3:09 AM
To: Keith Donald; Rob Harrop
Subject: OGNL sample
Hey guys,
I just added OGNL based conditional transitions to our sellitem sample app:
<action-state id="bindAndValidateCategory">
<action bean="sellItemAction" method="bindAndValidate"/>
<transition on="${lastEvent.id == 'success' and flowScope.sale.shipping}"
to="enterShippingDetails"/>
<transition on="${lastEvent.id == 'success' and
!flowScope.sale.shipping}" to="showCostOverview"/>
<transition on="error" to="enterCategory"/>
</action-state>
Sweet! I tested this and it's working nicely.
Erwin Vervaet
erw...@er...
|
|
From: Matt S. <sga...@us...> - 2005-04-08 13:33:39
|
Are you proposing to remove the Context interface or to move it to Spring core? I think moving it to Spring core could be good. However, I would make it a blank interface and add a ValidatableContext subinterface that defines the validate() method. Could we have the LocaleContext also be automatically setup in the DelegatingRequestProcessor for Struts users? Alternatively, perhaps some of the work that's currently done by the DispatcherServlet could be moved to a servlet filter that could work with any web application? For backwards compatability, the DispatcherServlet could detect whether the new filter has already been invoked, and if not invoke it manually. Matt PS - Spring MVC is soooo much better than Struts, but I simply don't have the time to switch to it. We already have too much momentum with Struts. Juergen Hoeller wrote: > I've introduced a LocaleContext abstraction and LocaleContextHolder class in > "org.springframework.context.i18n". DispatcherServlet automatically > populates LocaleContextHolder's ThreadLocal (delegating to LocaleResolver), > and MessageSourceAccessor automatically uses the current Locale from there > (falling back to the system default Locale). > > The LocaleContext is essentially analogous to Acegi's SecurityContext. I > guess it's better to keep such contexts separate, though, else it'll be > unclear who choses the Context implementation to use etc. To express this, > it might make sense to remove the generic Context interface from Acegi, only > keeping a SecurityContext, held in a SecurityContextHolder. > > Thoughts? > > Juergen > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click |