Re: [appfuse-user] Database table not create- Newbie Question

2007-03-12 Thread tonylu880042
After I changing the Entity to javax.persistence.Entity. It works fine. Thanks. tony mraible wrote: > > You need to use javax.persistence.Entity, not the Entity annotation > from Hibernate Annotations. Hope that fixes the problem! > > Matt > > On 3/12/07, tonylu880042 <[EMAIL PROTECTED]> wrot

Re: [appfuse-user] Database table not create- Newbie Question

2007-03-12 Thread Matt Raible
You need to use javax.persistence.Entity, not the Entity annotation from Hibernate Annotations. Hope that fixes the problem! Matt On 3/12/07, tonylu880042 <[EMAIL PROTECTED]> wrote: Sure !! I follow the tutorial strictly. here is my model, package com.tcf.model; import javax.persistence.Col

Re: [appfuse-user] Database table not create- Newbie Question

2007-03-12 Thread tonylu880042
Sure !! I follow the tutorial strictly. here is my model, package com.tcf.model; import javax.persistence.Column; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import org.appfuse.model.BaseObject; import org.hibernate.annotations.

Re: [appfuse-user] Database table not create- Newbie Question

2007-03-12 Thread Matt Raible
That certainly is strange - it all looks correct. Do you have an @Entity annotation on your Person class? Matt On 3/12/07, tonylu880042 <[EMAIL PROTECTED]> wrote: tonylu880042 wrote: > > > I used the basic archetypes. > I checked the hibernate.cfg.xml for the Person class mapping. It was >

Re: [appfuse-user] DbUnit

2007-03-12 Thread wnqq
I tried "mvn dbunit:operation" but it did not work. However, "mvn post-integration-test" works fine with your suggested modifications. wnqq wrote: > > > If I wish to manually insert the data (namely, "ant db-load" in v1.x), > what configurations should I set, and what command should I execute

Re: [appfuse-user] DbUnit

2007-03-12 Thread wnqq
If I wish to manually insert the data (namely, "ant db-load" in v1.x), what configurations should I set, and what command should I execute? TIA. mraible wrote: > > If you add an to the dbunit plugin that executes in the > "post-integration-test" phase, that should solve your issue: > >

Re: [appfuse-user] How do I reuse a view(jsp) through SpringMVC

2007-03-12 Thread Jonathan Tse
Ivan, It works! Thanks. Best regards, Jonathan Ivancho wrote: You can set a new request variable named "order" before you do the include: Ivan Jonathan Tse wrote: Hi all, I don't know if my question make sense or not. I got a jsp (say, ViewOrder.jsp) displaying an order sum

RE: [appfuse-user] Message resource key strings not found

