Re: JPA in mailreader

2007-11-15 Thread Ted Husted
I'm starting to make some progress on this again. I having great fun re-discovering how some of the S2 features work together. For example, custom type converters and persistence URL parameters are a great tag team. Given a converter for user, and a parameter like ?user=husted, S2 can

Re: JPA in mailreader

2007-11-15 Thread Tom Schneider
Are you worried about optimistic locking at all? (I'm guessing not for this simple example) Although I think your technique is clever, in a situation where optimistic locking is used, you should really be editing the object that was originally read from the database. Might I suggest the scope

Re: JPA in mailreader

2007-11-15 Thread Ted Husted
I'd be good with introducing optimistic locking, if we can do without complicating the design. It would be fun to have a standard example of doing something fancy like displaying both entries and letting the cilent choose one. The MailReader has always been a useful example, but it has always

Re: struts site down?

2007-11-15 Thread Antonio Petrelli
FYI This link monitors Apache machine status: http://monitoring.apache.org/status/ Antonio 2007/11/15, Niall Pemberton [EMAIL PROTECTED]: Back now. Niall On Nov 15, 2007 7:40 PM, Niall Pemberton [EMAIL PROTECTED] wrote: On Nov 15, 2007 7:35 PM, Dave Newton [EMAIL PROTECTED] wrote: I

Re: struts site down?

2007-11-15 Thread Niall Pemberton
Back now. Niall On Nov 15, 2007 7:40 PM, Niall Pemberton [EMAIL PROTECTED] wrote: On Nov 15, 2007 7:35 PM, Dave Newton [EMAIL PROTECTED] wrote: I can't get to struts.apache.org (I can get to apache.org); is anybody else seeing this? Looks like its not just struts commons.apache.org,

struts site down?

2007-11-15 Thread Dave Newton
I can't get to struts.apache.org (I can get to apache.org); is anybody else seeing this? Thanks, Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts site down?

2007-11-15 Thread Niall Pemberton
On Nov 15, 2007 7:35 PM, Dave Newton [EMAIL PROTECTED] wrote: I can't get to struts.apache.org (I can get to apache.org); is anybody else seeing this? Looks like its not just struts commons.apache.org, tiles.apache.org and shale.apache.org are all not responding as well Niall Thanks, Dave

[S2] Failing tests in portlet webapp

2007-11-15 Thread Antonio Petrelli
Hi all It seems that a commit of mine (that fixed velocity dependencies) triggered a failing test case in some way: http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-263 I really don't know how it is possible. Can anyone who knows the portlet sample webapp take a look at it? Thanks

s:subset.../ and s:sort.../ tag source attr v. value attr.

2007-11-15 Thread Dave Newton
Does anybody care if I add a value attribute to the s:subset... and s:sort... tags and deprecate the source attribute, to bring these two tags into better alignment w/ the rest of the data-handling tags? Thanks, Dave - To

Re: [S2] Failing tests in portlet webapp

2007-11-15 Thread Nils-Helge Garli Hegvik
The real error causing the tests to fail is this: 2007-11-15 14:30:05.515::WARN: failed plutoPortalDriver 15-Nov-2007 14:30:05java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/​lang/​String; 15-Nov-2007 14:30:05at

Re: [S2] Failing tests in portlet webapp

2007-11-15 Thread Nils-Helge Garli Hegvik
Seems like velocity-tools-1.3 has an indirect or direct dependency to a conflicting version of the servlet-api. I have added a dependency exclude for velocity-tools. The tests pass on my computer now. Nils-H On 11/15/07, Nils-Helge Garli Hegvik [EMAIL PROTECTED] wrote: The real error causing

Re: [S2] Failing tests in portlet webapp

2007-11-15 Thread Nils-Helge Garli Hegvik
BTW: Are the builds (Main and Java 6) running in parallell? It could explain some of the problems I'm having with some socket bind failures... Nils-H On 11/16/07, Nils-Helge Garli Hegvik [EMAIL PROTECTED] wrote: Seems like velocity-tools-1.3 has an indirect or direct dependency to a