[appfuse-user] Appfuse 2.0 M5 (Modular Spring) - Oracle configuration

2007-06-05 Thread Sandhu
Right now, I am using appfuse with MySQL, I want to switch to Oracle 9i. Is there any quickguide to make it working? -- View this message in context: http://www.nabble.com/Appfuse-2.0-M5-%28Modular-Spring%29---Oracle-configuration-tf3875888s2369.html#a10982512 Sent from the AppFuse - User mail

Re: [appfuse-user] Runtime Error when using [appfuse:gen]

2007-06-05 Thread fadhli
Thanks for your speedy reply Matt. All the best for you ;-) On 6/6/07, Matt Raible <[EMAIL PROTECTED]> wrote: I haven't figured out a way to support @Embedded in AMP yet, and I probably won't before 2.0 Final. The fix I made today basically ignores @Embedded properties. I suggest you generate C

Re: [appfuse-user] Help & Advice on Hibernate JP

2007-06-05 Thread Fan
My initial design was one-to-many bidirectional. But after I have given more thoughts on this, the scenario is one club can have many facilities, whereby one facility can be shared by different clubs. So should it be many-to-many relationship instead ?? I am a bit blur on this :P fadhlirahim w

[appfuse-user] Test fails when looking for newly method added in Appfuse User class

2007-06-05 Thread fadhli
Hi all, I'm using Appfuse2.0-m5 with Spring MVC Basic. I recently exported the Appfuse core classes into my own project. I followed the instructions to include the following exclusions of the dependency in my project's pom.xml. org.appfuse appfuse-${web.framework}

Re: [appfuse-user] Runtime Error when using [appfuse:gen]

2007-06-05 Thread Matt Raible
I haven't figured out a way to support @Embedded in AMP yet, and I probably won't before 2.0 Final. The fix I made today basically ignores @Embedded properties. I suggest you generate CRUD w/o @Embedded and then add the fields to your JSP. I'm more than happy to accept a patch for supporting @Emb

Re: [appfuse-user] Runtime Error when using [appfuse:gen]

2007-06-05 Thread fadhli
Thanks for the reply Matt. But if I removed the @Embedded property, how will it effect the hibernate3:hbm2ddl to my class? I use the Address class in my Contact class. On 6/6/07, Matt Raible <[EMAIL PROTECTED]> wrote: Today I discovered this happens when you have a POJO with an @Embedded proper

Re: [appfuse-user] Runtime Error when using [appfuse:gen]

2007-06-05 Thread Matt Raible
Today I discovered this happens when you have a POJO with an @Embedded property. You can either remove it (temporarily) or use the 2.0-rc1-SNAPSHOT version of the plugin. Matt On 6/5/07, fadhli <[EMAIL PROTECTED]> wrote: Hello there, I'm using Appfuse 2.0-m5 with SpringMVC Basic. I've just us

Re: [appfuse-user] AMP not generating CRUD

2007-06-05 Thread ramil
Wrong package for my application, and imports i think for the Entity. fadhlirahim wrote: > > What was missing earlier? > > On 6/6/07, ramil <[EMAIL PROTECTED]> wrote: >> >> >> >> Finally generated CRUD for my class. My mistake! >> >> >> Thanks, >> >> >> Ramil >> >> >> >> ramil wrote: >> > >>

Re: [appfuse-user] Help & Advice on Hibernate JP

2007-06-05 Thread fadhli
Is the relationship between Club to Facility is a One-To-Many bidirectional r/ship? On 6/5/07, Fan <[EMAIL PROTECTED]> wrote: Hey All: I am new to Hibernate Annotations, currently I am building a club membership system using Appfuse 2.0-m5. I have designed the database structure & rela

Re: [appfuse-user] AMP not generating CRUD

2007-06-05 Thread fadhli
What was missing earlier? On 6/6/07, ramil <[EMAIL PROTECTED]> wrote: Finally generated CRUD for my class. My mistake! Thanks, Ramil ramil wrote: > > > Yes, > > > fadhlirahim wrote: >> >> Is there any class named MyClass in your model package? >> >> On 6/6/07, ramil <[EMAIL PROTECTED]>

[appfuse-user] Runtime Error when using [appfuse:gen]

2007-06-05 Thread fadhli
Hello there, I'm using Appfuse 2.0-m5 with SpringMVC Basic. I've just used the appfuse:gen command for my entity Contact and ran into a runtime error. However, the files are succesfully generated in the target/appfuse folder. FYI, I am not using the appfuse:full-source but I've exported the app

Re: [appfuse-user] AMP not generating CRUD