2007-03-12 Thread Garvey, Paul M \(GE Comm Fin\)
Thanks Corey, This resolved the issue. - Paul -Original Message- From: Sanders, Corey [mailto:[EMAIL PROTECTED] Sent: Monday, March 12, 2007 1:42 PM To: users@appfuse.dev.java.net Subject: RE: [appfuse-user] Message resource key strings not found The c:fmt tag assumes you setup a loca

Re: [appfuse-user] Database table not create- Newbie Question

2007-03-12 Thread tonylu880042
tonylu880042 wrote: > > > I used the basic archetypes. > I checked the hibernate.cfg.xml for the Person class mapping. It was > there. > the package of the class is com.tcf.model. > However, the table is still not created. Really upset now. > > the output of mvn compile hibernate3:hbm2ddl >

Re: [appfuse-user] Database table not create- Newbie Question

2007-03-12 Thread tonylu880042
I used the basic archetypes. I checked the hibernate.cfg.xml for the Person class mapping. It was there. the package of the class is com.tcf.model. However, the table is still not created. Really upset now. tonylu880042 wrote: > > hi, > I am new to appfuse 2.X . > I follow the tutorials to

Re: [appfuse-user] eclipse copy/paste/replace plugin

2007-03-12 Thread David Bernard
Hi benoit, There is a "Snippets" tool in one of the web/JSP plug ins. It seems to have been intended for JSP but I have used it with other source types. It allows you to create a template with substitutions. When you insert the '"Snippet" a dialog box asks for the values of the parameters to

Re: [appfuse-user] Maven commands

2007-03-12 Thread Matt Raible
cd web;mvn test On 3/12/07, Christopher Love <[EMAIL PROTECTED]> wrote: Hi all How do I just build and run the unit tests for a child project. For example I have demo-app -- web How do I just build and run tests for web? Chris -- http://raibledesigns.com -

[appfuse-user] Maven commands

2007-03-12 Thread Christopher Love
Hi all How do I just build and run the unit tests for a child project. For example I have demo-app -- web How do I just build and run tests for web? Chris

Re: [appfuse-user] low-end hosting? (was quality j2ee hosting)

2007-03-12 Thread Trent
On Mon, 12 Mar 2007 16:02:40 -0600, Matt Raible wrote > kgbinternet.com was discussed last week - $20/month for your own JVM > and Tomcat instance. I know they support MySQL, don't know about > PostgreSQL. They're the kind of company that would probably install > PostgreSQL for you though. I'll s

Re: [appfuse-user] Is there a declarative way to sort the results of a join collection?

2007-03-12 Thread Bryan Noll
Section 9.1.28 of the 'ejb-3_0-fr-spec-persistence.pdf' doc available here: http://jcp.org/en/jsr/detail?id=220 Bryan Noll wrote: Check out the @OrderBy annotation. romsrini wrote: I guess what I'm really asking is if there is a way to do the sort in the database for a collection return

Re: [appfuse-user] low-end hosting? (was quality j2ee hosting)

2007-03-12 Thread Matt Raible
kgbinternet.com was discussed last week - $20/month for your own JVM and Tomcat instance. I know they support MySQL, don't know about PostgreSQL. They're the kind of company that would probably install PostgreSQL for you though. Matt On 3/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: So

Re: [appfuse-user] Is there a declarative way to sort the results of a join collection?

2007-03-12 Thread Bryan Noll
Check out the @OrderBy annotation. romsrini wrote: I guess what I'm really asking is if there is a way to do the sort in the database for a collection returned from a join. For example, given the following code snippet from org.appfuse.model.User: @ManyToMany(fetch = FetchType.EAGER) @Jo

[appfuse-user] Is there a declarative way to sort the results of a join collection?

2007-03-12 Thread romsrini
I guess what I'm really asking is if there is a way to do the sort in the database for a collection returned from a join. For example, given the following code snippet from org.appfuse.model.User: @ManyToMany(fetch = FetchType.EAGER) @JoinTable( name="user_role", join

Re: [appfuse-user] low-end hosting? (was quality j2ee hosting)

2007-03-12 Thread bgiles
So what about low-end hosting? "eat your own dog food" sites, or for small niches where downtime is acceptable? I remember seeing ads for <$25 sites awhile back, but iirc most used mysql backends. (I was looking for postgresql) ---

[appfuse-user] el-ri.jar and el-api.jar when running JSF / Facelets Appfuse with Java 1.4.x

2007-03-12 Thread Jakobsen, Peder
Hi Folks, One for the mailing list archives here: If anyone is having trouble running 'ant test-all' under a Java 1.4.2 with a Facelets setup, you'll find the solution and the required files on my modest pseudo blog at http://www.jakobsen.ca/techblog I'm doing a lot of Facelets work, so if you

Re: [appfuse-user] getting started

2007-03-12 Thread heccarrillo
Thank you, Matt. I'll update and run it again. :-) mraible wrote: > > You need to use Ant 1.6.5 as a minimum - it looks like you're using 1.5.2. > > Matt > > On 3/12/07, heccarrillo <[EMAIL PROTECTED]> wrote: >> I am trying to launch appfuse on a box running the following: >> >> >> Fedora >

Re: [appfuse-user] getting started

2007-03-12 Thread Matt Raible
You need to use Ant 1.6.5 as a minimum - it looks like you're using 1.5.2. Matt On 3/12/07, heccarrillo <[EMAIL PROTECTED]> wrote: I am trying to launch appfuse on a box running the following: Fedora Tomcat 5.5.20 Ant MySQL Hibernate I ran ant with verbose and got the following: [EMAIL PR

[appfuse-user] Is it possible to have application-specific properties in settings.xml?

2007-03-12 Thread Matt Raible
Anyone know the answer to the following question? http://www.nabble.com/Is-it-possible-to-have-application-specific-properties-in-settings.xml--tf3363611s177.html#a9357756 If it's not possible to have application-specific settings, that's a big flaw in Maven's settings IMO. If I have the followi

[appfuse-user] getting started

2007-03-12 Thread heccarrillo
I am trying to launch appfuse on a box running the following: Fedora Tomcat 5.5.20 Ant MySQL Hibernate I ran ant with verbose and got the following: [EMAIL PROTECTED] appfuse]# ant -verbose new Apache Ant version 1.5.2-26 compiled on May 5 2004 Buildfile: build.xm

