Re: [appfuse-user] Run mvn integration-test Canoo Web test Error!!!

2007-10-04 Thread Matt Raible
Yeah, you can safely ignore these. I've been lazy and haven't created the checksum files for webtest. I'd rather they publish these artifacts in their own repository, but apparently no users are using WebTest (and downloading it publicly). Matt On 10/4/07, Kerry Sainsbury <[EMAIL PROTECTED]> wrot

Re: [appfuse-user] Run mvn integration-test Canoo Web test Error!!!

2007-10-04 Thread Kerry Sainsbury
Windows XP SP2. JDK 1.6.0_3. maven-2.0.7 Also, there were a few CHECKSUM FAILED messages in the logs, if it matters: [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for com/canoo/webtest/webtest/R_1600/webtest-R_1600.jar - IGNORING On 10/5/07, Matt Raible <[EMAIL PROTECTED]> wrot

Re: [appfuse-user] Run mvn integration-test Canoo Web test Error!!!

2007-10-04 Thread Matt Raible
I've seen this before, but have never figured out what causes it. What is your environment? JDK, OS, etc. Matt On 10/4/07, kerryland <[EMAIL PROTECTED]> wrote: > > I have encountered what appears to be the same problem -- just followed the > quickstart today using: > > C:\work\appfuse2>mvn archet

Re: [appfuse-user] Run mvn integration-test Canoo Web test Error!!!

2007-10-04 Thread kerryland
I have encountered what appears to be the same problem -- just followed the quickstart today using: C:\work\appfuse2>mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-struts -DremoteRepositories=http://static. appfuse.org/releases -DarchetypeVers

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
Okay, I ran it under a debugger. But since it's down in the GenericManager that it's not returning data, I can't follow that code through the debugger. I think logging is the best option. Wayne WayneFH wrote: > > How can I run jetty:run with a debugger? What is s.o.p? > I'll looking into how t

[appfuse-user] wufoo style hints - ways to implement?

2007-10-04 Thread p7k
Dear AppFusers, Please, share any ideas on how to go about implementing form hints (similar to those used by wufoo), given latest AppFuse facilities and myfaces JSF. I know that the default form css in AppFuse comes from wufoo, but I didn't find anything relevant to hints in it. I admit that I

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
How can I run jetty:run with a debugger? What is s.o.p? I'll looking into how to setup hibernate logging. Sincerely, Wayne mraible wrote: > > Of course, using a debugger might be much easier. > > http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse > > On

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread Matt Raible
Of course, using a debugger might be much easier. http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse On 10/4/07, Matt Raible <[EMAIL PROTECTED]> wrote: > Did you add S.o.p to your getter method to make sure it's getting called? > > Matt > > On 10/4/07, Way

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread Matt Raible
Did you add S.o.p to your getter method to make sure it's getting called? Matt On 10/4/07, WayneFH <[EMAIL PROTECTED]> wrote: > > Could it have anything to do with a hibernate relationship? > caseitem has a foreign key to prescriberitem table. > But in the database they're all there. And in the

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
Could it have anything to do with a hibernate relationship? caseitem has a foreign key to prescriberitem table. But in the database they're all there. And in the junit tests they work fine creating each and inserting in the table and reading back. I inserted System.out.println all over to make s

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
Yes, definately. I have mysql-front looking at the mysql database. The items are there. Is there any logging for hibernate or spring to check if it's doing anything or getting any errors? No errors come to the console where I run jetty:run. Sincerely, Wayne mraible wrote: > > Are you sure the

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread Matt Raible
Are you sure there's data in your database? You might want to query it while your app is running and make sure data is in there. Matt On 10/4/07, WayneFH <[EMAIL PROTECTED]> wrote: > > I also printed out ${backingBean.caseItemManager} to make sure it was set. > And it shows [EMAIL PROTECTED] > >

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
I also printed out ${backingBean.caseItemManager} to make sure it was set. And it shows [EMAIL PROTECTED] So the caseItemManager has been set by Spring and the data is in the database. I'm at a loss why doesn't the backingBean.caseItems produce anything. Argh! Please give me some idea. Here's t

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
Thanks. I tried that and it only printed an empty []. In the junit CaseItemListTest class, I did a System.out.println(backingBean.getCaseItems()). That, prints out the 3 items (2 from dbunit plus the one it inserts). Why would it be empty? It works in the junit tests, just fine. I'm stumped. Wayn

Re: [appfuse-user] Help with JSF xhtml List

2007-10-04 Thread Matt Raible
I would try printing our your results using a simple expression before your datatable. Something like ${backingBean.caseItems}. If that doesn't print out anything, there's probably something wrong with your backing bean. Matt On 10/4/07, WayneFH <[EMAIL PROTECTED]> wrote: > > > Please help, I cre

[appfuse-user] Help with JSF xhtml List

2007-10-04 Thread WayneFH
Please help, I created caseitem.xhtml just like persons.xhtml in AppFuse but it doesn't display any rows. I already created the POJO CaseItem, already setup Hibernate, already configured Spring and already wrote successful junit CaseItemListTest that passes the test and creates the rows. Also,

Re: [appfuse-user] Get rid of deprecated JDBC warnings from Maven?

2007-10-04 Thread Matt Raible
You might try adding false to your dbunit-maven-plugin configuration. http://mojo.codehaus.org/dbunit-maven-plugin/operation-mojo.html Matt On 10/4/07, WayneFH <[EMAIL PROTECTED]> wrote: > > Actually, I realized that this is coming from dbunit as it loads test data. > Maybe there is a newer ver

Re: [appfuse-user] Get rid of deprecated JDBC warnings from Maven?

2007-10-04 Thread WayneFH
Actually, I realized that this is coming from dbunit as it loads test data. Maybe there is a newer version to use that doesn't use deprecated functions? Or a way to disable the warnings? -Wayne mraible wrote: > > I've heard changing to use MySQL5InnoDBDialect solves it, but it > doesn't solve a

Re: [appfuse-user] PersonForm.java not being generated

2007-10-04 Thread Matt Raible
Thanks for reporting back with the solution to your problem. Matt On 10/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Turned out to be a permissions problem after. > > Just to test it out, I switched to root user and created a new project > from scratch. To speed up things, I just copied a

RE: [appfuse-user] PersonForm.java not being generated

2007-10-04 Thread vpacheco
Turned out to be a permissions problem after. Just to test it out, I switched to root user and created a new project from scratch. To speed up things, I just copied all the java files from the previous project. This time ant gen-forms worked. Permissions really create a lot of havoc, even thoug

Re: [appfuse-user] Hibernate Example.create

2007-10-04 Thread Lucky123
I have two entities stored in seperate database tables - Employee - Manager Every Employee has a Manager(or vice versa: Every Manager has several Employees) Get Manager with his employees. I tried Hibernate Query by example, but it is not returning anything.. Criteria criteria = session.creat

Re: [appfuse-user] Get rid of deprecated JDBC warnings from Maven?

2007-10-04 Thread Matt Raible
I've heard changing to use MySQL5InnoDBDialect solves it, but it doesn't solve anything for me locally. Matt On 10/4/07, WayneFH <[EMAIL PROTECTED]> wrote: > > Guys, when running junit tests with maven I get lots of these deprecation > warnings. It has made it hard to find actual errors from hibe

Re: [appfuse-user] How to call logout from struts baseaction

2007-10-04 Thread Allan Ang
1. have a public static in BaseAction that holds your variable 2. create a servlet filter that checks this value. servlet filter maps to all urls 3. if variable is set, response.sendRedirect to a url that is mapped to to the BaseAction method that you want to call perhaps there is a better way

[appfuse-user] Get rid of deprecated JDBC warnings from Maven?

2007-10-04 Thread WayneFH
Guys, when running junit tests with maven I get lots of these deprecation warnings. It has made it hard to find actual errors from hibernate when creating the schema. Anyway to get rid of them? I'm using Basic JSF WARN [main] JDBCExceptionReporter.logWarnings(49) | 'TYPE=storage_ engine' is dep

[appfuse-user] How to make Jetty wait at breakpoints longer

2007-10-04 Thread Allan Ang
There's something you could do to make Jetty wait at the breakpoints longer. (it apparently won't wait forever) Just set the maxIdleTime value to something large. org.mortbay.jetty maven-jetty-plugin org.apache.geronimo.specs geronimo-j2ee_1.4_spec 1.1

