[appfuse-user] Why entitymanager.flush() and not @Transactional ?

2007-06-08 Thread VJ22
Hi, The latest source code for userDAO jpa has an explicit call to entityManager.flush() and is not within a @Transactional annotation ?? Any specific reason , is this due to the cache setup for the user entities ? Thanks...VJ -- View this message in context: http://www.nabble.com/Why-entitym

Re: [appfuse-user] Strange Struts2 error

2007-06-08 Thread Matt Raible
On 6/8/07, sarat.pediredla <[EMAIL PROTECTED]> wrote: Matt, It appears to be an appfuse m5 problem. See link http://www.nabble.com/forum/ViewPost.jtp?post=10851047&framed=y&skin=2369 Should a bug be raised for this? Yes, please enter a bug with the steps needed to reproduce it. Matt mr

Re: [appfuse-user] Strange Struts2 error

2007-06-08 Thread sarat.pediredla
Matt, It appears to be an appfuse m5 problem. See link http://www.nabble.com/forum/ViewPost.jtp?post=10851047&framed=y&skin=2369 Should a bug be raised for this? mraible wrote: > > I don't know if it will make a difference, but you might try > pre-pending a / on the result's value. > > /pa

Re: [appfuse-user] Appfuse New user

2007-06-08 Thread Matt Raible
For using AppFuse with Eclipse, there are two options: 1. Use Candy for AppFuse, an Eclipse 3.2 plugin. http://candy4appfuse.sourceforge.net 2. Use WTP from the Eclipse project: http://appfuse.org/display/APF/Eclipse#Eclipse-wtp Hope this helps! Matt On 6/8/07, Franco <[EMAIL PROTECTED]> wr

[appfuse-user] Appfuse New user

2007-06-08 Thread Franco
Hi All First of all my thanks to Matt. I came to know about Appfuse when I bought his book Spring Live. At that time, I thought it was a silly idea, that once I got a hang of all the "lightweight" technologies like Spring and Hibernate I could design write my own code. Not so easy, I got light h

Re: [appfuse-user] Converted Build to "inplace": jdbc config problem

2007-06-08 Thread Matt Raible
What do you mean when you say "converted" - war:inplace or appfuse:full-source? Matt On 6/8/07, Adam Sherman <[EMAIL PROTECTED]> wrote: I converted my build to be able to run jetty:run for development. Now my tests don't get the correct JDBC permissions. target/classes/jdbc.properties contains

[appfuse-user] Converted Build to "inplace": jdbc config problem

2007-06-08 Thread Adam Sherman
I converted my build to be able to run jetty:run for development. Now my tests don't get the correct JDBC permissions. target/classes/jdbc.properties contains the correct property values, but running: mvn -o -Dtest=BillingDaoTest -Dsurefire.useFile=false test Shows that it is trying to con

[appfuse-user] Appfuse 2.0 using Spring+Hibernate Performance Numbers or Benchmark done?

2007-06-08 Thread Sandhu
We are in the process of designing new application using Spring+HIbernate+JbossCache. Are there any just rough performance numbers? I know it depends on each application. -- View this message in context: http://www.nabble.com/Appfuse-2.0-using-Spring%2BHibernate-Performance-Numbers-or-Bench

RE: [appfuse-user] User/Role Query

