Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
The bad URLs with the double slashes issue exists in my project based on Appfuse 2.0M5 also, but clicking the WSDL links do not throw a 'page not found' error. But this error is not a show stopper, since removing the slash from the URL give you the WSDL file. Thanks -- Aakhunaten mraible wrote

Re: [appfuse-user] Problem with jetty:run in Tapestry basic archetype

2007-09-19 Thread Matt Raible
That's certainly a strange one. I was able to reproduce it, but have no idea how to fix it. jetty:run-war works fine, as does tomcat:run. I don't think tomcat:run does directory scanning and auto-reloading, so I don't know if it's as good as the Jetty plugin. Here's the configuration for it:

Re: [appfuse-user] Have problem with autowire

2007-09-19 Thread Matt Raible
This is something we should probably fix. Can you please enter this as an issue in JIRA? http://issues.appfuse.org/browse/APF For most integration tests with Spring, we've remembered to set autowiring to use byName. However, it looks like I forgot it for JSF. You should be able to fix this in you

[appfuse-user] Problem with jetty:run in Tapestry basic archetype

2007-09-19 Thread Mark Rosenthal
Hi, I'm running into the following error on certain tapestry pages after login, including MainMenu. It looks as if the hivemind/spring wiring is broken. The app runs fine with jetty:run-war. [ +/- ] Exception: Error at context:/WEB-INF/tapestry/mainMenu.page, lin

Re: [appfuse-user] It is hard to use appfuse

2007-09-19 Thread Matt Raible
We're always looking for ways to improve appfuse, so we appreciate your suggestions. Comments below. On 9/19/07, ChengJiaguo <[EMAIL PROTECTED]> wrote: > 1. It is hard to write DAOs when i need custom functionality. > after appfuse:gen if i want to add my custom function. i need to do a > lot of w

Re: [appfuse-user] Problem with AppFuse Core Classes

2007-09-19 Thread Rob Hills
Hi Scott, I thought I'd better change the subject line to something that better describes the issue under discussion. Not sure if that will change its thread or not, we'll see. On 16 Sep 2007 at 23:10, Scott Ryan wrote: > Has anyone gotten the suggestion > http://appfuse.org/display/APF/AppF

[appfuse-user] Have problem with autowire

2007-09-19 Thread phamvubinh
Hi all, I'm using Appfuse with JSF framework and I got an error (below). I think I should config some think about autowire, autowire-candidate, ... in my applicationContext.xml file to figure it out but I don't know how. Can you give me some advices? =

[appfuse-user] It is hard to use appfuse

2007-09-19 Thread ChengJiaguo
1. It is hard to write DAOs when i need custom functionality. after appfuse:gen if i want to add my custom function. i need to do a lot of work (create XXXdao,, create XXXManager.java ,XXXManagerImpl.java..) i guess it can be done by appfuse:gen.. 2. It is hard to use The .htm extendtion nam

Re: [appfuse-user] Eclipse Europa compatibility