Re: [appfuse-user] How to write web service client

2007-10-04 Thread sunisaj
Thanks for information. I will give it a try. -- View this message in context: http://www.nabble.com/How-to-write-web-service-client-tf4561892s2369.html#a13046403 Sent from the AppFuse - User mailing list archive at Nabble.com. ---

RE: [appfuse-user] PersonForm.java not being generated

2007-10-04 Thread vpacheco
Yes. I will attach my .java file here. It's in /opt/dev/tools/PersonApp/src/dao/org/appfuse/model Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x307 == IMPORTANT WARNING: This message is intended for the use of the person or entity to which it

RE: [appfuse-user] PersonForm.java not being generated

2007-10-04 Thread vpacheco
Is there anything that I need to add to some xml file for this. Uptil now it's all working fine. I'm just stuck at this stage. I also checked permissions and it's all fine. Well I guess I'll just log in as root and try out. Thanks, Vanessa Pacheco Programmer Bowman Systems L.L.C 318.213.8780x30

Re: [appfuse-user] PersonForm.java not being generated

2007-10-04 Thread Matt Raible
Do you have the @hibernate.class in the class's javadoc as well? Are you extending BaseObject? Do you have it in your project's "model" directory? Matt On 10/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I copied that line from User.java and added it to my Person.java class > > I also trie