2007-06-05 Thread ramil
Finally generated CRUD for my class. My mistake! Thanks, Ramil ramil wrote: > > > Yes, > > > fadhlirahim wrote: >> >> Is there any class named MyClass in your model package? >> >> On 6/6/07, ramil <[EMAIL PROTECTED]> wrote: >>> >>> >>> Hi, >>> >>> Just started using appfuse amp 2.0M

Re: [appfuse-user] Tomcat SSL

2007-06-05 Thread Nigel in NZ
Phillip, I have not forgotten this request, I take a fair amount of good info from the Appfuse forum it is time for me to give back. I will post something over the next couple of days. Thanks Nigel Philip Barlow wrote: > > Hi Nigel, > > Would you be willing to put up a short walk through of

Re: [appfuse-user] AMP not generating CRUD

2007-06-05 Thread ramil
Yes, fadhlirahim wrote: > > Is there any class named MyClass in your model package? > > On 6/6/07, ramil <[EMAIL PROTECTED]> wrote: >> >> >> Hi, >> >> Just started using appfuse amp 2.0M5 using Spring MVC as the archetype. >> When >> i tried to execute mvn appfuse:gen -Dentity=MyClass, nothi

Re: [appfuse-user] AMP not generating CRUD

2007-06-05 Thread fadhli
Is there any class named MyClass in your model package? On 6/6/07, ramil <[EMAIL PROTECTED]> wrote: Hi, Just started using appfuse amp 2.0M5 using Spring MVC as the archetype. When i tried to execute mvn appfuse:gen -Dentity=MyClass, nothing is generated in the source\smartchat\target\appfuse

[appfuse-user] AMP not generating CRUD

2007-06-05 Thread ramil
Hi, Just started using appfuse amp 2.0M5 using Spring MVC as the archetype. When i tried to execute mvn appfuse:gen -Dentity=MyClass, nothing is generated in the source\smartchat\target\appfuse\generated-sources folder. Am I missing something? I followed the tutorial on AMP for generating CRUD fo

Re: [appfuse-user] Java 5 Enums Persistence :: How-to

2007-06-05 Thread celeraman+
I will try my best to post a Wiki page under the Persistence Tutorial section. By the way, a tiny revision about my previous post... where you read this: private IdentidadeDocTipos tipo; please, read this: private Sex sex; Best regards, celeraman+ melinate wrote: > > That look

[appfuse-user] fail with Italian locale

2007-06-05 Thread nothingman
Hi, I'm running appfuse 2.0 M5 on linux (opensuse 10.2 with maven 2.0.6 and jdk 1.5.0). If I run integration test with Italian locale the AddUser test fail: > >AddUser: >[INFO] >[ERROR] BUILD ERROR >[INFO] --

Re: [appfuse-user] Appfuse websites

2007-06-05 Thread alam chard
I had problems with the JSF/MyFaces archetype and Icefaces when I tried using both of them. It seemed like there were conflicts in the libraries. I did not really understood how to make Icefaces use MyFaces instead of JSF. I tried Spring MVC plus Icefaces and it worked wihtout much difficulty so

[appfuse-user] User/Role Query

2007-06-05 Thread Ding, Qin
If I have users with different roles in the set, how can I query user object to get a list of users with a particular role? Role role = new Role("team lead"); getHibernateTemplate().find("from User u where u.roles = ? ", role); Thanks. QD -

Re: [appfuse-user] Appfuse websites

