Re: [appfuse-user] UserAction.save cannot see User.getVersion()

2008-03-02 Thread Richard M
BTW, I extracted the Appfuse core model classes (using the tutorial) and just modified them, did not change the package names. -- View this message in context: http://www.nabble.com/UserAction.save-cannot-see-User.getVersion%28%29-tp15797151s2369p15797234.html Sent from the AppFuse - User mailin

[appfuse-user] UserAction.save cannot see User.getVersion()

2008-03-02 Thread [EMAIL PROTECTED]
I refactored Appfuse Struts basic so I have a the following BaseObject (contains equals, hashcode and toString) BaseEntity (contains id, version, status(i.e. active/inactive/etc) and AuditInfo fields) inherits from BaseObject My embedded objects just inherit from BaseObject. My entity objects

[appfuse-user] Re: dbunit database initialization

2008-03-02 Thread Derek Broughton
Rob Hills wrote: > Hi Derek, > > On 2 Mar 2008 at 17:13, Derek Broughton wrote: > >> Clearly I'm misunderstanding something in the way this works. >> >> Having received the error: >> Error casting value for table 'glaccount' and column 'gltype_id' >> no matter what I put in src/test/resources/

Re: [appfuse-user] dbunit database initialization

2008-03-02 Thread Rob Hills
Hi Derek, On 2 Mar 2008 at 17:13, Derek Broughton wrote: > Clearly I'm misunderstanding something in the way this works. > > Having received the error: > Error casting value for table 'glaccount' and column 'gltype_id' > no matter what I put in src/test/resources/sample-data.xml for the gltype_

[appfuse-user] dbunit database initialization

2008-03-02 Thread Derek Broughton
Clearly I'm misunderstanding something in the way this works. Having received the error: Error casting value for table 'glaccount' and column 'gltype_id' no matter what I put in src/test/resources/sample-data.xml for the gltype_id column (it's defined in postgres as "bigint" and the numbers it's

Re: [appfuse-user] Update eclipse classpath

2008-03-02 Thread Michael Horwitz
On 02/03/2008, Aled Rhys Jones <[EMAIL PROTECTED]> wrote: > > Hi all > > > > When I update to a newer version of appfuse, e.g. from 2.0 to 2.0.1, > what's the best way of updating my classpath for eclipse so it references > the new jars? I've updated the pom.xml as required. > Easiest way is to

[appfuse-user] Update eclipse classpath

2008-03-02 Thread Aled Rhys Jones
Hi all When I update to a newer version of appfuse, e.g. from 2.0 to 2.0.1, what's the best way of updating my classpath for eclipse so it references the new jars? I've updated the pom.xml as required. Cheers Aled

[appfuse-user] UnsatisfiedDependencyException

2008-03-02 Thread Aled Rhys Jones
Hi All I've finally managed to resolve some problems integrating nutch into my application, but now all my DAO tests fail. I don't think its related, but not sure. I had a look at the mailing list and noticed some similar problems, but I'm not sure if this issue has definitely been resolve

Re: [appfuse-user] DisplayTag question....any reply?

2008-03-02 Thread Michael Horwitz
On 02/03/2008, Carlos Ortiz <[EMAIL PROTECTED]> wrote: > > Thank you very much Peter for pointing me this out. But I also have a > question besides what you have taught me. How do I refer to the record > being rendered in the input type=checkbox, > > I mean, I give the list to the display tag, an

[appfuse-user] Bug in appfuse fullsource (Struts2)

2008-03-02 Thread Arnljot Arntsen
Hi, I've been trying to use Struts2 version of appfuse modular in full-source mode, but it doesn't seem like it'll will work. This is what I do: 1. mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes-DarchetypeArtifactId=appfuse-modular-struts -DremoteRepositories= http://stati

Re: [appfuse-user] hibernate transaction question ?

2008-03-02 Thread sudheerp
Hello, Can somebody show me some piece of code to show how to make both the updations take place under same transaction? internalEvaluationManager.saveInternalEvaluation(internalEvaluation); String manuscriptId = (String)FacesContext.getCurrentInstance().getExternalContext().getSessionMap