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

2007-11-07 Thread Matt Raible
cd core;mvn install On Nov 7, 2007, at 10:33 PM, jackalista wrote: It's the Struts 2 modular type, perhaps that's the problem. What do you do to install the core module? Thanks! mraible wrote: Are you using a basic or modular archetype? If its modular, you might want to make sure you

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

2007-11-07 Thread jackalista
It's the Struts 2 modular type, perhaps that's the problem. What do you do to install the core module? Thanks! mraible wrote: > > Are you using a basic or modular archetype? If its modular, you might > want to make sure you've "installed" the core module. > > Matt > > On Nov 7, 2007 6:01 P

Re: [appfuse-user] Appfuse & Spring MVC

2007-11-07 Thread Nathan Anderson
I have not used Spring MVC yet, so I can't say for sure. But my understanding was that AMP should create everything you need. http://appfuse.org/display/APF/AppFuse+Maven+Plugin Maybe someone else has more information... Nathan - Original Message - From: "cloude1080" <[EMAIL PROTEC

Re: [appfuse-user] problem exporting web service

2007-11-07 Thread Dale Newfield
Alejandro Castro wrote: I'm using Appfuse 2.0 Did you look to see if you have a file someplace named "applicationContext-webservice.xml"? If it's not named that, it's still a file someplace where the beans are defined to set up the service(s). grep through your codebase for a file containi

Re: [appfuse-user] Appfuse & Spring M

2007-11-07 Thread Matt Raible
On Nov 7, 2007 6:30 PM, cloude1080 <[EMAIL PROTECTED]> wrote: > > Hi Matt, > > The exact steps were > > 1/mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes > -DarchetypeArtifactId=appfuse-modular-spring > -DremoteRepositories=http://static.appfuse.org/releases > -DarchetypeVersion=2.0

Re: [appfuse-user] Appfuse & Spring MV

2007-11-07 Thread cloude1080
Hi Matt, The exact steps were 1/mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-spring -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0 -DgroupId=com.mycompany.app -DartifactId=myproject 2/ cd myproject 3/ mvn e

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

2007-11-07 Thread Matt Raible
Are you using a basic or modular archetype? If its modular, you might want to make sure you've "installed" the core module. Matt On Nov 7, 2007 6:01 PM, jackalista <[EMAIL PROTECTED]> wrote: > > Hi, > > I am seeing these problems as well and also started with the M5 version of > AF 2.0. When I c

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

2007-11-07 Thread jackalista
Hi, I am seeing these problems as well and also started with the M5 version of AF 2.0. When I commented out the gzip filter I get the page at http://localhost:8080/services/ but it only lists the UserService and has the problem with the double slash in the URL. Where is the file in which the UR

Re: [appfuse-user] invoking shell script from java

2007-11-07 Thread Rob Hills
Hi Jitesh, jithesh wrote: i am using appfuse 1.9.4 for building my web app. my java class executes a shell script that creates an image file to the destination path. But when run the application the shell script is not getting executed. My code to call the shell script is given below Ru

Re: [appfuse-user] problem exporting web service

2007-11-07 Thread Alejandro Castro
I'm using Appfuse 2.0 I think I am missing some configuration somewhere, but I haven't been able to find where to put such configuration ... have no clue of what am I missing :s On 11/7/07, Dale Newfield <[EMAIL PROTECTED]> wrote: > > Alejandro Castro wrote: > > [fanaticofut] INFO [main] Jsr181Han

Re: [appfuse-user] problem exporting web service

2007-11-07 Thread Dale Newfield
Alejandro Castro wrote: [fanaticofut] INFO [main] Jsr181HandlerMapping.customizeService(150) | Exposing service {http://service.appfuse.org}UserService to /services/UserService but there's no similar message for the service I'm trying to export... That's the most revealing clue. The answe

[appfuse-user] problem exporting web service

2007-11-07 Thread Alejandro Castro
Hello, I´m trying to export a manager as a webservice. I´ve been following the whole appfuse guide to create my app. I already have my webapp working, but I need some methods to be exposed as web services. If I run my app as it is, I can access http://localhost:8080/services/UserService and http:

[appfuse-user] invoking shell script from java

2007-11-07 Thread jithesh
hi, i am using appfuse 1.9.4 for building my web app. my java class executes a shell script that creates an image file to the destination path. But when run the application the shell script is not getting executed. My code to call the shell script is given below Runtime runtime = Runtim

Re: [appfuse-user] Type mapping in hibernate.reveng.xml

2007-11-07 Thread Matt Raible
On Nov 7, 2007, at 8:20 AM, Josef Cacek wrote: Hello, On 11/7/07, Matt Raible <[EMAIL PROTECTED]> wrote: The filters you have listed are the same ones we have in the default hibernate.reveng.xml, so I don't know if your "it's being used" indicator is an accurate one. Thank you for the qu

Re: [appfuse-user] Type mapping in hibernate.reveng.xml

2007-11-07 Thread Josef Cacek
Hello, On 11/7/07, Matt Raible <[EMAIL PROTECTED]> wrote: > The filters you have listed are the same ones we have in the default > hibernate.reveng.xml, so I don't know if your "it's being used" indicator is > an accurate one. Thank you for the quick answer. It's really my own file used. When I'

Re: [appfuse-user] Type mapping in hibernate.reveng.xml

2007-11-07 Thread Matt Raible
On Nov 7, 2007, at 6:27 AM, Josef Cacek wrote: Hello, I'm trying to switch to AppFuse 2.0 in the new project (I've used 1.94 before), but I have problem with type mapping in the file hibernate.reveng.xml. I don't want to use primitive number types in my model classes so I've made following:

