[appfuse-user] Quick Question About Spring & Hibernate

2008-05-10 Thread Doug Pham
You may have ran across this along the way. Each time I used the DAO to make a call, the session seems to get closed. If I used the OpenViewFilter, the session is open, but it's in a READ-ONLY mode. I know I am not posting any code here, but has anyone ran across this and have a correct way o

Re: [appfuse-user] Quick Question About Spring & Hibernate

2008-05-10 Thread Michael Courcy
Open session in view is meant to be read-only. When the call to the manager return (inside the controller) the transaction is commited and the transactionManager change its flushMode temporaly to reset it just after to never (Aka read only), thus when the control is passed to rendering th

Re: [appfuse-user] AspectJ 1.6 issues, when is appfuse 2.02 coming out?

2008-05-10 Thread mschipperheyn
Darn, tried that. And..no spring archetype snapshot. Hmm, perhaps we should try to agree on a release date for 2.0.2. How about tomorrow? Cheers, Marc dusty wrote: > > svn update > mvn install > if you were any kind of man at all.. > -D > > > > - Original Message > From: m

Re: [appfuse-user] Quick Question About Spring & Hibernate

2008-05-10 Thread Doug Pham
Michael, If I commented out the filter, after getting the object, the session is closed and the next line of code in the action causes a lazyInstantiation error. I just can't believe it closed after one usage even within the same action which is still using the same manager. Cheers, Doug

Re: [appfuse-user] AspectJ 1.6 issues, when is appfuse 2.02 coming out?

2008-05-10 Thread Michael Horwitz
Seems to be there? http://static.appfuse.org/repository/org/appfuse/archetypes/appfuse-basic-spring/2.0.2-SNAPSHOT/ * *Mike* * 2008/5/10 mschipperheyn <[EMAIL PROTECTED]>: > > Darn, tried that. And..no spring archetype snapshot. Hmm, perhaps we > should try to agree on a release date for 2.0.

[appfuse-user] DisplayTag, Struts2, OGNL & You

2008-05-10 Thread Dustin Pearce
So, we have discussed this topic in the past, but I wanted to bring it up again because I am still not sure why. When I use Appfuse 2.x and Struts2, I can just name my displayTag table to a getter on my Action and somehow that collection (on the OGNL value stack) finds its way to displa

Re: [appfuse-user] DisplayTag, Struts2, OGNL & Yo

2008-05-10 Thread Matt Raible
This might be related to the following: http://struts.apache.org/2.x/docs/s2-001.html In other words, I believe they stopped processing JSP EL expressions ${} in Struts tags. Matt On Sat, May 10, 2008 at 8:05 PM, Dustin Pearce <[EMAIL PROTECTED]> wrote: > So, we have discussed this topic in the

[appfuse-user] java.lang.ClassCastException: org.codehaus.xfire.aegis.type.basic.CalendarType error accessing UserService.wsdl

2008-05-10 Thread narups
Hello All, I am trying to access the existing UserService in appfuse web application. but i get the class cast exception. does anyone had this issue. But when i run the sample service tutorial from appfuse i had no problem. java.lang.ClassCastException: org.codehaus.xfire.aegis.type.basic.Calen

Re: [appfuse-user] DisplayTag, Struts2, OGNL & Yo

2008-05-10 Thread Dustin Pearce
Yeah, I read that, but in the scenario with Appfuse there are no struts tags. The is not necessary to make displayTag see the collection in the current version of Appfuse/Struts and I can't figure out how. DisplayTag is going to look in the request scope for the variable "list" for going