RE: [appfuse-user] PersonForm.java not being generated

2007-10-04 Thread vpacheco
I copied that line from User.java and added it to my Person.java class I also tried used org.appfuse.webapp.form.BaseForm I tried everything possible. Anyone else have the same problem. Any tips on how to troubleshoot. What am I typically supposed to see as an output when I run ant. Thanks, V

Re: [appfuse-user] PersonForm.java not being generated

2007-10-04 Thread Matt Raible
Make sure you have an @struts-form tag on your Person.java class. Here's an example: http://tinyurl.com/ypq3ax Matt On 10/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > I am using Appfuse 1.9.x + Struts. I am going through the tutorial and have > successfully finished

[appfuse-user] PersonForm.java not being generated

2007-10-04 Thread vpacheco
Hi, I am using Appfuse 1.9.x + Struts. I am going through the tutorial and have successfully finished the 1st 2 parts. Now it's time to create the Struts Action form etc etc. I added the Xdoclet tag and ran "ant gen-forms". Build is successful but it really doesn't do much. Here's the o

Re: [appfuse-user] Eclipse issue with header.jsp EL syntax

2007-10-04 Thread WayneFH
For a work around, I turned this file in the a JSP fragment by changing the file name to header.jspf That causes MyEclipse (or Eclipse) to just issue warnings instead of the ugly red X's. Hope this helps! Wayne natophonic wrote: > > > WayneFH wrote: >> >> >> >> It says "Invalid Character Co

[appfuse-user] How to call logout from struts baseaction

2007-10-04 Thread rbtechno
Hi, I need to check one flag variable for all incoming request to struts base action and If the flag is set i need to call logout from baseaction itself,otherwise sub action delegation will be proceed. Please let me how to do it.. Thanks -rb

Re: [appfuse-user] How to manually change a Collection with Hibernate / Spring MVC

2007-10-04 Thread syg6
I may have spoke too soon! I kind of got the custom property editor solution to work. Unfortunately I am still having the same problem as before, namely: 1. Hibernate is not overwriting the exisitng data, it's just adding it each time. 2. God knows what will happen if I delete an element ... :(

[appfuse-user] How to manually change a Collection with Hibernate / Spring MVC

2007-10-04 Thread syg6
Well I've more or less given up on getting a reply to http://www.nabble.com/Best-way-to-save-ManyToOne-relationships-with-Hibernate-and-Spring-MVC-tf4553758s2369.html my previous post . After searching for two days I haven't found anything remotely like a 'Silver Bullet' that will do what I need

Re: [appfuse-user] Dwr query

2007-10-04 Thread jithesh
jithesh wrote: > > hi, > >No i didnt tried hibernate converter... > >How can i write the hibernate converter? my latest dwr.xml is like > this.. > > > > > > > > > converter="bean"> >

[appfuse-user] Spring MVC: Binding Objects With Data Coming From DisplayTag list

2007-10-04 Thread kaloyz2
Hello Everyone, I am pretty much new to appfuse(and Spring) and I am hoping that someone can help me with the problem that I am encountering at the moment. But wait I use Spring MVC and Appfuse. The problem is, I have a list coming from a controller wherein the list contains an object that has me