Re: [appfuse-user] quality j2ee hosting

2007-03-12 Thread Luke Shannon
http://rimuhosting.com Great customer service, dependable hardware. I have been with them for 3 years. Their VPS will probably fit the bill of what you are looking for. Luke On 3/12/07, wish wish <[EMAIL PROTECTED]> wrote: hi, we are in search of a good hosting company to hose our tomcat, my

Re: [appfuse-user] quality j2ee hosting

2007-03-12 Thread Matt Raible
If you're willing to pay for it, Contegix is the best hosting company I've ever worked with. They literally respond to any support requests in under a minute! http://contegix.com Matthew Porter is one of the founders and a good friend of mine. You can tell him I sent you if you like. Matt On

[appfuse-user] quality j2ee hosting

2007-03-12 Thread wish wish
hi, we are in search of a good hosting company to hose our tomcat, mysql app (appfuse 1.6.1).  we are not looking for the low cost solution since the app power hundreds client's business, so a mid to high end provider.  anyone has any good recommandation? TIA alex Mortgage rates as low as 4.625% -

RE: [appfuse-user] Where does currentMenu come from in cssHorizontalMenu.vm?

2007-03-12 Thread Sanders, Corey
Thanks for the response. We don't have that in our current version of the decorator, so I must have accidentally deleted it at some point. I'll add it back in. Thanks again. -- Corey From: Michael Horwitz [mailto:[EMAIL PROTECTED] Sent: Monday, March 12,

Re: [appfuse-user] Where does currentMenu come from in cssHorizontalMenu.vm?

2007-03-12 Thread Michael Horwitz
It is set by sitemesh when it assembles the page. If you look in /decorator/default.jsp: And you will see that each page has an entry of the form in its head. Mike. On 3/12/07, Sanders, Corey <[EMAIL PROTECTED]> wrote: I am working on customizing the menu display in cssHorizontalMenu.vm

RE: [appfuse-user] Message resource key strings not found

2007-03-12 Thread Sanders, Corey
The c:fmt tag assumes you setup a localization bundle. Does your web.xml also have this section? javax.servlet.jsp.jstl.fmt.localizationContext ApplicationResources Matt has some info on this on his site. http://raibledesigns.com/rd/entry/changing_struts_lt_bean_message -- Corey -O

[appfuse-user] Message resource key strings not found

2007-03-12 Thread masterg007
All: I am developing an application which has the xml snippet below included in me web.xml file. 404 /404.jsp However, when I enter a bad URL I am forwarded to my 404.jsp file but the jstl tag doesn't work. I get the errors below shown on my 404.jsp page. ???404.tit

[appfuse-user] Where does currentMenu come from in cssHorizontalMenu.vm?

2007-03-12 Thread Sanders, Corey
I am working on customizing the menu display in cssHorizontalMenu.vm and I am having some trouble with the currentMenu variable. It doesn't seem to ever get a value. Where is the currentMenu variable populated? Thanks, --- Corey Sanders Senior Software Developer Sterling Commerce, an AT&

RE: [appfuse-user] ASM, CIGLIB

2007-03-12 Thread Ding, Qin
I'll try to config it within action-servlet.xml and let you know what's happening. Thanks. Qin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: Monday, March 12, 2007 11:07 AM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] AS