2007-06-05 Thread Bryan Noll
Spring MVC + ICEFaces seems like an odd combination. JSF/MyFaces + ICEFaces would seem like the natural fit. I did this in an appfuse 1.9.x based app (I'm planning on writing up a howto for the wiki sooner or later). Did you find it overly difficult to make Spring MVC and ICEFaces play nice

Re: [appfuse-user] BindingResult

2007-06-05 Thread Aled Rhys Jones
Still stuck with this one, though thanks to Matt for pointing out how the ControllerClassNameHandlerMapping works, I had indeed named my jsp incorrectly. I'm getting an error when clicking from a model list page to a model detail page. So far I've made pages for Url and Company models. Both

Re: [appfuse-user] Appfuse websites

2007-06-05 Thread alam chard
Hi All, We are also building a webapp using AppFuse (Spring MVC archetype) plus Icefaces (www.icefaces.org). It is a web conferencing application that allows you to show slide presentations online. It's somewhat like a poor man's WebEx. We also used Asterisk (www.asterisk.org) as the voice conf

Re: [appfuse-user] Data Access Failure using Hibernate.

2007-06-05 Thread Sandhu
Thanks. I had old jar file. I removed it and it started working. mraible wrote: > > This happens when you haven't registered Person in hibernate.cfg.xml. > If you've already registered it, check for duplicate hibernate.cfg.xml > files in your project. > > Matt > > On 6/5/07, Sandhu <[EMA

[appfuse-user] Appfuse (1.9) and XFire...

2007-06-05 Thread Dale Newfield
I'm working on a project based on appfuse 1.9.4. Very late in the game I've realized I'll need to have completely disconnected use of this app. I've settled (I think) on a mechanism whereby divergent operations on multiple instances should happen in a way that will hopefully prevent them from

Re: [appfuse-user] Display issue with s:datetimepicker?

2007-06-05 Thread Matt Raible
I haven't seen #1, but I have seen #2. There is some css in andreas01's layout.css that adds borders around images. Here's the rule you'll want to look for: div#main img { padding: 1px; display: inline; background: #cc;

Re: [appfuse-user] Data Access Failure using Hibernate.

2007-06-05 Thread Matt Raible
This happens when you haven't registered Person in hibernate.cfg.xml. If you've already registered it, check for duplicate hibernate.cfg.xml files in your project. Matt On 6/5/07, Sandhu <[EMAIL PROTECTED]> wrote: In appfuse, if I enter person first name and last name, click add, it shows the

[appfuse-user] Display issue with s:datetimepicker?

2007-06-05 Thread pcberg
I followed this howto for the s:datetimepicker: http://www.nabble.com/Re%3A-ajax-and-datepicker-on-2m4-p10828138.html (from http://issues.appfuse.org/browse/APF-739) I'm using firefox 2.0.0.4 and appfuse M5. Two small issues: 1. The first time I press the calendar button it flashes open very br

Re: [appfuse-user] acegi/menu problem

2007-06-05 Thread Bryan Noll
That worked... thanks a bunch. Matt Raible wrote: In 2.4.2 of Struts Menu, we changed to do the permission checking w/in the template itself. I tried to make it work in Java code, but was never successful. So rather than beating my head against the wall, I made that change. If you grab cssHorizo

[appfuse-user] Data Access Failure using Hibernate.

2007-06-05 Thread Sandhu
In appfuse, if I enter person first name and last name, click add, it shows the following error message on screen but no exception or log in the tomcat container log. Data Access Failure Unknown entity: org.appfuse.tutorial.model.Person; nested exception is org.hibernate.MappingException: Unkno

Re: [appfuse-user] Java 5 Enums Persistence :: How-to

2007-06-05 Thread Nathan Anderson
That looks pretty cool. Do you think you could add a Wiki page for this. It would be easier to find there if someone needed enums in their project. Thanks, Nathan - Original Message - From: "celeraman+" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Monday, June 4, 2007 7:01

Re: [appfuse-user] Struts2

2007-06-05 Thread Nathan Anderson
There is some JavaScript that runs "out of the box" that looks for a link in the first column of a table and applies it to the entire row. I'm guessing this is causing the problem you describe. Look for the following in listGames.jsp and comment it out to see if this is the problem: highlig

Re: [appfuse-user] Appfuse 2.0 M5 Hibernate Issue using Person?

2007-06-05 Thread Sandhu
Issue Resolved: If you run from core mvn compile hibernate3:hbm2ddl It was throwing the following error message [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid. It w ill be ignored

Re: [appfuse-user] Appfuse Repository downloading hangs - How to do offline?

2007-06-05 Thread Michael Horwitz
Use mvn -o install eclipse:eclipse Mike. On 6/5/07, Sandhu <[EMAIL PROTECTED]> wrote: I am trying to do mvn install eclipse:eclipse However, lot of times, when it tries to download from (e.g) Downloading: http://static.appfuse.org/repository/javax/transaction/jta/1.0.1B/j ta-1.0.1B-javadoc

[appfuse-user] Appfuse Repository downloading hangs - How to do offline?

2007-06-05 Thread Sandhu
I am trying to do mvn install eclipse:eclipse However, lot of times, when it tries to download from (e.g) Downloading: http://static.appfuse.org/repository/javax/transaction/jta/1.0.1B/j ta-1.0.1B-javadoc.jar It is taking a long time. How can I make it not to download from http://static.appfu

Re: [appfuse-user] About Acegi security in appfuse 1.9.4

2007-06-05 Thread Haotian Sun
Thanks Matt. Haotian Matt Raible wrote: From the javadocs for PathBasedFilterInvocationDefinitionMap (http://tinyurl.com/29talb): The order of registering the Ant paths using the addSecureUrl(String, ConfigAttributeDefinition) is very important. The system will identify the first matching pat

Re: [appfuse-user] Multiple DisplayTag on a Page

2007-06-05 Thread Adam Sherman
On Jun 5, 2007, at 10:38, Matt Raible wrote: On 6/5/07, Adam Sherman <[EMAIL PROTECTED]> wrote: On Jun 5, 2007, at 9:43, Matt Raible wrote: > In some tables, you're using name="..." vs. name="${...}" in some > other tables. I'd recommend you try to be consistent. You shouldn't > need ${...} A

Re: [appfuse-user] About Acegi security in appfuse 1.9.4

2007-06-05 Thread Matt Raible
From the javadocs for PathBasedFilterInvocationDefinitionMap (http://tinyurl.com/29talb): The order of registering the Ant paths using the addSecureUrl(String, ConfigAttributeDefinition) is very important. The system will identify the first matching path for a given HTTP URL. It will not proceed

Re: [appfuse-user] Multiple DisplayTag on a Page

2007-06-05 Thread Matt Raible
On 6/5/07, Adam Sherman <[EMAIL PROTECTED]> wrote: On Jun 5, 2007, at 9:43, Matt Raible wrote: > In some tables, you're using name="..." vs. name="${...}" in some > other tables. I'd recommend you try to be consistent. You shouldn't > need ${...} AFAIK. If that doesn't help, try adding a "uid" a

[appfuse-user] Help & Advice on Hibernate JPA

2007-06-05 Thread Fan
Hey All: I am new to Hibernate Annotations, currently I am building a club membership system using Appfuse 2.0-m5. I have designed the database structure & relationship for this project. However I have a problem of using hibernate to generate the tables and maintaining persistence. I hope

Re: [appfuse-user] Multiple DisplayTag on a Page

2007-06-05 Thread Adam Sherman
On Jun 5, 2007, at 9:43, Matt Raible wrote: In some tables, you're using name="..." vs. name="${...}" in some other tables. I'd recommend you try to be consistent. You shouldn't need ${...} AFAIK. If that doesn't help, try adding a "uid" attribute. From http://displaytag.sourceforge.net/11/disp

Re: [appfuse-user] Running integraiton-test after appfuse:full-source

2007-06-05 Thread Matt Raible
On 6/4/07, fadhli <[EMAIL PROTECTED]> wrote: Hi Matt, Just for the sake of testing the appfuse full source, I decided to start a new fresh project for it. So what I did was creating a new Spring MVC Basic project.. mvn archetype:create -DarchetypeGroupId= org.appfuse -DarchetypeArtifactId=appf

Re: [appfuse-user] Multiple DisplayTag on a Page

2007-06-05 Thread Matt Raible
In some tables, you're using name="..." vs. name="${...}" in some other tables. I'd recommend you try to be consistent. You shouldn't need ${...} AFAIK. If that doesn't help, try adding a "uid" attribute. From http://displaytag.sourceforge.net/11/displaytag/tagreference.html: uid Unique

[appfuse-user] Multiple DisplayTag on a Page

2007-06-05 Thread Adam Sherman
I'm building "dashboard" page that has a bunch of tables on it. Everything was working nicely until I added one more. I get a very strange error: [vsm] WARN [btpool0-2] LookupUtil. (99) | Exception: [.LookupUtil] Error looking up property "username" in object type "com.versature.vsm.model.Ti

Re: [appfuse-user] Appfuse Xfire Performance (OTA)

2007-06-05 Thread Matt Raible
Yes, this is certainly possible. In xfire-servlet.xml, comment out the jaxbTypeMappingRegistry bean and add the following xmlbeansTypeRegistry bean: Then change the handlerMapping bean to point to xmlbeansTypeRegistry as its typeMappingRegistry: I'm going to ma

[appfuse-user] About Acegi security in appfuse 1.9.4

2007-06-05 Thread Haotian Sun
Hi all, I just have an interesting question about the order of URL patterns for odbjectDefintionSource in FilterSecurityInterceptor. The following is the original configuration from appfuse's securtity in version 1.9.4 class="org.acegisecurity.intercept.web.FilterSecurityInterceptor">

Re: [appfuse-user] @PersistenceContext in Appfuse

2007-06-05 Thread Matt Raible
Yes. On 6/5/07, VJ22 <[EMAIL PROTECTED]> wrote: Hello, Just wanted to confirm if the default creation of the entity manager is thread safe and transactional aware as defined in the app fuse configuration files ? Thanks...VJ -- View this message in context: http://www.nabble.com/%40Persistenc

[appfuse-user] @PersistenceContext in Appfuse

2007-06-05 Thread VJ22
Hello, Just wanted to confirm if the default creation of the entity manager is thread safe and transactional aware as defined in the app fuse configuration files ? Thanks...VJ -- View this message in context: http://www.nabble.com/%40PersistenceContext-in-Appfuse-tf3870153s2369.html#a10964655

Re: [appfuse-user] one to many problem on appfuse2.0-m4

2007-06-05 Thread GBSGBSGBS
showing me some details such as error messages may help i dont get what the problem exactly is which u faced make sure ur tables were seting up properly, and ur jsp tags were right -- View this message in context: http://www.nabble.com/one-to-many-problem-on-appfuse2.0-m4-tf3731354s2369.html#a1