Re: [appfuse-user] Error during integration-test using Oracle Database

2007-08-28 Thread Matt Raible
It's probably related to the following issue: http://issues.appfuse.org/browse/APF-689 Suggested workaround: Set your hibernate_sequence to a high enough value so that future insertions do not produce unique key constraint violations. For instance, if your highest key value in any of your tables

[appfuse-user] Error during integration-test using Oracle Database

2007-08-28 Thread fadhli
Hello, I'm using Appfuse 2m5 Spring MVC Basic. I done testing on MySQL and everything went ok. But when I switched to Oracle, an error happened. The following is the error stack trace. Any ideas anyone? Matt? Running com.dnt.dao.UserDaoTest WARN - LoadContexts.cleanup(108) | fail-safe cleanup (c

Re: [appfuse-user] Upgrading to hibernate annotation to version 3.3.0.ga

2007-08-28 Thread mraible
FWIW - I've upgraded to hibernate-annotations 3.3.0.ga in SVN. http://issues.appfuse.org/browse/APF-853 Matt fadhlirahim wrote: > > Sorry for replying so late Matt.I had a problem with composite id using > annotations and I read from the hibernate forum to upgrade to the latest > hibernate li

Re: [appfuse-user] JAXB

2007-08-28 Thread Rafael Nami
Dude, if you plan to use xml<--> bean transformation, I recommend XStream. But if you really wanna stay with the RI, use JAXB 2, because this way you can produce the infamous xsd from your beans. But it depends on the case, if you already have the xsd file, you can simply run the command line tool

Re: [appfuse-user] Fwd: Login page in Appfuse

2007-08-28 Thread tiya tiya
Hi Matt, I am planning to user Josso or openSSO with my application developed using appfuse.But I am not sure about josso..I tried to integrate my web application with Josso..Somehow it's not working with Josso..It's going to Josso login page and but it's not redirecting to my partner ap

[appfuse-user] JAXB

2007-08-28 Thread Marcelo de Barros Alcantara
Hi, Somebody here has some comment about using JAXB? I was about to make my parsing using stax. But after checking jaxb I thought about using it. It has a lot of automation transforming the xsd on the beans and parser automatically. Thanks! Marcelo AVISO: A informacao contida neste e-mail