Re: [appfuse-user] ASM, CIGLIB

2007-03-12 Thread Matt Raible
I wouldn't expect you to get logging out of webapp/listener or model because those are not configured by Spring. However, it is strange you're not seeing logging messages from your controllers. Maybe it's because the ApplicationContext is hierarchical and you need to configure this aspect in act

RE: [appfuse-user] ASM, CIGLIB

2007-03-12 Thread Ding, Qin
I use spring's MVC. I choose MVC because I understood that it is seamlessly integrated into spring's framework. Qin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: Monday, March 12, 2007 9:53 AM To: users@appfuse.dev.java.net Subject: Re

Re: [appfuse-user] Norwegian characters are not displayed correctly

2007-03-12 Thread Matt Raible
Can you please enter this as a bug in JIRA so we can track the change in our release notes? Thanks, Matt On 3/11/07, viggo <[EMAIL PROTECTED]> wrote: http://www.nabble.com/file/7086/norwegianCharacters.jpg -- View this message in context: http://www.nabble.com/Norwegian-characters-are-not-di

Re: [appfuse-user] Norwegian characters are not displayed correctly

2007-03-12 Thread Matt Raible
Hmmm, I may need a new version of ApplicationResources_no.properties then. If I changed it from ASCII to UTF8 in Notepad++, it changes: Detaljer følger to: Detaljer f魧er Of course, I can leave it as an ASCII file and process it with UTF8, but that doesn't seem right. Matt On 3/12/07, viggo

Re: [appfuse-user] Eclipse 3.2 building problems

2007-03-12 Thread Michael Horwitz
It does sound about right. There is still an outstanding issue with the Eclipse project plugin, but this should not affect AppFuse end users who simply depend on AppFuse jar files. I would suggest a check of the list of libraries in the Eclipse project to see if the required ones are present to sa

Re: [appfuse-user] Tomcat URL alteration + Eclipse Console message

2007-03-12 Thread Matt Raible
On 3/12/07, Matt Raible <[EMAIL PROTECTED]> wrote: On 3/12/07, Jon Loken <[EMAIL PROTECTED]> wrote: > Hi, > > Regarding Maven Archetype 'Spring MVC Basic', after setting M2_REPO > environmental variable, when running either 'mvn jetty:run-war' or 'mvn > integration-test' there was a problem downl

[appfuse-user] Re: quick Spring question

2007-03-12 Thread Bryan Noll
Dependency injection. I just ended up looking it up with a call to applicationContext.getBean(). I just thought I would use a class that Spring had available if one existed. Thanks... Matt Raible wrote: What functionality are you looking for? Dependency injection or automatic rollback afte

Re: [appfuse-user] http://appfuse.org/ is down?

2007-03-12 Thread Matt Raible
The repository is not Tomcat-based, it uses Apache (static.appfuse.org), so it should rarely (if ever) go down. If it does, it's probably a network or DNS issue. Of course, that could be on the appfuse.org side, and not on yours. ;-) Matt On 3/12/07, Tim Azzopardi <[EMAIL PROTECTED]> wrote:

Re: [appfuse-user] Eclipse 3.2 building problems

