[appfuse-user] appfuse:gen error appfuse2M5

2007-07-12 Thread mmaia
Hi, I get the following error while running mvn with -e option to get the error stack, have no idea about this error, first tryies with appfuse2M5, any ideas? [INFO] [ERROR] BUILD ERROR [INFO]

Re: [appfuse-user] AppFuse javadocs for version 2.x

2007-07-12 Thread Matt Raible
Unfortunately, they're not aggregated, but you can find them at: http://static.appfuse.org/ Matt On 7/12/07, Keralduk <[EMAIL PROTECTED]> wrote: Can't find AppFuse 2.x javadocs, there is only AppFuse javadocs for version 1.9.4. Maybe I can generate it using maven, but I don't know how :-(. --

[appfuse-user] AppFuse javadocs for version 2.x

2007-07-12 Thread Keralduk
Can't find AppFuse 2.x javadocs, there is only AppFuse javadocs for version 1.9.4. Maybe I can generate it using maven, but I don't know how :-(. -- View this message in context: http://www.nabble.com/AppFuse-javadocs-for-version-2.x-tf4071453s2369.html#a11570783 Sent from the AppFuse - User mai

Re: [appfuse-user] [Newbie] Need a guiding star for Acegi

2007-07-12 Thread AlanG
I would recommend Chapter 12 (Security) in Matt Raible's book title "Spring 1.x Primer" available from SourceBeat (http://www.sourcebeat.com/). About 98% of what is done with security in AppFuse 2.0M5 is directly covered in this chapter. It helped me very much in understanding what was being do

Re: [appfuse-user] Update User from another Manager

2007-07-12 Thread Dale Newfield
Michael Horwitz wrote: Any chance your action calls two managers and passes in an object obtained from the first manager to the second? Yes, but since I use OpenSessionInViewFilter, they're all part of a single session and should still be valid, correct? Also just to check that it is the sa

[appfuse-user] hard/soft 404s

2007-07-12 Thread Dale Newfield
Does anyone here have strong opinions about whether hard or soft 404s should be used? The main problem with /404.jsp is that the return code of any action that displays that as a result is still 200 (success)... ...I think it's possible to return both a nice page describing that there was a pro

Re: [appfuse-user] Error setup ldap in appfuse

2007-07-12 Thread Matt Raible
Are you using the following instructions? http://appfuse.org/display/APF/LDAP+Authentication Matt On 7/12/07, tiya <[EMAIL PROTECTED]> wrote: Hi, I was doing the ldap setup in my security.xml.But i am getting this exception..Help would be greatly appreciated. Thanks, Security.xml:

[appfuse-user] Error setup ldap in appfuse

2007-07-12 Thread tiya
Hi, I was doing the ldap setup in my security.xml.But i am getting this exception..Help would be greatly appreciated. Thanks, Security.xml: uid={0}

[appfuse-user] image editing

2007-07-12 Thread Niharika Mateti
Hi, In my web application I have to add functionality to allow a user to upload images, display them and adjust the brightness. The application is based on appfuse. I am using Websphere 6.0 (jdk 1.4). Could someone tell me if there are any jars that I can use. The previous application ( I am rew

Re: [appfuse-user] [Newbie] Need a guiding star for Acegi

2007-07-12 Thread Michael Horwitz
The ACEGI security website has an articles section. There are a few introductory type articles listed: http://www.acegisecurity.org/articles.html Also take a look at their suggested steps section. ACEGI can be a bit of a mind bender! Mike On 7/12/07, Mack Boonyoung <[EMAIL PROTECTED]> wrote:

[appfuse-user] [Newbie] Need a guiding star for Acegi

2007-07-12 Thread Mack Boonyoung
Dear all, Do you know where I can find the good tutorial/explanation for using the Acegi with the Spring Framework (from the ground up)? I downloaded the AppFuse and played around wif it for a while but couldn't figure it out how acegi worked. I'm super newbie and hope you will not consider

[appfuse-user] appfuse:gen|install creates faulty test classes for POJOs with fields of type Long?

2007-07-12 Thread Martin Homik
I have a POJO whose fields are of type Long. The generated action test class instantiates the POJO class and sets its fields to some initial random values (in onSetUpBeforeTransaction and testSave. It looks like this: link2Cat.setLinkId(4.878530667730682E8L); Although compilation is succ

Re: [appfuse-user] appfuse and SOAP

2007-07-12 Thread Boudewijn Rempt
On Thursday 12 July 2007, Matt Raible wrote: > This error below looks like it's caused by a permissions issue. That's what I checked first, but I've got all rights on /tmp, it's not full and I can add and remove files at will at that place: [EMAIL PROTECTED]:~$ ls -lrd /tmp/ drwxrwxrwt 19 root

Re: [appfuse-user] appfuse and SOAP

2007-07-12 Thread Matt Raible
This error below looks like it's caused by a permissions issue. On 7/12/07, Boudewijn Rempt <[EMAIL PROTECTED]> wrote: On Tuesday 10 July 2007, Martin Homik wrote: > Hi, > > I am new to AppFuse myself, so I apologize for an not too detailed answer. > Matt has pointed to a possible solution in f

Re: [appfuse-user] using ajax to render a chart in appfuse 2 m5

2007-07-12 Thread Matt Raible
I don't know enough about Charts to determine if they're using an HTML template loaded from a JAR file or anything like that. My guess is not. If you can render an image from going to a specific URL in your browser, you should be able to use a regular tag to point to that URL and render the image

Re: [appfuse-user] appfuse and SOAP

2007-07-12 Thread Boudewijn Rempt
On Tuesday 10 July 2007, Martin Homik wrote: > Hi, > > I am new to AppFuse myself, so I apologize for an not too detailed answer. > Matt has pointed to a possible solution in former thread which is here: > > http://www.nabble.com/Appfuse-2.0-%2B-Xfire-tf3141583s2369.html#a8711233 > > The Xfire home

RE: [appfuse-user] using ajax to render a chart in appfuse 2 m5

2007-07-12 Thread Travers Snyman
Thanks Matt for the reply, I am really quite confused. If I try src="/chart/ViewSimpleXYChart.html" I still get a There is no Action mapped for namespace /chart and action name Exception. I don't understand how the menu finds the action though. In menu-config I have which renders the c

Re: [appfuse-user] incomplete element type validators

2007-07-12 Thread Boudewijn Rempt
On Thursday 12 July 2007, Matt Raible wrote: > This is a known issue if you generate a UI from a POJO that has no > required fields. If you add not-null="true" to a @Column's definition, > at least one validation rule should be generated. Thanks, that has fixed it. > I suppose we could > make a

Re: [appfuse-user] TOmahawk error, TOmcat, jsf, hibernate

2007-07-12 Thread Matt Raible
Do you have a sortColumn property and getters/setters in your RadioList.java class? The error message is saying you don't. Matt On 7/8/07, chichi <[EMAIL PROTECTED]> wrote: Yes it does -- View this message in context: http://www.nabble.com/TOmahawk-error%2C-TOmcat%2C-jsf%2C-hibernate-tf401061

Re: [appfuse-user] RE: running appfuse on Tomcat 5.x and higher

2007-07-12 Thread Matt Raible
For Tomcat 6, if you remove el-api in your pom.xml, that should solve the problem. From appfuse-jsf's pom.xml: If you're using M5 and want to run in Tomcat 6.x, you'll need to use an on your appfuse-jsf/warpath dependency to exclude this dependency. Matt On 7/9/07, pet

Re: [appfuse-user] Error while executing ant test-dao -Dtestcase=PersonDao

2007-07-12 Thread Matt Raible
Did you modify your sample-data.xml to have a sample record? You need to do that, or manually add a Person to the database in your test. Matt On 7/9/07, Vishal S <[EMAIL PROTECTED]> wrote: Hello friends, JDK 1.5 Ant 1.6.5 Appfuse JSF 1.9.4 While following the quick start tutorial o

Re: [appfuse-user] Appfuse2 Spring MVC Long Running Controller

2007-07-12 Thread Matt Raible
You might try changing your maven-jetty-plugin to use version 6.1.4. Maybe a more recent version of Jetty will solve the problem. If that doesn't work, I'd suggest contacting the Jetty mailing list. http://www.nabble.com/Jetty-Support-f61.html Matt On 7/12/07, Robin1982 <[EMAIL PROTECTED]> wrot

Re: [appfuse-user] Appfuse2 Spring MVC Long Running Controller

2007-07-12 Thread Robin1982
mraible wrote: > > >> If disabling JavaScript causes only one request to go through, then >> the two-request issues is probably caused by some sort of >> onclick/onsubmit event on a form element. > >>Maybe the request is so large that Jetty is trying to "chunk" the >>data? I'm not sure. Can yo

RE: [appfuse-user] Reports with appfuse 1.94

2007-07-12 Thread Srini Bobbala
Struts -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: 12 July 2007 01:50 PM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] Reports with appfuse 1.94 Which web framework are you using? Jasper Reports or BIRT are the two lead

Re: [appfuse-user] incomplete element type validators

2007-07-12 Thread Matt Raible
This is a known issue if you generate a UI from a POJO that has no required fields. If you add not-null="true" to a @Column's definition, at least one validation rule should be generated. I suppose we could make appfuse:gen smarter to detect when no rules are specified. Matt On 7/12/07, Boudewij

[appfuse-user] incomplete element type validators

2007-07-12 Thread Boudewijn Rempt
I'm just starting out with appfuse, so when after following the video tutorial to the letter I get the following message when doing mvn integration-test. [INFO] [talledLocalContainer] [incipio-dummy] ERROR [http-8081-Processor24] DomHelper.error(347) | The content of element type "validators" is

Re: [appfuse-user] Reports with appfuse 1.94

2007-07-12 Thread Matt Raible
Which web framework are you using? Jasper Reports or BIRT are the two leading open souce reporting frameworks for Java. http://raibledesigns.com/rd/entry/using_jasperreports_with_appfuse_and1 Matt On 7/12/07, Srini Bobbala <[EMAIL PROTECTED]> wrote: Hi, Which is the best reporting tool fo

Re: [appfuse-user] Appfuse2 Spring MVC Long Running Controller

2007-07-12 Thread Matt Raible
On 7/12/07, Robin1982 <[EMAIL PROTECTED]> wrote: No it doesn't actually - it is only called the once now. If disabling JavaScript causes only one request to go through, then the two-request issues is probably caused by some sort of onclick/onsubmit event on a form element. However, the page

Re: [appfuse-user] using ajax to render a chart in appfuse 2 m5

2007-07-12 Thread Matt Raible
Looking at your action definition, I believe the URL should be src="/chart/ViewSimpleXYChart.html". Matt On 7/12/07, Travers Snyman <[EMAIL PROTECTED]> wrote: I think my problem has to do with struts namespaces. The jsp I am using the ajax call from is in the default package and the chart

Re: [appfuse-user] Update User from another Manager

2007-07-12 Thread Matt Raible
On 7/8/07, Dale Newfield <[EMAIL PROTECTED]> wrote: Matt Raible wrote: >> > The transaction boundaries are PROPOGATION_REQUIRED, which means >> > "participate in a transaction if one exists, otherwise, start a new >> > one". >> >> Where is this set? I've tried to update my AppFuse1.9.4 based ap

Re: [appfuse-user] about appfuse:gen

2007-07-12 Thread Matt Raible
On 7/12/07, chino fish <[EMAIL PROTECTED]> wrote: I tried to config many2one in the entity. I found appfuse:gen just ignore it ;-) Yes, currently AMP doesn't attempt to generate a UI for manytoone or manytomany relationships. It's something we can add, but only once we figure out the approp

[appfuse-user] Reports with appfuse 1.94

2007-07-12 Thread Srini Bobbala
Hi, Which is the best reporting tool for Appfuse 1.94? And any help? Thanks.

Re: [appfuse-user] Appfuse2 Spring MVC Long Running Controller

2007-07-12 Thread Robin1982
No it doesn't actually - it is only called the once now. However, the page still "times out" - i.e. the page goes blank after about 30 seconds (while the parsing is still active) but is not forwarded to the success page. Any ideas to solve this? Robin mraible wrote: > > Does this same beha

Re: [appfuse-user] Updating User problem

2007-07-12 Thread Mel Pison
Thanks! My error is on that part. I forgot to include a needed field on my form (hehe), and like what ive said before its becoz i modified some jsp files from the orginal files. Thanks again Mike!!! :D Michael Horwitz wrote: The key error here is "Duplicate entry 'admin' for key 2". It looks a

Re: [appfuse-user] Updating User problem

2007-07-12 Thread Richard Reyes
Hi All, Dale, How do we fix this under MySQL? Dale Newfield wrote: Michael Horwitz wrote: The key error here is "Duplicate entry 'admin' for key 2". It looks as if you are trying to save a user who already exists. Or you're just trying to signup in a newly created appfuse application, and t

RE: [appfuse-user] using ajax to render a chart in appfuse 2 m5

2007-07-12 Thread Travers Snyman
I think my problem has to do with struts namespaces. The jsp I am using the ajax call from is in the default package and the chart action in another package called "chart" because I have to extend jfreechart-default here. My problem is gives There is no Action mapped for namespace / and action

Re: [appfuse-user] 2 Problems about ConstraintViolationException

2007-07-12 Thread Richard Reyes
Please nevermind this, we have resolved this already. adriel manalansan wrote: Hello to everyone, I am using Appfuse 1.9.4 and Webwork. I have 2 hbm.xml files that I wrote like this: .

Re: [appfuse-user] Update User from another Manager

2007-07-12 Thread Michael Horwitz
On 7/12/07, Dale Newfield <[EMAIL PROTECTED]> wrote: Michael Horwitz wrote: > Matt is right - it definitely should work. I'm pretty sure I have done > this in the past without issue. Do you use spring1.x or spring2 ? I keep thinking my problem has to be in applicationContext-service.xml, and I

Re: [appfuse-user] Deleting Referenced User

2007-07-12 Thread Richard Reyes
Thanks :) Dale Newfield wrote: Richard Reyes wrote: Suppose this object is unknowingly reference by other objects and deleting it would throw a hibernate constraint exception. Good practice says go find those places where this is referenced, clean it out of there, then delete it. If you hav

