Re: [appfuse-user] applicationResources from database

2009-04-05 Thread tonylu880042
Hi, The solution maybe http://www.codeproject.com/KB/java/SpringWithCommonConfig.aspx here I didn't try it myself, but I believe this can help you to solve the problem that you describe. Please check out the following link. http://www.codeproject.com/KB/java/SpringWithCommonConfig.aspx Best

Re: [appfuse-user] use maven but not manually install?

2009-03-12 Thread tonylu880042
Hi, If you don't mind please check out my blog in the following link, the post deal with just the same problem you encounter. http://tony880042.blogspot.com/2009/02/how-to-add-thrid-party-jar-file-into.html Best regards, tony Su-10 wrote: > > Hi there, > When add a dependency of google blo

[appfuse-user] Re: re[appfuse-user] move display tage table header

2009-03-12 Thread tonylu880042
Hi Maker, Try to update your displaytag resource file (displaytag_zh.properties) with correct located in src/main/resource folder or you can use mine, please http://www.nabble.com/file/p22488893/displaytag_zh.properties displaytag_zh.properties check out the attachment Best regards, http://tony8

Re: [appfuse-user] include google map function in .jsp

2009-03-12 Thread tonylu880042
Hi Marker, Try to update you default.jsp with following decorator statement. > than I bet your problem will be gone, Best regards, tony http://tony880042.blogspot.com maker su wrote: > > Hi All, > The result of body will not contain onload="initialize()" and > onunload="GUnload()". > So use

Re: [appfuse-user] How to move thrid party libraries to war file

2009-03-05 Thread tonylu880042
Yea, it works Thanks, tony mraible wrote: > > If you remove the scope=system and systemPath, it should work (if you > have your coordinates defined correctly). > > Matt > > On Mar 5, 2009, at 7:04 PM, tonylu880042 wrote: > >> >> Hi, >&g

Re: [appfuse-user] How to move thrid party libraries to war file

2009-03-05 Thread tonylu880042
/team. > > http://nexus.sonatype.org/ > > I recently switched AppFuse from using a file-based repository hosted > on Apache to Nexus at http://oss.sonatype.org. > > Cheers, > > Matt > > On Thu, Mar 5, 2009 at 6:17 PM, tonylu880042 > wrote: >> >>

[appfuse-user] How to move thrid party libraries to war file

2009-03-05 Thread tonylu880042
Hi people, I use several 3rd party libraries that is not in maven repository. So, in my pom.xml file's using system and specified the jar file in tag. It works in compile time, however, it would not work when run war because the war process not copy the jar files into war. Is there possible t

Re: [appfuse-user] [Solved]Compass index not gen when running ActionTest

2009-02-12 Thread tonylu880042
n can pass the action test. If you are interest about the detail please check out http://tony880042.blogspot.com/2009/02/how-to-generate-compass-index-when.html my blog Best regards, tony tonylu880042 wrote: > > Hi All, > I encouter a strange problem in my project with compass inte

Re: [appfuse-user] Mathematical formula implementation in Java/JEE

2009-02-11 Thread tonylu880042
Hi, I would like suggest you to use the GroovyShell from Groovy project. I use this in my web action for providing some rule customization just like your case. The advantage of using GroovyShell() is you can put your Java data model into GroovyShell and execute your script(Mathematical formula

[appfuse-user] Compass index not gen when running ActionTest

2009-02-10 Thread tonylu880042
Hi All, I encouter a strange problem in my project with compass integreted. The problem is the compass did not generate index when using the junit to test my action but the associated objects is create and persistence into database (I enabled the setComplete in my testcase). However, when I run

Re: [appfuse-user] How to redeploy the war without stop the jetty run by mvn

2009-02-08 Thread tonylu880042
is in: > http://appfuse.org/display/APF/AppFuse+QuickStart#AppFuseQuickStart-run > step 4. (but, watch out the reguards)! > i.e. run *mvn war:inplace* and run *mvn jetty:run*. > > Ice-Man > > > 2009/2/4 tonylu880042 > >> >> Hi there, >> As title, >

[appfuse-user] How to redeploy the war without stop the jetty run by mvn

2009-02-04 Thread tonylu880042
Hi there, As title, When I test and modify our web page. I have to turn off the jetty and run-war again. This can be waste a lot of time due to the slow computation capability. Does there exist a command like "ant deploy-web" and I don't need to restart the jetty ? Thanks, tony -- View this messa

Re: [appfuse-user] what did I miss in Using Hibernate tutorial ?

2009-01-18 Thread tonylu880042
Hi, You should also add the class mapping in src/test/resources/hibernate.cfg.xml. tony Marc_13 wrote: > > Hello, > > I have the following errors when running *'mvn test -Dtest=PersonDaoTest > -Dsurefire.useFile=false' *, while following the Hibernate tutorial: > testFindPersonByLastName(org.

Re: [appfuse-user] fail to make sitemesh to exclude the decorator

2008-06-23 Thread tonylu880042
on to the JSP. > > Matt > > > On Sun, Jun 22, 2008 at 9:31 PM, tonylu880042 <[EMAIL PROTECTED]> > wrote: > >> >> I am encountering a strange problem to exclude the decorator. I can't get >> rid >> of the sitemesh's decorator. >> I w

[appfuse-user] fail to make sitemesh to exclude the decorator

2008-06-22 Thread tonylu880042
I am encountering a strange problem to exclude the decorator. I can't get rid of the sitemesh's decorator. I want to use the dojo script to construct my user interface for an action call pjm.html. Here is my action setting: /WEB-INF/pages/pjm/

Re: [appfuse-user] Problems with ZipOutputStream

2007-03-19 Thread tonylu880042
The decorator.xml is already exclude the action. But the problem still there tonylu880042 wrote: > > This problems is not caused by appfuse. > If someone have been encountered this problem please give me some advice. > I wrote an action let user select some file store in the web

[appfuse-user] Problems with ZipOutputStream

2007-03-18 Thread tonylu880042
This problems is not caused by appfuse. If someone have been encountered this problem please give me some advice. I wrote an action let user select some file store in the web site and let them package download by ZipOutputStream. The problem is the generated zip file can not open because header s

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, tonylu880

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

2007-03-12 Thread tonylu880042
TODO Auto-generated method stub return null; } } mraible wrote: > > 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 PROTE

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

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 t

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

2007-03-10 Thread tonylu880042
hi, I am new to appfuse 2.X . I follow the tutorials to create a Person table by using "mvn compile hibernate3:hbm2ddl" command However, the Person table not show up. It was just created User/Role tables. Any suggestion will be appreciate. Best regards tony -- View this message in context