2007-03-12 Thread Matt Raible
These errors are likely because Eclipse isn't reading the dependencies from the WARs (using the warpath plugin). Does that sound right Mike? A lot of the JSP errors that Eclipse reports are invalid, but it sounds to me like it's barfing on imports. Matt On 3/12/07, yuccaplant <[EMAIL PROTECTED

Re: [appfuse-user] Tomcat URL alteration + Eclipse Console message

2007-03-12 Thread Matt Raible
On 3/12/07, Jon Loken <[EMAIL PROTECTED]> wrote: Hi, Regarding Maven Archetype 'Spring MVC Basic', after setting M2_REPO environmental variable, when running either 'mvn jetty:run-war' or 'mvn integration-test' there was a problem downloading tomcat. This was resolved by updating the to become

Re: [appfuse-user] ASM, CIGLIB

2007-03-12 Thread Matt Raible
Which web framework are you using? The reason you're probably not seeing log messages from your web framework is because those classes are not managed by Spring. Using AspectJ's compile-time-weaving should get you the behavior you desire. Matt On 3/12/07, Ding, Qin <[EMAIL PROTECTED]> wrote: Ma

RE: [appfuse-user] ASM, CIGLIB

2007-03-12 Thread Ding, Qin
Matt: thank you for replying my question. Actually, three jars asm-1.5.3.jar and asm-attrs-1.5.3.jar and asm-all-2.2.3.jar must all be in the classpath. I changed my pointcut definition to I thought that way I can see logging from all public methods within appfuse. However, now I can only se

RE: [appfuse-user] RE: Questions for 2.x: Archetypes and UI Testing

2007-03-12 Thread Jakobsen, Peder
Hi, If you have not tried Selenium, make sure you play with it for a couple of days before you make up your mind. For one, comparing Selenium to JMeter is perhaps a misunderstanding of what Selium is and what it can do. Also, if you always prefer Apache projects, these days it seems like some

[appfuse-user] RE: Questions for 2.x: Archetypes and UI Testing

2007-03-12 Thread Struts2 Fan
For UI Testing I think Apache JMeter is cool and it is well supported. I just looked at the selenium. It seems nice too but I always prefer Apache projects. -- View this message in context: http://www.nabble.com/Questions-for-2.x%3A-Archetypes-and-UI-Testing-tf3364157s2369.html#a9432984 Sent fro

Re: [appfuse-user] Eclipse 3.2 building problems

2007-03-12 Thread yuccaplant
Yes I did that (checked it again). Afterwards I did it the first time, there were a lot of import errors gone. In fact Eclipse doesn't give import-errors, but as far as I can see the errors are the result of missing resources. If I go to preferences -> Java builth path, Eclipse gives a warning: 57

Re: [appfuse-user] Eclipse 3.2 building problems

2007-03-12 Thread Michael Horwitz
Have you set up your Maven repository for use with Eclipse by running mvn - Declipse.workspace= eclipse:add-maven-repo? You can find details here: http://www.appfuse.org/display/APF/Eclipse or here http://maven.apache.org/plugins/maven-eclipse-plugin/usage.html Mike. On 3/12/07, yuccaplant <[EM

[appfuse-user] Eclipse 3.2 building problems

2007-03-12 Thread yuccaplant
I'm trying to start a simple struts2 project with appfuse, follow the instructions on the Wiki. In console everything goes fine, no building errors. I use Eclipse as my IDE, but when I import the project (after mvn eclipse:eclipse), I get a bunch of building errors: Clickstream cannot be resolved

Re: [appfuse-user] http://appfuse.org/ is down?

2007-03-12 Thread Tim Azzopardi
And hey presto its up again. That mailing list monitoring auto restart feature is working well! Tim Azzopardi wrote: > > I'm getting from http://appfuse.org/ > The Tomcat server is not answering > consitently > > (and now running appfuse2 I just saw > > [INFO] Repository 'appfuse' will be

[appfuse-user] http://appfuse.org/ is down?

2007-03-12 Thread Tim Azzopardi
I'm getting from http://appfuse.org/ The Tomcat server is not answering consitently (and now running appfuse2 I just saw [INFO] Repository 'appfuse' will be blacklisted Do I need to unblacklist somehow !!!???!!!) -- View this message in context: http://www.nabble.com/http%3A--appfuse.org--i

RE: [appfuse-user] Questions for 2.x: Archetypes and UI Testing

2007-03-12 Thread Jon Loken
Hi, 1. We have not upgraded from version 1.9.3 yet. Still need to research which is the best option. 2. We have made a number of changes to the AppFuse code and vote for having a full source archetype. It is true that upgrading AppFuse code will then be more cumbersome, but I must live with thi

[appfuse-user] Tomcat URL alteration + Eclipse Console message

2007-03-12 Thread Jon Loken
Hi, Regarding Maven Archetype 'Spring MVC Basic', after setting M2_REPO environmental variable, when running either 'mvn jetty:run-war' or 'mvn integration-test' there was a problem downloading tomcat. This was resolved by updating the to become http://apache.org/dist/tomcat/tomcat-5/v5.5.20/bin