RE: [appfuse-user] pom.xml inside */META-INF/*/appfuse-spring and */META-INF/*/appfuse-web-common

2007-08-28 Thread Marcelo de Barros Alcantara
Matt, Thanks! Marcelo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: terça-feira, 28 de agosto de 2007 14:54 To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] pom.xml inside */META-INF/*/appfuse-spring and */META-INF/*/appfu

Re: [appfuse-user] pom.xml inside */META-INF/*/appfuse-spring and */META-INF/*/appfuse-web-common

2007-08-28 Thread Matt Raible
You can delete these files - they're added by Maven. http://jira.codehaus.org/browse/MOJO-377 Matt On 8/28/07, Marcelo de Barros Alcantara <[EMAIL PROTECTED]> wrote: > > > Hi, > > I found in my project these files: > > src/main/webapp/META-INF/maven/org.appfuse/ > |-appfuse-spring > |--pom.x

[appfuse-user] pom.xml inside */META-INF/*/appfuse-spring and */META-INF/*/appfuse-web-common

2007-08-28 Thread Marcelo de Barros Alcantara
Hi, I found in my project these files: src/main/webapp/META-INF/maven/org.appfuse/ |-appfuse-spring |--pom.xml |--pom.properties |-appfuse-web-common |--pom.xml |--pom.properties These files are needed? I am using the "full-source" already imported from appfuse. I think I may

RE: [appfuse-user] Library descriptions

2007-08-28 Thread Marcelo de Barros Alcantara
Michael/Matt, Thank you very much for your promptly reply. My manager is a web designer/developer (not java). He is worried about all the stuff included in the appfuse pack and I am working in having everything well defined here. I get all the time questions like: "What is it for?" and that was

Re: [appfuse-user] hibernate save app-user: 'Row was updated or deleted by another transaction'

2007-08-28 Thread Matt Raible
On 8/28/07, tibi <[EMAIL PROTECTED]> wrote: > ok stupid me. > > it was the version id which was not set correctly. > this was not set correctly because i forgot about the > candidate = candidateManager.save(candidate); > part. > > with coping i did not have the problem because the version id was >

Re: [appfuse-user] Library descriptions

2007-08-28 Thread Matt Raible
On 8/28/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: > In that case you have several options: > > 1) Run mvn:site to generate a site for your own project. By default this > will include a dependency report. > 2) Go to http://static.appfuse.org/dependencies.html for a > list of dependencies for Ap

Re: [appfuse-user] link and location from fileUpload

2007-08-28 Thread Matt Raible
No reason. On 8/28/07, tibi <[EMAIL PROTECTED]> wrote: > > aha i see. > > why is this done instead of a clear getLocation?? > > thanks, > > tibi > > Michael Horwitz wrote: > > "link" and "location" are set as attributes on the request by the > > FileUploadAction, e.g: > > > > getRequest().setAttr

Re: [appfuse-user] Library descriptions

2007-08-28 Thread Michael Horwitz
In that case you have several options: 1) Run mvn:site to generate a site for your own project. By default this will include a dependency report. 2) Go to http://static.appfuse.org/dependencies.html for a list of dependencies for AppFuse itself (you will need to go to each module to get the comple

RE: [appfuse-user] Library descriptions

2007-08-28 Thread Marcelo de Barros Alcantara
Hi, I am using 2M5. thanks, Marcelo From: Michael Horwitz [mailto:[EMAIL PROTECTED] Sent: terça-feira, 28 de agosto de 2007 12:43 To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] Library descriptions Which version of AppFuse are you using? Mike

Re: [appfuse-user] Library descriptions

2007-08-28 Thread Michael Horwitz
Which version of AppFuse are you using? Mike On 8/28/07, Marcelo de Barros Alcantara <[EMAIL PROTECTED]> wrote: > > Hi, > > I would like to know if there is a page where I can find the description > of the libs included in appfuse. > > For example, I found the logkit and avalon which I could not

[appfuse-user] Library descriptions

2007-08-28 Thread Marcelo de Barros Alcantara
Hi, I would like to know if there is a page where I can find the description of the libs included in appfuse. For example, I found the logkit and avalon which I could not be sure if they are really required or not. Thanks for any help! Marcelo AVISO: A informacao contida neste e-mail, bem

Re: [appfuse-user] link and location from fileUpload

2007-08-28 Thread tibi
aha i see. why is this done instead of a clear getLocation?? thanks, tibi Michael Horwitz wrote: "link" and "location" are set as attributes on the request by the FileUploadAction, e.g: getRequest().setAttribute("location", dirPath.getAbsolutePath() + Constants.FILE_SEP + fileFileName);

Re: [appfuse-user] link and location from fileUpload

2007-08-28 Thread Michael Horwitz
"link" and "location" are set as attributes on the request by the FileUploadAction, e.g: getRequest().setAttribute("location", dirPath.getAbsolutePath() + Constants.FILE_SEP + fileFileName); Mike. On 8/28/07, tibi <[EMAIL PROTECTED]> wrote: > > > hi, > > i need to safe the file information into

[appfuse-user] link and location from fileUpload

2007-08-28 Thread tibi
hi, i need to safe the file information into the database. so i extended the fileUpload action. all works fine but i don;t understand this part: "> i would expect getLink() and getLocation in the fileUploadAction but there are none. how does this work?? thanks, tibi

Re: [appfuse-user] hibernate save app-user: 'Row was updated or deleted by another transaction'

2007-08-28 Thread tibi
ok stupid me. it was the version id which was not set correctly. this was not set correctly because i forgot about the candidate = candidateManager.save(candidate); part. with coping i did not have the problem because the version id was collected from the db and that way correct. matt with a

Re: [appfuse-user] Ajax FileUpload DWR Error in Tomcat 5.5

2007-08-28 Thread Irshad Buchh
Hi Fahli, If and when you get it working, can you share it with us. Thanks. --Irshad. mraible wrote: > > It's probably caused by the clause in web.xml. This > flag makes you aware of issues you might experience in a clustered > environment. > > Matt > > On 8/27/07, fadhli <[EMAIL PROTECTED]

[appfuse-user] Problem implementing Nested Tables

2007-08-28 Thread adriel manalansan
Hello to everyone, I hope you are doing fine today in all of your tasks. I have a question about implementing a nested tables in displaytag. I am using: Appfuse 1.9.4 and webwork Displaytag 1.1 The problem is like this, I have a pojo named StudyPageSet that has a member of Set o

Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Djohannot
I have download the Jar manually at http://static.appfuse.org/repository/org/appfuse/appfuse-basic-jsf/2.0-m5/ and run the mvn install command. Thanks to you i could build the archetype successfuly. Nice done Mike ;-) David Mike Horwitz wrote: > > If you have created projects from those a

Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Michael Horwitz
If you have created projects from those archetypes before the archetypes will be in your local repository and Maven will not try and download them again. On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote: > > > Yes, That's what i thought, but why does it work with M3 and M4 version? > > [INFO] Arche

Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Djohannot
Yes, That's what i thought, but why does it work with M3 and M4 version? [INFO] Archetype created in dir: C:\WSN4\wsntools [INFO] [INFO] BUILD SUCCESSFUL [INFO] ---

Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Michael Horwitz
There seems to be some sort of issue with your internet connection? On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote: > > > Yes, this is the message: > > [ERROR] BUILD ERROR > [INFO] > > [INFO] Error creating from archetype >

Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Djohannot
Yes, this is the message: [ERROR] BUILD ERROR [INFO] [INFO] Error creating from archetype Embedded error: Archetype does not exist: System is offline. Try downloading the file manually from the project website. Then, inst

Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Michael Horwitz
Any build error messages? On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote: > > > Hi mike, > > Thanks for your answer. Yeah, possible proxy issues, but if i try with M3, > or M4 appfuse version, there's no problem. So i don't think it's a proxy > problem. > Any other idea? > > David > > > > Mike Ho

Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Djohannot
Hi mike, Thanks for your answer. Yeah, possible proxy issues, but if i try with M3, or M4 appfuse version, there's no problem. So i don't think it's a proxy problem. Any other idea? David Mike Horwitz wrote: > > Works fine when I try it. Any possible proxy issues? > > Mike > > On 8/28/07,

Re: [appfuse-user] archetype M5 offline

2007-08-28 Thread Michael Horwitz
Works fine when I try it. Any possible proxy issues? Mike On 8/28/07, Djohannot <[EMAIL PROTECTED]> wrote: > > > Hi, > > I wanted to upgrade my Appfuse version from M4 to M5 this morning, but > maven > tolds me that the archetype does not exist strange... any Idea? > > Thanks for you help, >

RE: [appfuse-user] How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions?

2007-08-28 Thread benoit moraillon
No but i'm interrested by the solution. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Matt Raible Envoyé : lundi 27 août 2007 17:50 À : AppFuse Objet : [appfuse-user] How can I tell Struts 2 to throw/log exceptions for invalid OGNL Expressions? Anyone

[appfuse-user] archetype M5 offline

2007-08-28 Thread Djohannot
Hi, I wanted to upgrade my Appfuse version from M4 to M5 this morning, but maven tolds me that the archetype does not exist strange... any Idea? Thanks for you help, David Johannot P.S. the archetype i tried to download was the basic JSF mvn archetype:create -DarchetypeGroupId=org.appfus

[appfuse-user] CSS Menu overlaps

2007-08-28 Thread Allan Ang
Have any of you guys ever had a problem where a menu overlaps another just below it (this happens when you start increasing top level parent menus till it reaches a point where there are one just above another). the following should help for firefox users 1. go to styles/{whatever style you use}