2007-09-19 Thread Scott Ryan
Does this look like the correct fix? It sure would be nice to make the red go away lol. The file is not valid XML so should it be named .properties or something like that? Scott Ryan CTO Soaring Eagle L.L.C. Denver, Co. 80129 www.soaringeagleco.com www.theryansplace.com (303) 263-3044 [EMAIL

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Matt Raible
This is a known issue - the XFire index page creates bad URLs with two slashes in them. Matt On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote: > > Ok my excitement was short lived :-(. Now the web services are listed, but > when I click on the link to the wsdl, i get a 'Page not found'. > > Than

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
Ok my excitement was short lived :-(. Now the web services are listed, but when I click on the link to the wsdl, i get a 'Page not found'. Thanks, --Aakhunaten Aakhunaten wrote: > > Woohooo! That works! I am so relieved. > > Thanks a lot, Matt. > > I will enter this in JIRA. > > -- Aa

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
Woohooo! That works! I am so relieved. Thanks a lot, Matt. I will enter this in JIRA. -- Aakhunaten mraible wrote: > > Removing the following from xfire-servlet.xml fixes the problem: > >default-lazy-init="true" > > Can you enter this as an issue in JIRA? > > http://issues.

Re: [appfuse-user] Navigation buttons not visible fully in IE6

2007-09-19 Thread snehalsao
I logged this issue in JIRA: http://issues.appfuse.org/browse/APF-903 I can wait for your response sometime later this week. Thanks, Snehal. -- View this message in context: http://www.nabble.com/Navigation-buttons-not-visible-fully-in-IE6-tf4483537s2369.html#a12787253 Sent from the AppFuse

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Matt Raible
Removing the following from xfire-servlet.xml fixes the problem: default-lazy-init="true" Can you enter this as an issue in JIRA? http://issues.appfuse.org/browse/APF Thanks, Matt On 9/19/07, Matt Raible <[EMAIL PROTECTED]> wrote: > I'll see if I can reproduce this problem. > > On 9/19

Re: [appfuse-user] Navigation buttons not visible fully in IE6

2007-09-19 Thread Matt Raible
Sorry, I should've been more clear - please enter it in JIRA at the following URL: http://issues.appfuse.org/browse/APF Matt On 9/19/07, snehalsao <[EMAIL PROTECTED]> wrote: > > I logged the issue in AppFuse - Issues. I think by JIRA you meant to log this > issue in AppFuse - Issues forum. > No,

Re: [appfuse-user] Navigation buttons not visible fully in IE6

2007-09-19 Thread snehalsao
I logged the issue in AppFuse - Issues. I think by JIRA you meant to log this issue in AppFuse - Issues forum. No, the "overflow:auto" on the div that holds the table does not resolve the issue. Snehal. -- View this message in context: http://www.nabble.com/Navigation-buttons-not-visible-ful

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
Hmm All the classes that I wanted exposed as webservices have the @WebService annotation. But none of them show up. What I did was I just created a new project like so mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositor

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Matt Raible
I'll see if I can reproduce this problem. On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote: > > Hmm > > All the classes that I wanted exposed as webservices have the @WebService > annotation. But none of them show up. > > What I did was I just created a new project like so > mvn archetype:crea

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Matt Raible
AppFuse doesn't have a applicationContext-webservice.xml so I'm confused as to what you're talking about. AppFuse's Web Services are exposed by xfire-servlet.xml. Matt On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote: > > I commented out the GZipFilter in web.xml like you said, and now I do see t

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Matt Raible
On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote: > > The projects I created and maintain were created with appfuse-2.0M5. And all > these projects have a applicationContext-webservices.xml in the WEB-INF > directory. You must have created this file then - we've never shipped a file with this name

Re: [appfuse-user] Navigation buttons not visible fully in IE6

2007-09-19 Thread Matt Raible
Good ol' IE. ;-) Can you please enter this as an issue in JIRA? In the meantime, you can probably fix it by specifying "overflow:auto" on the div that holds the table. I'm guessing the shift doesn't happen on the other admin pages? Matt On 9/19/07, snehalsao <[EMAIL PROTECTED]> wrote: > > Yes, I

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
The projects I created and maintain were created with appfuse-2.0M5. And all these projects have a applicationContext-webservices.xml in the WEB-INF directory. In any case, if i dont have this file, I get the page generated by XFire but it does not have the webservices that Appfuse provides by d

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
I commented out the GZipFilter in web.xml like you said, and now I do see the page. BUT, I do not see any webservices UNLESS i have a WEB-INF/applicationContext-webservice.xml. I did not have to add an entry in this file with M5, just using annotations exposed the manager as webservices. Is this

Re: [appfuse-user] Navigation buttons not visible fully in IE6

2007-09-19 Thread snehalsao
Yes, I still see the issue in IE6. Attached newdemo.gif. Snehal http://www.nabble.com/file/p12786130/newdemo.gif -- View this message in context: http://www.nabble.com/Navigation-buttons-not-visible-fully-in-IE6-tf4483537s2369.html#a12786130 Sent from the AppFuse - User mailing list archive

[appfuse-user] Navigation buttons not visible fully in IE6

2007-09-19 Thread snehalsao
I am using AppFuse 1.9.3. In IE6 I see a problem with the layout of the navigation buttons at the bottom, not visible fully. This problem is not seen in IE7. The latest demo (AppFuse 2.0) in IE6 also displays the issue: http://demo.appfuse.org/appfuse-jsf/admin/users.html Attached demo.gif.

Re: [appfuse-user] Navigation buttons not visible fully in IE6

2007-09-19 Thread Matt Raible
I believe this happens when the table is too wide. I just reloaded the data - does it still happen? Matt On 9/19/07, snehalsao <[EMAIL PROTECTED]> wrote: > > I am using AppFuse 1.9.3. In IE6 I see a problem with the layout of the > navigation buttons at the bottom, not visible fully. This problem

Re: [appfuse-user] Is hibernate.reveng.xml ignored by AMP? How to control reverse eng?

2007-09-19 Thread mraible
Here's the solution to specifying where your hibernate.reveng.xml is: src/test/resources/hibernate.reveng.xml ${amp.genericCore} ${amp.fullSource} Matt mrai

Re: [appfuse-user] Eclipse Europa compatibility

2007-09-19 Thread Matt Raible
If you rename login.xml to login.xmlf and import it appropriately into web-tests.xml, does Eclipse still complain? Matt On 9/19/07, jtkwon <[EMAIL PROTECTED]> wrote: > > I am getting an identical error (not to mention the login.xml complaining > about not being "well-formed". > > Oddly, it doesn'

Re: [appfuse-user] Eclipse Europa compatibility

2007-09-19 Thread jtkwon
I am getting an identical error (not to mention the login.xml complaining about not being "well-formed". Oddly, it doesn't stop the maven build outside of Eclipse from working just fine. jezbum wrote: > > Maven version: 2.0.7 > Java version: 1.5.0_09 > OS name: "windows xp" version: "5.1" arch

Re: [appfuse-user] Validator masks ignored

2007-09-19 Thread gederer
Apparently, the 'mask' rules are applied only if all of the 'required' rules pass. I guess that's OK ;) Greg gederer wrote: > > Hi, > > I've noticed that the masks (e.g., the 'zip' mask for postalCode) in the > signup form don't produce errors in the JavaScript validation errors > dialog. An

Re: [appfuse-user] Is hibernate.reveng.xml ignored by AMP? How to control reverse eng?

2007-09-19 Thread Matt Raible
Can you please enter an issue for this in JIRA? Even if it's possible to do this w/o changing any code, we should document how to do it. I'll try to look into how to do it later today. Thanks, Matt On 9/19/07, tnsilver <[EMAIL PROTECTED]> wrote: > > Thank you. I have been trying to do just that

Re: [appfuse-user] Is hibernate.reveng.xml ignored by AMP? How to control reverse eng?

2007-09-19 Thread tnsilver
Thank you. I have been trying to do just that almost all day. It seems to me that either AMP 2.0 ignores the property (with or without path), or my plugin configuration is wrong. I tried several options. The latest being: org.codehaus.mojo appfuse-mav

Re: [appfuse-user] problem setting up greybox in appfuse

2007-09-19 Thread Matt Raible
Spring MVC should not process *.htm, only *.html. You might look into using Prototype Window - I don't know if you can load external content into them or not. http://prototype-window.xilinus.com/index.html I haven't looked at Greybox until today - but it looks like a slick library. Can you pleas

Re: [appfuse-user] jMock in Tutorial not self-explaining

2007-09-19 Thread Matt Raible
In the tutorial, I can understand why it's confusing. In the example, you're not really testing anything but that a method is being called. You might think this is silly, but it's actually saved my ass in the past. Also, what happens when your one-line method turns into a 200-line one that talks to

Re: [appfuse-user] problem setting up greybox in appfuse

2007-09-19 Thread syg6
Well I don't know if I'd go so far as to ask for Greybox to work with Appfuse out of the box. I don't know if getting rid of pop-ups is something people are generally interested in, and even if they were there are many flavors out there (Thickbox, Thickbox reloaded, etc.), I'm not sure Greybox is

Re: [appfuse-user] maven jetty plugin output encoding issues?

2007-09-19 Thread Matt Raible
Jumbled characters are usually caused by some sort of filtering process. Hopefully that helps. Matt On 9/19/07, SkipWalker <[EMAIL PROTECTED]> wrote: > > I guess I should have made it a bit more clear. When we created the project > a year and a half ago, we took the latest app fuse and ported wh

Re: [appfuse-user] Is hibernate.reveng.xml ignored by AMP? How to control reverse eng?

2007-09-19 Thread Matt Raible
On 9/19/07, tnsilver <[EMAIL PROTECTED]> wrote: > > I'm using Appfuse 2.0-rc1 Struts 2 Basic against Oracle 9. I am using > appfuse-maven-plugin version 2.0. > When I run appfuse:gen-model it seems to me the tool is fetching records > from Oracle's ALL_TABLES data dictionary. It finally fails on a

Re: [appfuse-user] problem setting up greybox in appfuse

2007-09-19 Thread Matt Raible
I'm sure it's possible to get Greybox working. If you'd like us to configure AppFuse so it works out-of-the-box with Grebox, please enter an issue in JIRA and mark "fix for" to 2.0.1. One solution that should work is to change your default extension for Spring MVC. I'd try removing the StaticFilte

Re: [appfuse-user] [ANN] AppFuse 2.0 Released!

2007-09-19 Thread Matt Raible
We've fixed the JIRA signup issue - what's your username? I should be able to fix it quickly. Matt On 9/19/07, tibi <[EMAIL PROTECTED]> wrote: > great work indeed!! > > ps > matt can you look at my login problems on appfuse.org so i can add my > dojo example? > > thanks > > tibi > > Thomas Ramapu

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
OH! duh! ... I will try that ... Thanks a bunch. btw, i know you have heard this before, YOU THE MAN! Great work! -- Aakhunaten mraible wrote: > > It still works out-of-the-box, you just can't see the index page. If > you're keen on seeing this page, comment out the GZipFilter mapping in > y

[appfuse-user] jMock in Tutorial not self-explaining

2007-09-19 Thread Martin Homik
I do understand that mocks are useful to imitate a certain behaviour of compononts which are sort of resource-demanding. But, I don't get the value of using jMock for testing Managers as it is used in the tutorial. Let me pick a test method: public void testFindByLastName() { log.deb

Re: [appfuse-user] maven jetty plugin output encoding issues?

2007-09-19 Thread SkipWalker
I guess I should have made it a bit more clear. When we created the project a year and a half ago, we took the latest app fuse and ported what we could quickly into maven 2 since the rest of our multi-module project was using maven 2. Basically, in saying it's appfuse 1.9.3, I'm saying we star

Re: [appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Matt Raible
It still works out-of-the-box, you just can't see the index page. If you're keen on seeing this page, comment out the GZipFilter mapping in your web.xml. http://issues.appfuse.org/browse/APF-863 Your WSDL should still be available. Matt On 9/19/07, Aakhunaten <[EMAIL PROTECTED]> wrote: > > Hi,

[appfuse-user] Web services in Appfuse 2.0

2007-09-19 Thread Aakhunaten
Hi, I have been using Appfuse since M5. I have developed my entire project with M5. Now that 2.0 is out, I thought I would go ahead and upgrade the project. To begin with, I tried to create a basic struts based appfuse project. I tried to access http://localhost:8080/services and all i get is a w

Re: [appfuse-user] ajax dojo

2007-09-19 Thread tibi
ok i now have dojo working fine. but the result of a dojo is not dojo! i have page A with a link like this: Zoek when i return (as a test) the same page with the same link and put that into a div i again get the link like above... but it is not useing ajax any more... any one get ajax on an

Re: [appfuse-user] [Spring 2.0M5] Problem with update in Cascade

2007-09-19 Thread Julien C.
Problem of hashcode method... all is well, now. Julien C. a écrit : Hi, I use appfuse-2.0M5 Spring. I want to clone some GabaritElement. My method just clone and save 2 Gabarit on 10. Have you got an idea ? Is this the good way o do this: public void cloneGabaritVague(Gabarit gabarit, Vague

[appfuse-user] Is hibernate.reveng.xml ignored by AMP? How to control reverse eng?

2007-09-19 Thread tnsilver
I'm using Appfuse 2.0-rc1 Struts 2 Basic against Oracle 9. I am using appfuse-maven-plugin version 2.0. When I run appfuse:gen-model it seems to me the tool is fetching records from Oracle's ALL_TABLES data dictionary. It finally fails on a 'Duplicate class name' because my ALL_TABLES contains dup

Re: [appfuse-user] Cascading delete from User to my own model objects.

2007-09-19 Thread phamvubinh
Thanks for your help, Mike ::-D. Mike Horwitz wrote: > > Something must have happened! You seem to have actions and the > corresponding > tests for your two new pojos, so it looks as if a fair bit of code has > been > added, either by being generated through a plugin or being hand coded. > Eit

Re: [appfuse-user] Cascading delete from User to my own model objects.

2007-09-19 Thread Michael Horwitz
Something must have happened! You seem to have actions and the corresponding tests for your two new pojos, so it looks as if a fair bit of code has been added, either by being generated through a plugin or being hand coded. Either way this code contains errors that need fixing. The stuff that is br

Re: [appfuse-user] problem setting up greybox in appfuse

2007-09-19 Thread syg6
I got rid of all the stuff I had created - GreyboxController, greybox.jsp, and the reference to it in dispatcherservlet.xml. I am now back to using loader_frame.html, which lives in /scripts/greybox_static/. In default.jsp I have defined the GB_ROOT_DIR like this: var GB_ROOT_DIR = ""; And in m

Re: [appfuse-user] [ANN] AppFuse 2.0 Released!

2007-09-19 Thread tibi
great work indeed!! ps matt can you look at my login problems on appfuse.org so i can add my dojo example? thanks tibi Thomas Ramapuram wrote: > Great work Matt. Been waiting for this for a long time. > > - > To unsubscribe, e

Re: [appfuse-user] Cascading delete from User to my own model objects.

2007-09-19 Thread phamvubinh
I think so, but I have never changed source code in my appfuse project. All I have done are modifing something in pom.xml file, adding my POJOs (Quan & Phuong) and deploying project by Maven. Now I got those errors, I don't know how to figure out. I'm afraid to break the structure of Appfuse. Can

Re: [appfuse-user] Cascading delete from User to my own model objects.

2007-09-19 Thread Michael Horwitz
You seem to have three basic errors: 1) In action class com.giavaviet.app.webapp.action.PhuongForm on line 39 you are trying to cast a Quan object to be a Phuong object. 2) In action class com.giavaviet.app.webapp.action.PhuongList you are trying to sort a list of Phuong using the column 'id_phuon

Re: [appfuse-user] Cascading delete from User to my own model objects.

2007-09-19 Thread phamvubinh
Thanks for your help, Mike. I can run mvn jetty:run-war without the previous error, but after that, I met some things wrong :-((. Can you help me. You can see my error message below: == Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Tim

Re: [appfuse-user] Appfuse Database Error Message Handling

2007-09-19 Thread Michael Horwitz
This seems to be the standard problem when using foreign key integrity constraints in a database: you cannot delete a record if other records refer to it using a foreign key. Nothing really wrong here, just the database doing its job: making sure your data stays sane. I would recommend you keep the

Re: [appfuse-user] Cascading delete from User to my own model objects.

2007-09-19 Thread Michael Horwitz
Cascading of delete is not supported in the JPA spec, so you will need to use the @OnDelete Hibernate extension to do it: http://tinyurl.com/22n4wv Mike On 9/19/07, phamvubinh <[EMAIL PROTECTED]> wrote: > > > I have the same error. Any suggestion for this mistake? > Donleyp, have you found the so

Re: [appfuse-user] Does Appfuse2 move package?

2007-09-19 Thread Tony.Cesc
I did follow your guide but it's still error occur. e.java:14:0::0 The import org.appfuse cannot be resolved mraible wrote: > > Running "mvn jetty:run-war" works fine for me. Maybe you can try > renaming packages with the following: > > mvn appfuse:refactor-packages > > Matt > > On 9/18/

Re: [appfuse-user] Appfuse Database Error Message Handling

2007-09-19 Thread phamvubinh
Hi Matt, My problem is, I have just create Appfuse project (with JSF framework). Then I create 2 POJOs Obj1 and Obj2. The primary key of Obj2 is the foreign key of Obj1. After that, I run mvn jetty:run-war, Appfuse will test 2 POJOs for me. But when it testRemove, my database will throws an Excep