Re: [appfuse-user] Deleting Referenced User

2007-07-12 Thread Dale Newfield
Richard Reyes wrote: Suppose this object is unknowingly reference by other objects and deleting it would throw a hibernate constraint exception. Good practice says go find those places where this is referenced, clean it out of there, then delete it. If you have relationships that you can't e

[appfuse-user] Deleting Referenced User

2007-07-12 Thread Richard Reyes
Hi All, We are using appfuse 1.9.4 webwork version. Usually on a specific DAO we have something like these... public void removePerson(Long id) { // object must be loaded before it can be deleted getHibernateTemplate().delete(getPerson(id)); } Suppose this object is unk

[appfuse-user] 2 Problems about ConstraintViolationException

2007-07-12 Thread adriel manalansan
Hello to everyone, I am using Appfuse 1.9.4 and Webwork. I have 2 hbm.xml files that I wrote like this: . . . Here ar

Re: [appfuse-user] Update User from another Manager

2007-07-12 Thread Dale Newfield
Michael Horwitz wrote: Matt is right - it definitely should work. I'm pretty sure I have done this in the past without issue. Do you use spring1.x or spring2 ? I keep thinking my problem has to be in applicationContext-service.xml, and I was looking for other (working) files to compare mine

Re: [appfuse-user] about appfuse:gen

2007-07-12 Thread chino fish
I tried to config many2one in the entity. I found appfuse:gen just ignore it ;-) isn't it ? -邮件原件- 发件人: chinofish [mailto:[EMAIL PROTECTED] 发送时间: 2007年7月11日 1:02 收件人: users@appfuse.dev.java.net 主题: Re: Re: [appfuse-user] about appfuse:gen in my sample-data.xml 1

