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
|
| 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ZXdvcmst ZGV2ZWxvcGVyIG1haWxpbmcgbGlzdA0KCVNwcmluZ2ZyYW1ld29yay1kZXZlbG9wZXJAbGlzdHMu c291cmNlZm9yZ2UubmV0DQoJaHR0cHM6Ly9saXN0cy5zb3VyY2Vmb3JnZS5uZXQvbGlzdHMvbGlz dGluZm8vc3ByaW5nZnJhbWV3b3JrLWRldmVsb3Blcg0KCQ0KDQo= |
|
From: JP P. <jp....@ti...> - 2003-07-07 20:41:10
|
In my case, there is no add or delete, only selection in well known
number of elements (used for instantiation of the array). I didn't try
with a list but the conversion is perhaps made internally. At least with
arrays, the two minor changes I proposed work as I use them. If lists
work also it will no care about the number of elements.
Jean-Pierre
-----Message d'origine-----
De=A0: spr...@li...
[mailto:spr...@li...] De la
part de JP Pawlak
Envoy=E9=A0: lundi 7 juillet 2003 21:55
=C0=A0: 'j=FCrgen h=F6ller [werk3AT]'; 'Rhandy Lado'
Cc=A0: spr...@li...
Objet=A0: RE : [Springframework-developer] RE: [Springframework] Request
Binding
Hi Juergen,
I'm not sure that my answer is related to this, maybe.
I had to handle with multiselect listboxes. The issue is the same with
checkboxes. The form returns many values for the same identifier. I just
take a look at the code. It is already the same as in the original
framework and don't handle this situation.
I had modified in my own i21 version the
com.interface21.web.util.WebUtils class the method
getParametersStartingWith(ServletRequest as follows:
----------------------
public static Properties getParametersStartingWith(ServletRequest
request, String base) {
Enumeration enum =3D request.getParameterNames();
Properties props =3D new Properties();
=09
if (base =3D=3D null)
base =3D "";
while (enum !=3D null && enum.hasMoreElements()) {
String paramName =3D (String) enum.nextElement();
if (base =3D=3D null || "".equals(base) ||
paramName.startsWith(base)) {
String val =3D request.getParameter(paramName);
// JPP My add
if (request.getParameterValues(paramName).length > 1) {
val =3D
StringUtils.arrayToDelimitedString(request.getParameterValues(paramName)
, ","); =09
}
// JPP End My add
String unprefixed =3D
paramName.substring(base.length());
props.setProperty(unprefixed, val);
}
}
return props;
} // getParameterValuesStartingWith
--------------
By the way, I checked what others change I made and discover also I
added in com.interface21.beans.propertyeditors.
StringArrayPropertyEditor the getAsText method:
public String getAsText() {
String[] array =3D (String[])this.getValue();
return StringUtils.arrayToDelimitedString(array,",");
}
Even if it's not related with Rhandy's question, can I or you integrate
these changes?
Regards,
Jean-Pierre=20
-----Message d'origine-----
De=A0: spr...@li...
[mailto:spr...@li...] De la
part de j=FCrgen h=F6ller [werk3AT]
Envoy=E9=A0: lundi 7 juillet 2003 19:26
=C0=A0: Rhandy Lado
Cc=A0: spr...@li...
Objet=A0: [Springframework-developer] RE: [Springframework] Request
Binding
Hi Rhandy,
For multiple form objects, you could use custom objects that you bind
parameters onto via BindUtils and put in the session as some custom
attribute. I consider it preferable to use a different strategy though:
Not a map, but a custom root object that contains the form objects as
bean properties, like a MyRootObject class with getMyFirstObject and
getMySecondFormObject methods. It's easy to bind to the contained
objects via nested properties, e.g. "myFirstFormObject.myProperty" and
"mySecondFormObject.myOtherProperty".
Regarding a list of objects, it's probably indeed the best way to parse
respective request parameters manually, in a custom onBindAndValidate
implementation. Especially if you want to add and remove elements, I
can't think of a different way. We could try to bind to an existing list
of objects, but it's not too obvious how to go about this (via an index?
what if it's a Set, Collection, or Map), so we don't support this yet.
If you have an idea how to achieve this, please let me know :-)
Regards,
Juergen
-----Original Message-----
From: Rhandy Lado [mailto:rh...@do...]
Sent: Monday, July 07, 2003 10:49 AM
To: j=FCrgen h=F6ller [werk3AT]
Subject: [Springframework] Request Binding
Hi Jurgen,
I've been using the FormController classes in a few webpages now and
found that I sometimes need to work with more than one form object. How
do I return more than two objects and bind each of them in the webpage?
Should I put each object in a Map and then return the map? If so, how do
you access the map using the <i21:bind> tags?
Also, I have a list defined in my form object. Do the <i21:bind> tags
support binding data to a list? If not, do you have any suggestions on
how I may go about this? (I was initially thinking of passing back a
series of request parameters and manually adding these values to the
form object list but I have a feeling there is a more elegant way of
doing this.)
Thanks in advance,
Rhandy
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: William G. T. Jr. <wg...@ru...> - 2003-07-07 20:28:01
|
jürgen höller [werk3AT] wrote: > Hi Rhandy, > > For multiple form objects, you could use custom objects that you bind parameters onto via BindUtils and put in the session as some custom attribute. I consider it preferable to use a different strategy though: Not a map, but a custom root object that contains the form objects as bean properties, like a MyRootObject class with getMyFirstObject and getMySecondFormObject methods. It's easy to bind to the contained objects via nested properties, e.g. "myFirstFormObject.myProperty" and "mySecondFormObject.myOtherProperty". > > Regarding a list of objects, it's probably indeed the best way to parse respective request parameters manually, in a custom onBindAndValidate implementation. Especially if you want to add and remove elements, I can't think of a different way. We could try to bind to an existing list of objects, but it's not too obvious how to go about this (via an index? what if it's a Set, Collection, or Map), so we don't support this yet. If you have an idea how to achieve this, please let me know :-) There might be something we could borrow from the Japple framework. Don't know if this the most elegant solution, but it works. The Japple framework supports something like this for a Collection of objects by maintaining an internal "sequence" for each object and a hidden "queryString" which is used to provide hints to the binding mechanism. http://www.japple.org/tutorial/complex_objects.html Bill > > Regards, > Juergen > > > -----Original Message----- > From: Rhandy Lado [mailto:rh...@do...] > Sent: Monday, July 07, 2003 10:49 AM > To: jürgen höller [werk3AT] > Subject: [Springframework] Request Binding > > > Hi Jurgen, > > I've been using the FormController classes in a few webpages now and > found that I sometimes need to work with more than one form object. How > do I return more than two objects and bind each of them in the webpage? > Should I put each object in a Map and then return the map? If so, how do > you access the map using the <i21:bind> tags? > > Also, I have a list defined in my form object. Do the <i21:bind> tags > support binding data to a list? If not, do you have any suggestions on > how I may go about this? (I was initially thinking of passing back a > series of request parameters and manually adding these values to the > form object list but I have a feeling there is a more elegant way of > doing this.) > > Thanks in advance, > Rhandy > > |
|
From: <jue...@we...> - 2003-07-07 20:27:55
|
SGkgZXZlcnlib2R5LA0KIA0KQSBzdW1tYXJ5IG9mIG15IGxhdGVzdCBhZGRpdGlvbnMgdG8gQ1ZT Og0KIA0KMS4NCkNHTElCIHN1cHBvcnQgaW4gdGhlIEFPUCBmcmFtZXdvcms6IElmIG5vIHByb3h5 IGludGVyZmFjZXMgYXJlIHNwZWNpZmllZCwgYSBDR0xJQiBwcm94eSBpcyBjcmVhdGVkIGZvciB0 aGUgb3JpZ2luYWwgY2xhc3MuIFRodXMsIGFueSBjbGFzcyBjYW4gZ2V0IHByb3hpZWQgYW5kIGlu dGVyY2VwdGVkIG5vdywgYXMgbG9uZyBhcyBpdCBkb2Vzbid0IGhhdmUgZmluYWwgbWV0aG9kcyAo Q0dMSUIgY3JlYXRlcyBydW50aW1lIHN1YmNsYXNzZXMpLiBGb3IgcHJveHkgaW50ZXJmYWNlcywg dGhlIEFPUCBmcmFtZXdvcmsgd2lsbCBzdGlsbCBjcmVhdGUgc3RhbmRhcmQgSjJTRSAxLjMgZHlu YW1pYyBwcm94eS4gTm90ZSB0aGF0IHRoZSBmcmFtZXdvcmsgZG9lc24ndCBoYXZlIGEgcnVudGlt ZSBkZXBlbmRlbmN5IG9uIENHTElCLCBhcyBsb25nIGFzIHlvdSBkb24ndCBmb3JjZSBpdCB0byBj cmVhdGUgQ0dMSUIgcHJveGllcy4NCiANCjIuDQpSZXdvcmtlZCBQcm9wZXJ0eVJlc291cmNlQ29u ZmlndXJlciBhbmQgaW50cm9kdWNlZCBCZWFuRmFjdG9yeVBvc3RQcm9jZXNzb3I6IFRvIGVuYWJs ZSBvdmVycmlkaW5nIG9mIGJlYW4gcHJvcGVyd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ANCkZvcm1lcmx5LCBqdXN0IGEgZGlyZWN0IGxvb2t1cCBmb3IgdGhlIHdob2xl IGxvY2F0aW9uIHdvdWxkIGhhdmUgd29ya2VkLiBGdXJ0aGVybW9yZSwgdGhlIGltcGxlbWVudGF0 aW9uIHN1cHBvcnRzIGJvdGggTmFtaW5nRW51bWVyYXRpb25zIG5vdzogImxpc3QiICh3aXRoIE5h bWVDbGFzc1BhaXJzKSBhbmQgImxpc3RCaW5kaW5ncyIgKHdpdGggQmluZGluZ3MpLg0KIA0KIA0K SnVlcmdlbg0K |
|
From: JP P. <jp....@ti...> - 2003-07-07 20:01:29
|
Hi, I have sent my latest changes for the Countries demo. To be cleaner, it uses now XHTML. Also links on the Spring and SourceForge were added with the message letting know that the sources are in the distribution. I have no more change before the 0.9.1 except these described in my latest message. Regards, Jean-Pierre |
|
From: JP P. <jp....@ti...> - 2003-07-07 19:56:01
|
Hi Juergen,
I'm not sure that my answer is related to this, maybe.
I had to handle with multiselect listboxes. The issue is the same with
checkboxes. The form returns many values for the same identifier. I just
take a look at the code. It is already the same as in the original
framework and don't handle this situation.
I had modified in my own i21 version the
com.interface21.web.util.WebUtils class the method
getParametersStartingWith(ServletRequest as follows:
----------------------
public static Properties getParametersStartingWith(ServletRequest
request, String base) {
Enumeration enum =3D request.getParameterNames();
Properties props =3D new Properties();
=09
if (base =3D=3D null)
base =3D "";
while (enum !=3D null && enum.hasMoreElements()) {
String paramName =3D (String) enum.nextElement();
if (base =3D=3D null || "".equals(base) ||
paramName.startsWith(base)) {
String val =3D request.getParameter(paramName);
// JPP My add
if (request.getParameterValues(paramName).length > 1) {
val =3D
StringUtils.arrayToDelimitedString(request.getParameterValues(paramName)
, ","); =09
}
// JPP End My add
String unprefixed =3D
paramName.substring(base.length());
props.setProperty(unprefixed, val);
}
}
return props;
} // getParameterValuesStartingWith
--------------
By the way, I checked what others change I made and discover also I
added in com.interface21.beans.propertyeditors.
StringArrayPropertyEditor the getAsText method:
public String getAsText() {
String[] array =3D (String[])this.getValue();
return StringUtils.arrayToDelimitedString(array,",");
}
Even if it's not related with Rhandy's question, can I or you integrate
these changes?
Regards,
Jean-Pierre=20
-----Message d'origine-----
De=A0: spr...@li...
[mailto:spr...@li...] De la
part de j=FCrgen h=F6ller [werk3AT]
Envoy=E9=A0: lundi 7 juillet 2003 19:26
=C0=A0: Rhandy Lado
Cc=A0: spr...@li...
Objet=A0: [Springframework-developer] RE: [Springframework] Request
Binding
Hi Rhandy,
For multiple form objects, you could use custom objects that you bind
parameters onto via BindUtils and put in the session as some custom
attribute. I consider it preferable to use a different strategy though:
Not a map, but a custom root object that contains the form objects as
bean properties, like a MyRootObject class with getMyFirstObject and
getMySecondFormObject methods. It's easy to bind to the contained
objects via nested properties, e.g. "myFirstFormObject.myProperty" and
"mySecondFormObject.myOtherProperty".
Regarding a list of objects, it's probably indeed the best way to parse
respective request parameters manually, in a custom onBindAndValidate
implementation. Especially if you want to add and remove elements, I
can't think of a different way. We could try to bind to an existing list
of objects, but it's not too obvious how to go about this (via an index?
what if it's a Set, Collection, or Map), so we don't support this yet.
If you have an idea how to achieve this, please let me know :-)
Regards,
Juergen
-----Original Message-----
From: Rhandy Lado [mailto:rh...@do...]
Sent: Monday, July 07, 2003 10:49 AM
To: j=FCrgen h=F6ller [werk3AT]
Subject: [Springframework] Request Binding
Hi Jurgen,
I've been using the FormController classes in a few webpages now and
found that I sometimes need to work with more than one form object. How
do I return more than two objects and bind each of them in the webpage?
Should I put each object in a Map and then return the map? If so, how do
you access the map using the <i21:bind> tags?
Also, I have a list defined in my form object. Do the <i21:bind> tags
support binding data to a list? If not, do you have any suggestions on
how I may go about this? (I was initially thinking of passing back a
series of request parameters and manually adding these values to the
form object list but I have a feeling there is a more elegant way of
doing this.)
Thanks in advance,
Rhandy
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: <jue...@we...> - 2003-07-07 17:28:34
|
Hi Rhandy, For multiple form objects, you could use custom objects that you bind = parameters onto via BindUtils and put in the session as some custom = attribute. I consider it preferable to use a different strategy though: = Not a map, but a custom root object that contains the form objects as = bean properties, like a MyRootObject class with getMyFirstObject and = getMySecondFormObject methods. It's easy to bind to the contained = objects via nested properties, e.g. "myFirstFormObject.myProperty" and = "mySecondFormObject.myOtherProperty". Regarding a list of objects, it's probably indeed the best way to parse = respective request parameters manually, in a custom onBindAndValidate = implementation. Especially if you want to add and remove elements, I = can't think of a different way. We could try to bind to an existing list = of objects, but it's not too obvious how to go about this (via an index? = what if it's a Set, Collection, or Map), so we don't support this yet. = If you have an idea how to achieve this, please let me know :-) Regards, Juergen -----Original Message----- From: Rhandy Lado [mailto:rh...@do...] Sent: Monday, July 07, 2003 10:49 AM To: j=FCrgen h=F6ller [werk3AT] Subject: [Springframework] Request Binding Hi Jurgen, I've been using the FormController classes in a few webpages now and found that I sometimes need to work with more than one form object. How do I return more than two objects and bind each of them in the webpage? Should I put each object in a Map and then return the map? If so, how do you access the map using the <i21:bind> tags? Also, I have a list defined in my form object. Do the <i21:bind> tags support binding data to a list? If not, do you have any suggestions on how I may go about this? (I was initially thinking of passing back a series of request parameters and manually adding these values to the form object list but I have a feeling there is a more elegant way of doing this.) Thanks in advance, Rhandy |
|
From: <jue...@we...> - 2003-07-07 06:49:38
|
SGkgSmVhbi1GcmFuY29pcywNCiANCkZpcnN0IG9mIGFsbCwgdGhhbmtzIGZvciB5b3VyIGZlZWRi YWNrIDotKQ0KIA0KT3ZlcnJpZGluZyBvbkJpbmRBbmRWYWxpZGF0ZSBpcyB0aGUgcmlnaHQgYXBw cm9hY2guIEJ1dCBpbmRlZWQsIHRoZSBoYXJkIGNvZGluZyBvZiAiX3RhcmdldDEiIGluIG9uQmlu ZEF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AgICAgICAgICAgICAgIGZvciAoIGlu dCBpID0gMDsgaSA8IHBldEFycmF5Lmxlbmd0aDsgaSsrKSB7DQoJICAgICAgICAgICAgICAgICAg ICAgICAgUGV0IHBldCA9IChQZXQpIHBldEFycmF5W2ldOw0KCSAgICAgICAgICAgICAgICAgICAg ICAgIHBldC5zZXRPd25lcihvd25lcik7DQoJICAgICAgICAgICAgICAgICAgICAgICAgZ2V0Q2xp bmljKCkuaW5zZXJ0KHBldCk7ICAgICAgICAgICAgICAgICAgICAgICANCgkgICAgICAgICAgICAg ICAgfQ0KCQ0KCSAgICAgICAgICAgICAgICByZXR1cm4gbmV3IE1vZGVsQW5kVmlldygib3duZXJS ZWRpcmVjdCIsICJvd25lcklkIiwNCglJbnRlZ2VyLnRvU3RyaW5nKG93bmVyLmdldElkKCkpKTsg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCgkgICAgICAgICAgICAgICANCgkgICAgICAg IH0NCgkgICAgICAgDQoJICAgICAgICAvKiAobm9uLUphdmFkb2MpDQoJICAgICAgICAgKiBAc2Vl DQoJY29tLmludGVyZmFjZTIxLndlYi5zZXJ2bGV0Lm12Yy5BYnN0cmFjdFdpemFyZEZvcm1Db250 cm9sbGVyI3JlZmVyZW5jZURhdGEoamF2YXguc2VydmxldC5odHRwLkh0dHBTZXJ2bGV0UmVxdWVz dCwNCgkgamF2YS5sYW5nLk9iamVjdCwgY29tLmludGVyZmFjZTIxLnZhbGlkYXRpb24uRXJyb3Jz LCBpbnQpDQoJICAgICAgICAgKi8NCgkgICAgICAgIHByb3RlY3RlZCBNYXAgcmVmZXJlbmNlRGF0 YShIdHRwU2VydmxldFJlcXVlc3QgcmVxdWVzdCxPYmplY3QNCgljb21tYW5kLEVycm9ycyBlcnJv cnMsaW50IHBhZ2UpIHRocm93cyBTZXJ2bGV0RXhjZXB0aW9uIHsNCgkgICAgICAgICAgICAgICAg TWFwIG1vZGVsID0gbmV3IEhhc2hNYXAoKTsNCgkgICAgICAgICAgICAgICAgU3lzdGVtLm91dC5w cmludGxuKCJcblxuXG4rKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysr XG5cblxuIikNCgk7DQoJICAgICAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigiIEdFVFRJ TkcgVFlQRVMgIik7DQoJICAgICAgICAgICAgICAgIE1hcCB0eXBlcyA9IGNsaW5pYy5nZXRUeXBl cygpOw0KCSAgICAgICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oIlxuXG5cbisrKysrKysr KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKytcblxuXG4iKQ0KCTsNCgkgICAgICAg ICAgICAgICAgbW9kZWwucHV0KCJ0eXBlcyIsIHR5cGVzKTsNCgkNCgkgICAgICAgICAgICAgICAg cmV0dXJuIG1vZGVsOw0KCSAgICAgICAgfQ0KCQ0KCSAgICAgICAgLyogKG5vbi1KYXZhZG9jKQ0K CSAgICAgICAgICogQHNlZQ0KCWNvbS5pbnRlcmZhY2UyMS53ZWIuc2VydmxldC5tdmMuQWJzdHJh Y3RXaXphcmRGb3JtQ29udHJvbGxlciNwcm9jZXNzQ2FuY2VsKGphdmF4LnNlcnZsZXQuaHR0cC5I dHRwU2VydmxldFJlcXVlc3QsDQoJIGphdmF4LnNlcnZsZXQuaHR0cC5IdHRwU2VydmxldFJlc3Bv bnNlLCBqYXZhLmxhbmcuT2JqZWN0LA0KCWNvbS5pbnRlcmZhY2UyMS52YWxpZGF0aW9uLkJpbmRF eGNlcHRpb24pDQoJICAgICAgICAgKi8NCgkgICAgICAgIHByb3RlY3RlZCBNb2RlbEFuZFZpZXcg cHJvY2Vzc0NhbmNlbCgNCgkgICAgICAgICAgICAgICAgSHR0cFNlcnZsZXRSZXF1ZXN0IHJlcXVl c3QsDQoJICAgICAgICAgICAgICAgIEh0dHBTZXJ2bGV0UmVzcG9uc2UgcmVzcG9uc2UsDQoJICAg ICAgICAgICAgICAgIE9iamVjdCBjb21tYW5kLA0KCSAgICAgICAgICAgICAgICBCaW5kRXhjZXB0 aW9uIGVycm9ycykNCgkgICAgICAgICAgICAgICAgdGhyb3dzIFNlcnZsZXRFeGNlcHRpb24sIElP RXhjZXB0aW9uIHsgICAgICAgICAgICAgICAgIA0KCSAgICAgICAgICAgICAgICAvLyBUT0RPIEF1 dG8tZ2VuZXJhdGVkIG1ldGhvZCBzdHViDQoJICAgICAgICAgICAgICAgIGxvZ2dlci5kZWJ1Zygi V2l6YXJkIENhbmNlbGVkIik7DQoJICAgICAgICAgICAgICAgIHJldHVybiBudWxsOw0KCSAgICAg ICAgfQ0KCSAgICAgICANCgkgICAgICAgIC8qIChub24tSmF2YWRvYykNCgkgICAgICAgICAqIEBz ZWUNCgljb20uaW50ZXJmYWNlMjEud2ViLnNlcnZsZXQubXZjLkFic3RyYWN0V2l6YXJkRm9ybUNv bnRyb2xsZXIjb25CaW5kQW5kVmFsaWRhdGUoamF2YXguc2VydmxldC5odHRwLkh0dHBTZXJ2bGV0 UmVxdWVzdCwNCgkgamF2YS5sYW5nLk9iamVjdCwgY29tLmludGVyZmFjZTIxLnZhbGlkYXRpb24u QmluZEV4Y2VwdGlvbiwgaW50KQ0KCSAgICAgICAgICovDQoJICAgICAgICBwcm90ZWN0ZWQgdm9p ZCBvbkJpbmRBbmRWYWxpZGF0ZShIdHRwU2VydmxldFJlcXVlc3QgcmVxdWVzdCxPYmplY3QNCglj b21tYW5kLEJpbmRFeGNlcHRpb24gZXJyb3JzLGludCBwYWdlKSB0aHJvd3MgU2VydmxldEV4Y2Vw dGlvbiB7DQoJICAgICAgICAgICAgICAgIGxvZ2dlci5kZWJ1ZygiT24gQmluZCBhbmQgVmFsaWRh dGUgUGFnZToiICsgcGFnZSk7DQoJICAgICAgICAgICAgICAgIHN3aXRjaCAocGFnZSkgew0KCSAg ICAgICAgICAgICAgICAgICAgICAgIGNhc2UgMDoNCgkgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIGJyZWFrOw0KCSAgICAgICAgICAgICAgICAgICAgICAgIGNhc2UgMToNCgkgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIGlmICggcmVxdWVzdC5nZXRQYXJhbWV0ZXIoIl90YXJn ZXQxIikgIT0gbnVsbCApIHsNCgkgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgU3RyaW5nIHBldE5hbWUgPSByZXF1ZXN0LmdldFBhcmFtZXRlcigibmFtZSIpOw0KCSAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBTdHJpbmcgcGV0QmlydGhEYXRlID0g cmVxdWVzdC5nZXRQYXJhbWV0ZXIoImJpcnRoRGF0ZSIpOw0KCSAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBTdHJpbmcgdHlwZSA9IHJlcXVlc3QuZ2V0UGFyYW1ldGVyKCJ0 eXBlSWQiKTsNCgkgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCBw ZXROYW1lICE9IG51bGwgKSB7ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0KCSAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFBldCBwZXQgPSBuZXcg UGV0KCk7DQoJICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg cGV0LnNldE5hbWUocGV0TmFtZSk7DQoJICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgaW50IHllYXIgPSBJbnRlZ2VyLnBhcnNlSW50KHBldEJpcnRoRGF0ZS5z dWJzdHJpbmcoMCw0KSk7DQoJICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgaW50IG1vbnRoID0gSW50ZWdlci5wYXJzZUludChwZXRCaXJ0aERhdGUuc3Vic3Ry aW5nKDUsNykpOw0KCSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIGludCBkYXkgPSBJbnRlZ2VyLnBhcnNlSW50KHBldEJpcnRoRGF0ZS5zdWJzdHJpbmcoOCwx MCkpOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIA0KCSAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIHBldC5zZXRCaXJ0aERhdGUobmV3IERhdGUoeWVhciwgbW9udGgs IGRheSkpOw0KCSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg IHBldC5zZXRUeXBlSWQoSW50ZWdlci5wYXJzZUludCh0eXBlKSk7DQoJICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgT3duZXIgb3duZXIgPSAoT3duZXIpIGNv bW1hbmQ7ICAgICAgICAgICAgICAgICAgICAgICAgIA0KCSAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIG93bmVyLmFkZFBldChwZXQpOw0KCSAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9ICAgICAgICAgICAgICANCgkgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIH0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCgkg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrOw0KCSAgICAgICAgICAgICAgICAg ICAgICAgIGRlZmF1bHQ6DQoJICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhazsg ICAgICAgICANCgkgICAgICAgICAgICAgICAgfQ0KCSAgICAgICAgfQ0KCQ0KCQ0KCSAgICAgICAg LyoqDQoJICAgICAgICAgKiBAcmV0dXJuDQoJICAgICAgICAgKi8NCgkgICAgICAgIHB1YmxpYyBD bGluaWMgZ2V0Q2xpbmljKCkgew0KCSAgICAgICAgICAgICAgICByZXR1cm4gY2xpbmljOw0KCSAg ICAgICAgfQ0KCQ0KCSAgICAgICAgLyoqDQoJICAgICAgICAgKiBAcGFyYW0gY2xpbmljDQoJICAg ICAgICAgKi8NCgkgICAgICAgIHB1YmxpYyB2b2lkIHNldENsaW5pYyhDbGluaWMgY2xpbmljKSB7 DQoJICAgICAgICAgICAgICAgIHRoaXMuY2xpbmljID0gY2xpbmljOw0KCSAgICAgICAgfQ0KCQ0K CX0NCgkNCgkNCgktLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tDQoJVGhpcyBTRi5OZXQgZW1haWwgc3BvbnNvcmVkIGJ5OiBGcmVlIHByZS1idWls dCBBU1AuTkVUIHNpdGVzIGluY2x1ZGluZw0KCURhdGEgUmVwb3J0cywgRS1jb21tZXJjZSwgUG9y dGFscywgYW5kIEZvcnVtcyBhcmUgYXZhaWxhYmxlIG5vdy4NCglEb3dubG9hZCB0b2RheSBhbmQg ZW50ZXIgdG8gd2luIGFuIFhCT1ggb3IgVmlzdWFsIFN0dWRpbyAuTkVULg0KCWh0dHA6Ly9hc3Bu ZXQuY2xpY2stdXJsLmNvbS9nby9wc2EwMDEwMDAwNmF2ZS9kaXJlY3Q7YXQuYXNwXzA2MTIwM18w MS8wMQ0KCV9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQoJ U3ByaW5nZnJhbWV3b3JrLWRldmVsb3BlciBtYWlsaW5nIGxpc3QNCglTcHJpbmdmcmFtZXdvcmst ZGV2ZWxvcGVyQGxpc3RzLnNvdXJjZWZvcmdlLm5ldA0KCWh0dHBzOi8vbGlzdHMuc291cmNlZm9y Z2UubmV0L2xpc3RzL2xpc3RpbmZvL3NwcmluZ2ZyYW1ld29yay1kZXZlbG9wZXINCgkNCg0K |
|
From: Jean-Francois C. <cor...@ro...> - 2003-07-07 01:27:48
|
Hi,
I have been lurking on this list for a while. And I am currently
experimenting with Spring 0.9.
In a recent email, Juergen asked for feedback from people using Spring.
Here goes.
In my application, I wanted to have something like a Wizard when a user is
filling a form. I used the AbstractWizardFormController.
My form object contains a collection. Using the wizard, I would like that
one step allowed the user to add an arbitrary number of items to the
collection. So each time a user adds an item, the same step is displayed so
that he can continue adding. When he is finished he just presses the Next
or Finish Button.
I have modified the petclinic application to see how I could do this with
Spring. I modified the AddOwnerForm so that when a Owner is Added his pets
can also be added. What I did is add a second step where a Pet can be
created. On this steps there are the standard Prev, Cancel and Finish
Buttons. But there is also a Add button to add the pet to the owner. The
add button points to the current wizard step.
I modified the onBindAndValidate() method to check for the presence of the
_target1 attribute for page1. If it is there, it means that the user has
pressed the Add button. I create a pet and add it to the owner. It kinda
works, but is a bit klunky. I do not like the fact that I had to hard code
"_target1" to make this work.
Is there a better way to do this?
English is not my first language, so my explanation may not be clear. Just
ask and I will explain further.
Thanks
Jean-Francois Cormier
Here is the code to the AddOwnerAndPetForm
/*
* Created on 2-Jul-2003
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package petclinic.web;
import java.io.IOException;
import java.util.Date;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import petclinic.Clinic;
import petclinic.Owner;
import petclinic.Pet;
import com.interface21.validation.BindException;
import com.interface21.validation.Errors;
import com.interface21.web.servlet.ModelAndView;
import com.interface21.web.servlet.mvc.AbstractWizardFormController;
/**
* @author jxc170
*
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public class AddOwnerAndPetsForm extends AbstractWizardFormController {
private Clinic clinic;
public AddOwnerAndPetsForm() {
setCommandClass(Owner.class);
}
/* (non-Javadoc)
* @see
com.interface21.web.servlet.mvc.AbstractWizardFormController#validatePage(java.lang.Object,
com.interface21.validation.Errors, int)
*/
protected void validatePage(Object command, Errors errors, int page) {
// TODO Auto-generated method stub
logger.debug("Validate Page:" + page);
}
/* (non-Javadoc)
* @see
com.interface21.web.servlet.mvc.AbstractWizardFormController#processFinish(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.lang.Object,
com.interface21.validation.BindException)
*/
protected ModelAndView processFinish(HttpServletRequest
request,HttpServletResponse response,Object command,BindException errors)
throws ServletException, IOException {
Owner owner = (Owner) command;
getClinic().insert(owner);
List pets = owner.getPets();
Object[] petArray = pets.toArray();
for ( int i = 0; i < petArray.length; i++) {
Pet pet = (Pet) petArray[i];
pet.setOwner(owner);
getClinic().insert(pet);
}
return new ModelAndView("ownerRedirect", "ownerId",
Integer.toString(owner.getId()));
}
/* (non-Javadoc)
* @see
com.interface21.web.servlet.mvc.AbstractWizardFormController#referenceData(javax.servlet.http.HttpServletRequest,
java.lang.Object, com.interface21.validation.Errors, int)
*/
protected Map referenceData(HttpServletRequest request,Object
command,Errors errors,int page) throws ServletException {
Map model = new HashMap();
System.out.println("\n\n\n+++++++++++++++++++++++++++++++++++++++++++\n\n\n")
;
System.out.println(" GETTING TYPES ");
Map types = clinic.getTypes();
System.out.println("\n\n\n+++++++++++++++++++++++++++++++++++++++++++\n\n\n")
;
model.put("types", types);
return model;
}
/* (non-Javadoc)
* @see
com.interface21.web.servlet.mvc.AbstractWizardFormController#processCancel(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.lang.Object,
com.interface21.validation.BindException)
*/
protected ModelAndView processCancel(
HttpServletRequest request,
HttpServletResponse response,
Object command,
BindException errors)
throws ServletException, IOException {
// TODO Auto-generated method stub
logger.debug("Wizard Canceled");
return null;
}
/* (non-Javadoc)
* @see
com.interface21.web.servlet.mvc.AbstractWizardFormController#onBindAndValidate(javax.servlet.http.HttpServletRequest,
java.lang.Object, com.interface21.validation.BindException, int)
*/
protected void onBindAndValidate(HttpServletRequest request,Object
command,BindException errors,int page) throws ServletException {
logger.debug("On Bind and Validate Page:" + page);
switch (page) {
case 0:
break;
case 1:
if ( request.getParameter("_target1") != null ) {
String petName = request.getParameter("name");
String petBirthDate = request.getParameter("birthDate");
String type = request.getParameter("typeId");
if ( petName != null ) {
Pet pet = new Pet();
pet.setName(petName);
int year = Integer.parseInt(petBirthDate.substring(0,4));
int month = Integer.parseInt(petBirthDate.substring(5,7));
int day = Integer.parseInt(petBirthDate.substring(8,10));
pet.setBirthDate(new Date(year, month, day));
pet.setTypeId(Integer.parseInt(type));
Owner owner = (Owner) command;
owner.addPet(pet);
}
}
break;
default:
break;
}
}
/**
* @return
*/
public Clinic getClinic() {
return clinic;
}
/**
* @param clinic
*/
public void setClinic(Clinic clinic) {
this.clinic = clinic;
}
}
|
|
From: Luke T. <ne...@fr...> - 2003-07-06 21:57:15
|
JP Pawlak wrote: > Hi Luke, Rod and others, > > I just committed Countries and made available on my server. Now I > adjusted to be acceptable on both browsers. Normally Netscape has the > same core engine as Mozilla. > That seems to have done the trick - it looks fine now. Should keep the techie audience happy :). I've noticed that my machine at home gets about 70% of it's traffic (Code Red worm aside) from Mozilla users, so I think it's pretty important when your target audience is a bunch of Java hackers. Not so important in the "real world" of course. cheers, Luke. -- Luke Taylor. Monkey Machine Ltd. PGP Key ID: 0x57E9523C http://www.monkeymachine.ltd.uk |
|
From: <tri...@tr...> - 2003-07-06 20:51:38
|
Jean-Pierre, Great, looks good in Mozilla on Linux. I'll put the link on the website. Thomas > Hi Luke, Rod and others, > > I just committed Countries and made available on my server. Now I > adjusted to be acceptable on both browsers. Normally Netscape has the > same core engine as Mozilla. > > The main issue is an IE bug in width definition when they are margins or > padding. I have a workaround for before version 6, but IE6 passes the > workaround without correcting the bug. A DOCTYPE letting IE go to the > standard mode would, I suppose, be the solution. But for now, it's good, > the width is not the same but correct in both. > Let me read first the very good book I received a few days ago, > 'designing with web standards' from Jeffrey Zeldman. It seems likely be > to HTML design what Rod's is for J2EE. > > Hi Thomas, > > Ok, you know the address. I'm now aware on potential users coming on my > site. I let you make the link in the Spring server. > > Regards, > Jean-Pierre > > -----Message d'origine----- > De : spr...@li... > [mailto:spr...@li...] De la > part de tri...@tr... > Envoyé : dimanche 6 juillet 2003 18:53 > À : JP Pawlak > Cc : 'Rod Johnson'; spr...@li... > Objet : Re: RE : [Springframework-developer] Countries Demo finished > > Jean-Pierre, > > Your server seems to be more powerful than the one that is currently > hosting the > website. If we can keep the "Countries" demo on your server for now, I > think we > will be better off. > > For the rendering issues - I think that IE and Mozilla are most > important. > > Thomas > > > > Hi Rod, > > > > I use my server to quick demonstrations as it is very cool to have a > > server with full control. When the 0.9.1 will be released, I think > it's > > better to implement the demo directly in the Spring server as I hope > its > > installation is more powerful. I give you my technical situation > below. > > > > My installation: > > > > I have a "work & development purpose-PC" and a "server purpose PC", > both > > at home. So, I have complete control. They are in a tiny 100Mbits > > network. > > > > The server (P4-1.8Ghz-512Mo Ram-80Go Disk + 20Go database disk) is > > always running and is connected to the web via a 512K DSL connection. > I > > use DynDNS for simulating a fixed IP and have bought my own domain > name. > > It has nor screen nor keyboard as I use it only remotely. Currently it > > works under Windows-XP Pro. Thus, this implies I have only 128K > outgoing > > bandwidth and it rests a home installation nevertheless with a 15min. > > UPS. > > The database is only on the server. > > > > The work-PC (P4-2.4Ghz-1Go Ram) uses the web connection from it. It is > > running only when I need it. This implies that when, from time to > time, > > I download a file, the bandwidth could be heavily used for many > minutes. > > > > Regards, > > Jean-Pierre > > > > > > -----Message d'origine----- > > De : Rod Johnson [mailto:rod...@in...] > > Envoyé : dimanche 6 juillet 2003 10:25 > > À : JP Pawlak; spr...@li... > > Objet : Re: [Springframework-developer] Countries Demo finished > > > > Thanks JP. > > > > We must make sure we have a link from the Spring home page, as this > > shows a > > lot of cool stuff. > > > > JP, is your server likely to be stable if it gets more traffic? > > > > Regards, > > Rod > > > > ----- Original Message ----- > > From: "JP Pawlak" <jp....@ti...> > > To: <spr...@li...> > > Sent: Sunday, July 06, 2003 12:22 AM > > Subject: [Springframework-developer] Countries Demo finished > > > > > > Hi Everybody, > > > > The Countries Demo is now finished, as well in the repository as on my > > site : http://tech.jppawlak.info/spring/samples/countries > > > > As explained on the Demo, the CountriesDao has now both > implementations: > > in memory and database. > > > > Three configurations are proposed: > > > > 1) Simple in memory > > 2) Memory + database to copy from memory to the database > > 3) Simple database if the copy possibility provided in configuration 2 > > was used > > > > A custom interceptor is used (letting easily test the configuration by > > the views) to provide a copy function if the configuration 2 is > > detected. > > > > Localized views property files are used. With Excel and Pdf views, > > refreshable paged list, localization, localized themes and composed > > views, I believe the aim of demonstrating the advanced web features of > > the framework is reached. > > > > Juergen will certainly minor adaptation to make. I have only given the > > complete database configuration for JBoss/MySql. > > If anyone could add something for Tomcat, HSql, etc., it would be > > complete. > > > > Regards, > > Jean-Pierre > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > |
|
From: JP P. <jp....@ti...> - 2003-07-06 20:29:17
|
Hi Luke, Rod and others, I just committed Countries and made available on my server. Now I adjusted to be acceptable on both browsers. Normally Netscape has the same core engine as Mozilla. The main issue is an IE bug in width definition when they are margins or padding. I have a workaround for before version 6, but IE6 passes the workaround without correcting the bug. A DOCTYPE letting IE go to the standard mode would, I suppose, be the solution. But for now, it's good, the width is not the same but correct in both. Let me read first the very good book I received a few days ago, 'designing with web standards' from Jeffrey Zeldman. It seems likely be to HTML design what Rod's is for J2EE. Hi Thomas, Ok, you know the address. I'm now aware on potential users coming on my site. I let you make the link in the Spring server. Regards, Jean-Pierre=20 -----Message d'origine----- De=A0: spr...@li... [mailto:spr...@li...] De la part de tri...@tr... Envoy=E9=A0: dimanche 6 juillet 2003 18:53 =C0=A0: JP Pawlak Cc=A0: 'Rod Johnson'; spr...@li... Objet=A0: Re: RE : [Springframework-developer] Countries Demo finished Jean-Pierre, Your server seems to be more powerful than the one that is currently hosting the website. If we can keep the "Countries" demo on your server for now, I think we will be better off. For the rendering issues - I think that IE and Mozilla are most important. Thomas > Hi Rod, >=20 > I use my server to quick demonstrations as it is very cool to have a > server with full control. When the 0.9.1 will be released, I think it's > better to implement the demo directly in the Spring server as I hope its > installation is more powerful. I give you my technical situation below. >=20 > My installation: >=20 > I have a "work & development purpose-PC" and a "server purpose PC", both > at home. So, I have complete control. They are in a tiny 100Mbits > network. >=20 > The server (P4-1.8Ghz-512Mo Ram-80Go Disk + 20Go database disk) is > always running and is connected to the web via a 512K DSL connection. I > use DynDNS for simulating a fixed IP and have bought my own domain name. > It has nor screen nor keyboard as I use it only remotely. Currently it > works under Windows-XP Pro. Thus, this implies I have only 128K outgoing > bandwidth and it rests a home installation nevertheless with a 15min. > UPS.=20 > The database is only on the server. >=20 > The work-PC (P4-2.4Ghz-1Go Ram) uses the web connection from it. It is > running only when I need it. This implies that when, from time to time, > I download a file, the bandwidth could be heavily used for many minutes. >=20 > Regards, > Jean-Pierre=20 > =20 >=20 > -----Message d'origine----- > De : Rod Johnson [mailto:rod...@in...]=20 > Envoy=E9 : dimanche 6 juillet 2003 10:25 > =C0 : JP Pawlak; spr...@li... > Objet : Re: [Springframework-developer] Countries Demo finished >=20 > Thanks JP. >=20 > We must make sure we have a link from the Spring home page, as this > shows a > lot of cool stuff. >=20 > JP, is your server likely to be stable if it gets more traffic? >=20 > Regards, > Rod >=20 > ----- Original Message ----- > From: "JP Pawlak" <jp....@ti...> > To: <spr...@li...> > Sent: Sunday, July 06, 2003 12:22 AM > Subject: [Springframework-developer] Countries Demo finished >=20 >=20 > Hi Everybody, >=20 > The Countries Demo is now finished, as well in the repository as on my > site : http://tech.jppawlak.info/spring/samples/countries >=20 > As explained on the Demo, the CountriesDao has now both implementations: > in memory and database. >=20 > Three configurations are proposed: >=20 > 1) Simple in memory > 2) Memory + database to copy from memory to the database > 3) Simple database if the copy possibility provided in configuration 2 > was used >=20 > A custom interceptor is used (letting easily test the configuration by > the views) to provide a copy function if the configuration 2 is > detected. >=20 > Localized views property files are used. With Excel and Pdf views, > refreshable paged list, localization, localized themes and composed > views, I believe the aim of demonstrating the advanced web features of > the framework is reached. >=20 > Juergen will certainly minor adaptation to make. I have only given the > complete database configuration for JBoss/MySql. > If anyone could add something for Tomcat, HSql, etc., it would be > complete. >=20 > Regards, > Jean-Pierre >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Rod J. <rod...@in...> - 2003-07-06 20:18:29
|
It's Sunday night and I'm done with Spring for the weekend. Not a bad weekend--added quite a few tests and made good progress on simpler AOP option driven by metadata. (Haven't checked that in yet.) Test coverage is now 71.7%. I'm pretty pleased with this, so I'll stop breaking things for now :-) Regards, Rod |
|
From: <tri...@tr...> - 2003-07-06 16:53:07
|
Jean-Pierre, Your server seems to be more powerful than the one that is currently hosting the website. If we can keep the "Countries" demo on your server for now, I think we will be better off. For the rendering issues - I think that IE and Mozilla are most important. Thomas > Hi Rod, > > I use my server to quick demonstrations as it is very cool to have a > server with full control. When the 0.9.1 will be released, I think it's > better to implement the demo directly in the Spring server as I hope its > installation is more powerful. I give you my technical situation below. > > My installation: > > I have a "work & development purpose-PC" and a "server purpose PC", both > at home. So, I have complete control. They are in a tiny 100Mbits > network. > > The server (P4-1.8Ghz-512Mo Ram-80Go Disk + 20Go database disk) is > always running and is connected to the web via a 512K DSL connection. I > use DynDNS for simulating a fixed IP and have bought my own domain name. > It has nor screen nor keyboard as I use it only remotely. Currently it > works under Windows-XP Pro. Thus, this implies I have only 128K outgoing > bandwidth and it rests a home installation nevertheless with a 15min. > UPS. > The database is only on the server. > > The work-PC (P4-2.4Ghz-1Go Ram) uses the web connection from it. It is > running only when I need it. This implies that when, from time to time, > I download a file, the bandwidth could be heavily used for many minutes. > > Regards, > Jean-Pierre > > > -----Message d'origine----- > De : Rod Johnson [mailto:rod...@in...] > Envoyé : dimanche 6 juillet 2003 10:25 > À : JP Pawlak; spr...@li... > Objet : Re: [Springframework-developer] Countries Demo finished > > Thanks JP. > > We must make sure we have a link from the Spring home page, as this > shows a > lot of cool stuff. > > JP, is your server likely to be stable if it gets more traffic? > > Regards, > Rod > > ----- Original Message ----- > From: "JP Pawlak" <jp....@ti...> > To: <spr...@li...> > Sent: Sunday, July 06, 2003 12:22 AM > Subject: [Springframework-developer] Countries Demo finished > > > Hi Everybody, > > The Countries Demo is now finished, as well in the repository as on my > site : http://tech.jppawlak.info/spring/samples/countries > > As explained on the Demo, the CountriesDao has now both implementations: > in memory and database. > > Three configurations are proposed: > > 1) Simple in memory > 2) Memory + database to copy from memory to the database > 3) Simple database if the copy possibility provided in configuration 2 > was used > > A custom interceptor is used (letting easily test the configuration by > the views) to provide a copy function if the configuration 2 is > detected. > > Localized views property files are used. With Excel and Pdf views, > refreshable paged list, localization, localized themes and composed > views, I believe the aim of demonstrating the advanced web features of > the framework is reached. > > Juergen will certainly minor adaptation to make. I have only given the > complete database configuration for JBoss/MySql. > If anyone could add something for Tomcat, HSql, etc., it would be > complete. > > Regards, > Jean-Pierre > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: JP P. <jp....@ti...> - 2003-07-06 16:19:43
|
Hi all, Having tested on Mozilla, it's pretty good . . . when having worked with CSS. I believed it was more damaged. =20 But effectively, the few CSS issues are very visible. The normal font-height is a little small (I will set it in pixels instead predefined word). The "news" box goes out of the windows as well as the status box in main page. In blue theme, the navigation help text goes over the content. The rest are minor things that can perfectly rest. So, it will not be a hassle to adapt the styles for working on both IE and Mozilla. I have not yet tested on Netscape7 and Opera (Netscape 4 being for fools only). Regards, Jean-Pierre -----Message d'origine----- De=A0: Rod Johnson [mailto:rod...@in...]=20 Envoy=E9=A0: dimanche 6 juillet 2003 17:41 =C0=A0: JP Pawlak; 'Luke Taylor'; spr...@li... Objet=A0: Re: [Springframework-developer] Countries Demo finished JP, Maybe we should add a note that says it looks a bit weird in Mozilla, if it's not possible to fix it easily. I know that making anything non-trivial work cross browsers can be a pain! Perhaps the note could recommend that Mozilla users use the plain theme? We could auto-default based on the user agent (perhaps with one of Juergen's new interceptors), but I guess that's getting a bit fancy. Regards, Rod ----- Original Message ----- From: "JP Pawlak" <jp....@ti...> To: "'Luke Taylor'" <ne...@fr...>; <spr...@li...> Sent: Sunday, July 06, 2003 4:37 PM Subject: RE : [Springframework-developer] Countries Demo finished Hi Luke, Exposing an application is always a good thing to have feedback. So, thanks for yours. Ok, this area can be polished. These are only two small files responsible for the look: the two CSS files. We have here the common "browser forest" problem. We tend to have a developers audience in which more people have several browsers and more Linux platforms unlike the global population which uses IE(all versions) for 95% (different sources including Gartner). The actual Demo is very good on IE 6 and will decrease in rendering with older versions. It's a very frustrating situation as it's not possible to have different versions of IE on the same OS. Adapting the css files will take a not negligible time (and is not the primarily job nor interest of a developer), but I will try to better rendering in the few most popular beside IE. I think at Netscape, Mozilla and Opera. If someone has better touch in graphics area and 'css' defining skills, it will be welcome! Regards, Jean-Pierre -----Message d'origine----- De : Luke Taylor [mailto:ne...@fr...] Envoy=E9 : dimanche 6 juillet 2003 15:13 =C0 : JP Pawlak Objet : Re: [Springframework-developer] Countries Demo finished JP Pawlak wrote: > Hi Everybody, > > The Countries Demo is now finished, as well in the repository as on my > site : http://tech.jppawlak.info/spring/samples/countries > The layout is a bit weird with Mozilla 1.4 - things aren't aligning properly - anyone else noticed this? Luke. -- Luke Taylor. Monkey Machine Ltd. PGP Key ID: 0x57E9523C http://www.monkeymachine.ltd.uk ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Rod J. <rod...@in...> - 2003-07-06 15:44:51
|
JP, Maybe we should add a note that says it looks a bit weird in Mozilla, if it's not possible to fix it easily. I know that making anything non-trivial work cross browsers can be a pain! Perhaps the note could recommend that Mozilla users use the plain theme? We could auto-default based on the user agent (perhaps with one of Juergen's new interceptors), but I guess that's getting a bit fancy. Regards, Rod ----- Original Message ----- From: "JP Pawlak" <jp....@ti...> To: "'Luke Taylor'" <ne...@fr...>; <spr...@li...> Sent: Sunday, July 06, 2003 4:37 PM Subject: RE : [Springframework-developer] Countries Demo finished Hi Luke, Exposing an application is always a good thing to have feedback. So, thanks for yours. Ok, this area can be polished. These are only two small files responsible for the look: the two CSS files. We have here the common "browser forest" problem. We tend to have a developers audience in which more people have several browsers and more Linux platforms unlike the global population which uses IE(all versions) for 95% (different sources including Gartner). The actual Demo is very good on IE 6 and will decrease in rendering with older versions. It's a very frustrating situation as it's not possible to have different versions of IE on the same OS. Adapting the css files will take a not negligible time (and is not the primarily job nor interest of a developer), but I will try to better rendering in the few most popular beside IE. I think at Netscape, Mozilla and Opera. If someone has better touch in graphics area and 'css' defining skills, it will be welcome! Regards, Jean-Pierre -----Message d'origine----- De : Luke Taylor [mailto:ne...@fr...] Envoyé : dimanche 6 juillet 2003 15:13 À : JP Pawlak Objet : Re: [Springframework-developer] Countries Demo finished JP Pawlak wrote: > Hi Everybody, > > The Countries Demo is now finished, as well in the repository as on my > site : http://tech.jppawlak.info/spring/samples/countries > The layout is a bit weird with Mozilla 1.4 - things aren't aligning properly - anyone else noticed this? Luke. -- Luke Taylor. Monkey Machine Ltd. PGP Key ID: 0x57E9523C http://www.monkeymachine.ltd.uk ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: JP P. <jp....@ti...> - 2003-07-06 15:37:41
|
Hi Luke, Exposing an application is always a good thing to have feedback. So, thanks for yours. Ok, this area can be polished. These are only two small files responsible for the look: the two CSS files. We have here the common "browser forest" problem. We tend to have a developers audience in which more people have several browsers and more Linux platforms unlike the global population which uses IE(all versions) for 95% (different sources including Gartner). The actual Demo is very good on IE 6 and will decrease in rendering with older versions. It's a very frustrating situation as it's not possible to have different versions of IE on the same OS. Adapting the css files will take a not negligible time (and is not the primarily job nor interest of a developer), but I will try to better rendering in the few most popular beside IE. I think at Netscape, Mozilla and Opera. If someone has better touch in graphics area and 'css' defining skills, it will be welcome! Regards, Jean-Pierre -----Message d'origine----- De=A0: Luke Taylor [mailto:ne...@fr...]=20 Envoy=E9=A0: dimanche 6 juillet 2003 15:13 =C0=A0: JP Pawlak Objet=A0: Re: [Springframework-developer] Countries Demo finished JP Pawlak wrote: > Hi Everybody, >=20 > The Countries Demo is now finished, as well in the repository as on my > site : http://tech.jppawlak.info/spring/samples/countries =20 >=20 The layout is a bit weird with Mozilla 1.4 - things aren't aligning=20 properly - anyone else noticed this? Luke. --=20 Luke Taylor. Monkey Machine Ltd. PGP Key ID: 0x57E9523C http://www.monkeymachine.ltd.uk |
|
From: Rod J. <rod...@in...> - 2003-07-06 12:38:38
|
> Another thought: Our "mock" JNDI isn't really about mocks, it's the simplest JNDI SPI implementation that could possibly work (basically a name/object map within the local VM). One could even build a J2EE web container's JNDI environment on this (being not too serious though). It's similar to our JDBC DataSources: They aren't really mocks - rather simple but working implementations. That's why they aren't called "mock" anymore and reside in "jdbc.datasource" now. Consequently, we could turn the "mock" JNDI implementation into "simple JNDI": "SimpleInitialContextFactoryBuilder" and "SimpleContext", residing in "jndi.support". On second thought, I actually prefer such a solution! OK, I hadn't thought about the valid usage scenarios you propose. I would feel much happier if they were renamed Simple instead of Mock. Regarding test coverage, clover.excludes would be fine. I think having a "Mock" package in the source Sorry for the premature move, but if you want to move them back and rename them that's fine with me. I'll leave you to do this as you're using them and may have better thoughts on comments etc. Regards, Rod |
|
From: <jue...@we...> - 2003-07-06 12:04:44
|
SmVhbi1QaWVycmUsIGV2ZXJ5Ym9keSwNCiANCkkndmUgYWN0dWFsbHkgcHJlcGFyZWQgYW4gYW5u b3VuY2VtZW50IGZvciAwLjkgYW5kIHNlbnQgaXQgdG8gRmxveWQgVGh1cnNkYXkgZXZlbmluZy4g SXQgaGFzbid0IGJlZW4gcHVibGlzaGVkIHlldCwgdGhvdWdoLiBJJ20ga2VlbiBvbiBnZXR0aW5n IG91dCAwLjkuMSBwcm9tcHRseSwgZXZlbiBhbHJlYWR5IGVhcmx5IG5leHQgd2VlayB0byBhY2Nv bXBhbnkgdGhlIFRTUyBhbm5vdW5jZW1lbnQuIFdoZXRoZXIgdGhlIGFubm91bmNlbWVudCBzYXlz IDAuOSBvciAwLjkuMSBpc24ndCB0aGF0IGltcG9ydGFudCwgSU1PIC0gc3VjaCBwb2ludCByZWxl YXNlcyBhcmVuJ3QgY29uc2lkZXJlZCBtYWpvciBhbnl3YXkuIFdoYXQgd2UgYW5ub3VuY2UgaXMg dGhlIHB1YmxpYyBhdmFpbGFibGl0eSBvZiBhIDAuOS54IHRyZWUsIG5vIG1hdHRlciB3aGljaCBw b2ludCByZWxlYXNlIGlzIHRoZSBtb3N0IGN1cnJlbnQgb25lLg0KIA0KVGhlIG5leHQgYW5ub3Vu Y2VtZW50IHN0ZXAgd2lsbCBiZSBvdXIgZmlyc3QgMS4wIFJDLCBwcm9iYWJseSBlbmQgb2YgSnVs eSBvciBlYXJse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dubG9hZCB0b2RheSBh bmQgZW50ZXIgdG8gd2luIGFuIFhCT1ggb3IgVmlzdWFsIFN0dWRpbyAuTkVULg0KCWh0dHA6Ly9h c3BuZXQuY2xpY2stdXJsLmNvbS9nby9wc2EwMDEwMDAwNmF2ZS9kaXJlY3Q7YXQuYXNwXzA2MTIw M18wMS8wMQ0KCV9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f DQoJU3ByaW5nZnJhbWV3b3JrLWRldmVsb3BlciBtYWlsaW5nIGxpc3QNCglTcHJpbmdmcmFtZXdv cmstZGV2ZWxvcGVyQGxpc3RzLnNvdXJjZWZvcmdlLm5ldA0KCWh0dHBzOi8vbGlzdHMuc291cmNl Zm9yZ2UubmV0L2xpc3RzL2xpc3RpbmZvL3NwcmluZ2ZyYW1ld29yay1kZXZlbG9wZXINCgkNCg0K |
|
From: Rod J. <rod...@in...> - 2003-07-06 11:52:06
|
Juergen, Did you post? Regards Rod ----- Original Message ----- From: "JP Pawlak" <jp....@ti...> To: <spr...@li...> Sent: Sunday, July 06, 2003 12:33 PM Subject: [Springframework-developer] TheServerSide > Hi everyone, > > Knows anyone if we could have a thread in the news of TheServerSide > announcing the availability of the framework? It is possible or > preferable to have one only for the release availability or even for the > 0.9.1 as the 0.9 was not announced? > > Regards, > Jean-Pierre > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: <jue...@we...> - 2003-07-06 11:51:13
|
SGkgUm9kLA0KIA0KSSBrbmV3IHRoYXQgZGF5IHdvdWxkIGNvbWUgOy0pIFNlcmlvdXNseSwgSSBh Z3JlZSB0aGF0IHdlIHNob3VsZCBjbGVhbiB0aGU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dWFsIFN0dWRpbyAuTkVULg0KCWh0dHA6Ly9hc3BuZXQuY2xpY2stdXJsLmNvbS9nby9wc2EwMDEw MDAwNmF2ZS9kaXJlY3Q7YXQuYXNwXzA2MTIwM18wMS8wMQ0KCV9fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fDQoJU3ByaW5nZnJhbWV3b3JrLWRldmVsb3BlciBt YWlsaW5nIGxpc3QNCglTcHJpbmdmcmFtZXdvcmstZGV2ZWxvcGVyQGxpc3RzLnNvdXJjZWZvcmdl Lm5ldA0KCWh0dHBzOi8vbGlzdHMuc291cmNlZm9yZ2UubmV0L2xpc3RzL2xpc3RpbmZvL3Nwcmlu Z2ZyYW1ld29yay1kZXZlbG9wZXINCgkNCg0K |
|
From: JP P. <jp....@ti...> - 2003-07-06 11:33:31
|
Hi everyone, Knows anyone if we could have a thread in the news of TheServerSide announcing the availability of the framework? It is possible or preferable to have one only for the release availability or even for the 0.9.1 as the 0.9 was not announced? Regards, Jean-Pierre |
|
From: JP P. <jp....@ti...> - 2003-07-06 09:50:30
|
Hi Rod, I use my server to quick demonstrations as it is very cool to have a server with full control. When the 0.9.1 will be released, I think it's better to implement the demo directly in the Spring server as I hope its installation is more powerful. I give you my technical situation below. My installation: I have a "work & development purpose-PC" and a "server purpose PC", both at home. So, I have complete control. They are in a tiny 100Mbits network. The server (P4-1.8Ghz-512Mo Ram-80Go Disk + 20Go database disk) is always running and is connected to the web via a 512K DSL connection. I use DynDNS for simulating a fixed IP and have bought my own domain name. It has nor screen nor keyboard as I use it only remotely. Currently it works under Windows-XP Pro. Thus, this implies I have only 128K outgoing bandwidth and it rests a home installation nevertheless with a 15min. UPS.=20 The database is only on the server. The work-PC (P4-2.4Ghz-1Go Ram) uses the web connection from it. It is running only when I need it. This implies that when, from time to time, I download a file, the bandwidth could be heavily used for many minutes. Regards, Jean-Pierre=20 =20 -----Message d'origine----- De=A0: Rod Johnson [mailto:rod...@in...]=20 Envoy=E9=A0: dimanche 6 juillet 2003 10:25 =C0=A0: JP Pawlak; spr...@li... Objet=A0: Re: [Springframework-developer] Countries Demo finished Thanks JP. We must make sure we have a link from the Spring home page, as this shows a lot of cool stuff. JP, is your server likely to be stable if it gets more traffic? Regards, Rod ----- Original Message ----- From: "JP Pawlak" <jp....@ti...> To: <spr...@li...> Sent: Sunday, July 06, 2003 12:22 AM Subject: [Springframework-developer] Countries Demo finished Hi Everybody, The Countries Demo is now finished, as well in the repository as on my site : http://tech.jppawlak.info/spring/samples/countries As explained on the Demo, the CountriesDao has now both implementations: in memory and database. Three configurations are proposed: 1) Simple in memory 2) Memory + database to copy from memory to the database 3) Simple database if the copy possibility provided in configuration 2 was used A custom interceptor is used (letting easily test the configuration by the views) to provide a copy function if the configuration 2 is detected. Localized views property files are used. With Excel and Pdf views, refreshable paged list, localization, localized themes and composed views, I believe the aim of demonstrating the advanced web features of the framework is reached. Juergen will certainly minor adaptation to make. I have only given the complete database configuration for JBoss/MySql. If anyone could add something for Tomcat, HSql, etc., it would be complete. Regards, Jean-Pierre ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Rod J. <rod...@in...> - 2003-07-06 08:57:36
|
Hi Guys, With the additional test cases I've added, some dead code I've removed, and moving immature/untested code to the new sandbox, our test coverage is now 70.4% and rising. AFAIK this compares pretty well with most open source and commercial projects. When we go 1.0 we should encourage Clover to display our coverage results on their web site. However, I don't think even 70% is high enough... It would be great if we can hit at least 75% for 1.0! Regards, Rod |
|
From: Rod J. <rod...@in...> - 2003-07-06 08:30:38
|
I've created a directory called "sandbox" parallel to /src and /test. (I think I mentioned the idea of calling this "play" yesterday.) This contains stuff from the src tree that doesn't deserve to be scrapped, but which we don't want to release right now. I'm keen that what we _do_ release is focused, documented, tested and likely to be used in the near future. If it's likely to be used only at some unspecified point, we'd be better to wait for user feedback rather than guess now. Examples appropriate for the sandbox include the Visitor classes from com.interface21.core. This is also a good area for getting code up to release standard if it's not certain to go into src right away: e.g. I might put the JMS stuff back here at some point. I think sandbox test cases should probably go in the same directory for now. I don't see much value in automated testing of this. Regards, Rod |