Re: [appfuse-user] shell script in java

2007-11-07 Thread jithesh
Hi, I feel one problem regarding the shell script execution. I am using appfuse 1.94 for my webapp. In my application i am using the following command to execute the shell script. The directory and file has all permissions. But when allplication runs the script is not getting executed. Ru

Re: [appfuse-user] lazy initialization failure @ service

2007-11-07 Thread Matt Raible
It matches on the interface name: If you've named your class with a different name, you can either 1) add the following to your Spring context file: Or 2) use @Transactional annotations on your class/methods. We recommend using annotations if it's a one-off. If you plan on naming more class

[appfuse-user] Type mapping in hibernate.reveng.xml

2007-11-07 Thread Josef Cacek
Hello, I'm trying to switch to AppFuse 2.0 in the new project (I've used 1.94 before), but I have problem with type mapping in the file hibernate.reveng.xml. I don't want to use primitive number types in my model classes so I've made following:

Re: [appfuse-user] Appfuse & Spring MV

2007-11-07 Thread Matt Raible
Can you please provide the exact steps you're using and the POJO you're trying to generate from? I'd like to try to reproduce your issue locally. Matt On 11/7/07, cloude1080 <[EMAIL PROTECTED]> wrote: > > I am trying to use appfuse to generate CRUD webpages for my little > application. I follow t

Re: [appfuse-user] Problem with Ajax and Struts2

2007-11-07 Thread Matt Raible
The Dojo example at the bottom of the following page may help: http://appfuse.org/display/APF/Ajax Matt On 11/7/07, sagarlotiya <[EMAIL PROTECTED]> wrote: > > When trying to use ajax using struts2's inbuild functionality in that > theme="ajax" doesn't not work inside the content which is rendere

Re: [appfuse-user] Integrating Captcha

2007-11-07 Thread Flavio Froes
thanks bro! On 11/7/07, Peter Schneider-Manzell <[EMAIL PROTECTED]> wrote: > > Maybe these links can help you: > > > http://jcaptcha.sourceforge.net/multiproject/jcaptcha-module-acegi/index.html > http://weblog.morosystems.cz/spring/Spring-Acegi-JCaptcha-integration > > Bye, > > Peter > > 2007/11/

Re: [appfuse-user] Integrating Captcha

2007-11-07 Thread Peter Schneider-Manzell
Maybe these links can help you: http://jcaptcha.sourceforge.net/multiproject/jcaptcha-module-acegi/index.html http://weblog.morosystems.cz/spring/Spring-Acegi-JCaptcha-integration Bye, Peter 2007/11/7, Flavio Froes <[EMAIL PROTECTED]>: > > heheehehe... > > You are right. Acegi handles the login

Re: [appfuse-user] use of embedded address in an other class

2007-11-07 Thread watcher
Hi ElBibich Did you find a solution to the problem. ElBibich wrote: > > Sorry, > > I have found issue just after having clicked the send button ;-) > > Julien Chanséaume. > > Julien C. a écrit : >> Hi list, >> >> (Spring MVC) >> I'm using the class Address in my Entreprise class. It's the

Re: [appfuse-user] Integrating Captcha

2007-11-07 Thread Flavio Froes
heheehehe... You are right. Acegi handles the login, so there is nos controler to handle the login (check security.xml for more details). I don't really know what is the best strategy to include capcha into the appfuse code. :D does anybody know? Flávio Oliva On 11/6/07, [EMAIL PROTECTED] <[EM

[appfuse-user] Problem with Ajax and Struts2

2007-11-07 Thread sagarlotiya
When trying to use ajax using struts2's inbuild functionality in that theme="ajax" doesn't not work inside the content which is rendered using ajax? Means i want to use theme="ajax" inside the content with is rendered using ajax. for e.g. i have two fiels main.jsp and include.jsp in main.jsp In

[appfuse-user] lazy initialization failure @ service SOLVED

2007-11-07 Thread jmowla
thanks, it works right now. i just added these lines to applicationContext.xml file mraible wrote: > > Does this work in a test? If so, then it's probably because your class > name doesn't end in Manager. > > Matt > -- View this message in context: http://www

Re: [appfuse-user] lazy initialization failure @ service

2007-11-07 Thread jmowla
yes, my class name does not end in Manager. :"> any simple advise ( except adding Manager post-fix to the class ;-) ) to make transaction support by the class. :blush: mraible wrote: > > Does this work in a test? If so, then it's probably because your class > name doesn't end in Manager. > > M

[appfuse-user] Appfuse & Spring MVC

2007-11-07 Thread cloude1080
I am trying to use appfuse to generate CRUD webpages for my little application. I follow the tutorial on the website but cant generate it. - The Archetype i pick was Spring MVC Modular. - I created a Person class with Annotation. - I run appfuse:gen & appfuse:install in the core directory. But t