Re: [appfuse-user] Updating User problem

2007-07-12 Thread Dale Newfield
Michael Horwitz wrote: The key error here is "Duplicate entry 'admin' for key 2". It looks as if you are trying to save a user who already exists. Or you're just trying to signup in a newly created appfuse application, and the sequence that issues ids for new rows doesn't know about the users

Re: [appfuse-user] Update User from another Manager

2007-07-12 Thread Michael Horwitz
Matt is right - it definitely should work. I'm pretty sure I have done this in the past without issue. In terms of transaction/session handling the OpenSessionInViewFilter should take care of making sure the session is opened/closed once per request. The tx advice interceptors on the manager metho

Re: [appfuse-user] Updating User problem

2007-07-12 Thread Michael Horwitz
The key error here is "Duplicate entry 'admin' for key 2". It looks as if you are trying to save a user who already exists. Normally this happens because you do not have a field in your form for the user id (this should be a hidden field). As a result, when your request goes back to Hibernate it

Re: [appfuse-user] Update User from another Manager

2007-07-12 Thread Dale Newfield
Michael Horwitz wrote: The thing to check with lazy loading exceptions is whether you have the OpenSessionInViewFilter enabled in your web.xml I do have that enabled, but this isn't in the view layer. This is while the action is running, it calls a manager which does stuff. I have some busi

Re: [appfuse-user] Update User from another Manager

2007-07-12 Thread Michael Horwitz
The thing to check with lazy loading exceptions is whether you have the OpenSessionInViewFilter enabled in your web.xml (or the OpenEntityManagerInViewFilter if you are using JPA). By default these are commented out to be friendly to the iBatis people. Mike. On 7/11/07, Dale Newfield <[EMAIL PRO