2007-06-08 Thread Ding, Qin
Hi guys: I tried many ways of hql. It did not work. Yesterday, I tried using example and criteria api and it finally works the way I wanted. Thank you for your ideas. Qin -Original Message- From: Dale Newfield [mailto:[EMAIL PROTECTED] Sent: Friday, June 08, 2007 10:16 AM To: users@ap

Re: [appfuse-user] Browser error on jsp

2007-06-08 Thread Nathan Anderson
This could be anything. You may want to see if the same error exists in Firefox, and if so you should use Firebug to see where the problem is. If it is an IE7 only problem then it gets much harder to find the source of the problem. Nathan - Original Message - From: "jithesh" <[EMAIL

[appfuse-user] appfuse JSF --

2007-06-08 Thread Ding, Qin
Appfuse 1.9.4 and JSF is used here. 1). In some xhtml file, I see , others Where is xxx.bundleName is defined? When should I use basePage.bundleName or specific page bundleName? And where and how is this defined? 2. In the tutorial: "If you want to customize the CSS for a particul

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

2007-06-08 Thread Nathan Anderson
This looks like it might make a good wiki page. Could you make one? Thanks, Nathan - Original Message - From: "Sandhu" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Wednesday, June 6, 2007 2:57:21 PM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] Appfuse 2.0 M5 (M

Re: [appfuse-user] User/Role Query

2007-06-08 Thread Dale Newfield
Nathan Anderson wrote: That query seems like it should work if your users never have more than one role. Unfortunately I don't know off the top of my head what the query should look like if users can have more than one role. I'd guess something like: "from User u where ? in elements(u.roles)

Re: [appfuse-user] how to set in web.xml value from maven2 properties?

2007-06-08 Thread Matt Raible
Yes, I believe it's ${pom.version}. On 6/8/07, ros <[EMAIL PROTECTED]> wrote: Fit's well! Thanks! Does maven2 expose 1.0-SNAPSHOT as property? mraible wrote: > > This should help: > > http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html > > http://tin

Re: [appfuse-user] Weird Exception when running appfuse:gen in web

2007-06-08 Thread dusty
Thanks Matt. I am trying to get used to Maven. I fear change. -D mraible wrote: > > Have you run "mvn install" on the core module? > > On 6/7/07, dusty <[EMAIL PROTECTED]> wrote: >> >> I have a modular struts application using M5. I have ported over my >> model >> classes and everything wa

Re: [appfuse-user] User/Role Query

2007-06-08 Thread Nathan Anderson
That query seems like it should work if your users never have more than one role. Unfortunately I don't know off the top of my head what the query should look like if users can have more than one role. Nathan - Original Message - From: "Qin Ding" <[EMAIL PROTECTED]> To: users@appfuse.d

Re: [appfuse-user] how to set in web.xml value from maven2 properties?

2007-06-08 Thread ros
Fit's well! Thanks! Does maven2 expose 1.0-SNAPSHOT as property? mraible wrote: > > This should help: > > http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html > > http://tinyurl.com/26m7mn > > Matt > > On 6/8/07, ros <[EMAIL PROTECTED]> wrote: >> >>

Re: [appfuse-user] how to set in web.xml value from maven2 properties?

2007-06-08 Thread Matt Raible
This should help: http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html http://tinyurl.com/26m7mn Matt On 6/8/07, ros <[EMAIL PROTECTED]> wrote: Hi! I have some properties defined in pom.xml like: true ,channelProcessi

[appfuse-user] how to set in web.xml value from maven2 properties?

2007-06-08 Thread ros
Hi! I have some properties defined in pom.xml like: true ,channelProcessingFilter How I can set this valuesin web.xml: ${dwr.debug} log4j.xml: ${release.start} ${release.end} security.xml

Re: [appfuse-user] Struts2 double validator

2007-06-08 Thread Matt Raible
Struts is likely using a NumberConverter that's locale aware and since you're using a French locale (I'm assuming from your e-mail address), it expects a comma in the format. You should be able to override this behavior by providing a custom converter the particular type. http://cwiki.apache.org

Re: [appfuse-user] Can't run maven goals from within eclipse

2007-06-08 Thread Matt Raible
There was a similar question/answer posted to this mailing list yesterday: http://www.nabble.com/candy-4-appfuse-tf3879414s2369.html#a10995904 Matt On 6/8/07, Travers Snyman <[EMAIL PROTECTED]> wrote: Hi has anyone got this going ? I have eclipse 3.2.2, appfuse 2.0 m5 and maven 2.0.6 I

Re: [appfuse-user] Strange Struts2 error

2007-06-08 Thread Matt Raible
I don't know if it will make a difference, but you might try pre-pending a / on the result's value. /pages/issues/search.jsp Maybe you're editing the wrong struts.xml file? Matt On 6/8/07, sarat.pediredla <[EMAIL PROTECTED]> wrote: I am trying run an action called /search.html but I keep get

[appfuse-user] Can't run maven goals from within eclipse

2007-06-08 Thread Travers Snyman
Hi has anyone got this going ? I have eclipse 3.2.2, appfuse 2.0 m5 and maven 2.0.6 I created a project (basic struts archtype) command line and followed all instructions for eclipse integration. Running mvn eclipse:eclipse mvn -Declipse.workspace=C:\Source eclipse:add-maven-repo Installi

Re: [appfuse-user] Struts2 taglibs

2007-06-08 Thread Matt Raible
I don't know of one off the top of my head - I'd suggest using Google or posting a similar question to the Struts User list. Matt On 6/7/07, Fan <[EMAIL PROTECTED]> wrote: Any online tutorial for writing a customised tag ? mraible wrote: > > On 6/7/07, Martin Ravell <[EMAIL PROTECTED]> wrote

Re: [appfuse-user] Weird Exception when running appfuse:gen in web

2007-06-08 Thread Matt Raible
Have you run "mvn install" on the core module? On 6/7/07, dusty <[EMAIL PROTECTED]> wrote: I have a modular struts application using M5. I have ported over my model classes and everything was working well in core. I added my my classes to hibernate.cfg.xml and the hibernate plugin happiliy ge

Re: [appfuse-user] future upgrade from current 2.0

2007-06-08 Thread Matt Raible
On 6/8/07, thinkboy <[EMAIL PROTECTED]> wrote: hi, I have be using 1.x since a year ago. I am very happy with it. anyway, I am a fan of maven2 too, currently, feeling excited to give a try on 2.0M5 for my new project. but i have a bit of worry on the future upgrade from m5 to final release.

Re: [appfuse-user] what's the difference Archetype basic n module

2007-06-08 Thread muhammad ridho
hehehe.. n thx mike ..i got the point about your answers thx ridho Michael Horwitz wrote: I'm afraid I still do not really understand :-) Friday mornings are a bit slow. The http://static.appfuse.org/repository/ is a Maven repository. If you browse through it you will see it contains

Re: [appfuse-user] what's the difference Archetype basic n module

2007-06-08 Thread Michael Horwitz
I'm afraid I still do not really understand :-) Friday mornings are a bit slow. The http://static.appfuse.org/repository/ is a Maven repository. If you browse through it you will see it contains binary packages for AppFuse and some of the third party libraries it depends on (where these are not a

Re: [appfuse-user] what's the difference Archetype basic n module

2007-06-08 Thread muhammad ridho
thx mike to your info, about next question .i mean ...svn repos of AppFuse project with DremoteRepositories=http://static.appfuse.org/ and then what the relation of them . thx ridho Michael Horwitz wrote: In answer to your questions: 1) The Basic archetype consists of a single module

[appfuse-user] Struts2 double validator

2007-06-08 Thread benoit moraillon
Hi appfusers, I've an issue with Struts 2 DoubleRangeFieldValidator : when i submit my form with a x,xx value it works but not with x.xx. How can i do to allow x.xx value ? Write a custom validator ? Validate using regular expression ? Thanks for your help, -- BenoƮt.

Re: [appfuse-user] Lazy Loading problem in 2M5 struts basic

2007-06-08 Thread Michael Horwitz
Is the OpenSessionInView filter enabled in your web.xml? Mike On 6/8/07, arvinder <[EMAIL PROTECTED]> wrote: I am getting a lazy loading error in my customerForm when i try to retrieve the locations (children). I have read on the forum that it was fixed for everything, except for JSFin 2.0. A

Re: [appfuse-user] what's the difference Archetype basic n module

2007-06-08 Thread Michael Horwitz
In answer to your questions: 1) The Basic archetype consists of a single module which builds a single war file including all the classes, jsps, etc for your web application. 2) The Modular archetype consists of two modules: the core module, which includes the managers + daos (i.e. the service lay

[appfuse-user] Lazy Loading problem in 2M5 struts basic

2007-06-08 Thread arvinder
I am getting a lazy loading error in my customerForm when i try to retrieve the locations (children). I have read on the forum that it was fixed for everything, except for JSFin 2.0. Am I missing some setting? Another thing which I noticed was that if I made this as eager fetch with annotation the