Re: [appfuse-user] refreshOnShow

2007-01-12 Thread simon wu
Thanks for your reply. :) On 1/13/07, Matt Raible <[EMAIL PROTECTED]> wrote: http://getfirebug.com - yes, it's absolutely free and awesome. http://appfuse.org/display/APF/Web Matt

Re: [appfuse-user] refreshOnShow

2007-01-12 Thread Matt Raible
http://getfirebug.com - yes, it's absolutely free and awesome. http://appfuse.org/display/APF/Web Matt On 1/12/07, simon wu <[EMAIL PROTECTED]> wrote: Hi Matt, What's the Firegubg you mentioned ? Is it a freeware to debug JavaScript? simon.wu On 1/13/07, Matt Raible < [EMAIL PROTECTED

Re: [appfuse-user] refreshOnShow

2007-01-12 Thread simon wu
Hi Matt, What's the Firegubg you mentioned ? Is it a freeware to debug JavaScript? simon.wu On 1/13/07, Matt Raible <[EMAIL PROTECTED]> wrote: Can you install Firegubg and see what the JS errors are? I've had issues with Dojo and Scriptaculous - sometimes they conflict and cause issues. I

Re: [appfuse-user] [ANN] AppFuse 2.0 M2 Released!

2007-01-12 Thread Rene Lavoie
Congratulation guys, nice work. Ren - Original Message - From: "Matt Raible" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "AppFuse" Sent: Friday, January 12, 2007 8:40 PM Subject: [appfuse-user] [ANN] AppFuse 2.0 M2 Released! All, We've reached quite a milestone in the developmen

Re: [appfuse-user] Appfuse 2 + Intellij IDEA

2007-01-12 Thread Matt Raible
Yes, this is what I prefer when using Maven 2. If its a single-module project, I sometimes use Eclipse. You can make multi-module projects work in Eclipse (delete .project, file > import), but it doesn't explicitly support it. Matt On 1/12/07, Philip J Brown <[EMAIL PROTECTED]> wrote: Matt,

RE: [appfuse-user] Appfuse 2 + Intellij IDEA

2007-01-12 Thread Philip J Brown
Matt, Just out of curiosity, what environment do you personally use? IntelliJ and Jetty? Philip J. Brown President, TechC3 Inc. 2931 S. Buchanan St, Suite 400 Arlington, VA 22206-1503 (703) 236-3503 (Work) (703) 989-5561 (Cell) [EMAIL PROTECTED] -Original Message- From: Matt Rai

Re: [appfuse-user] refreshOnShow

2007-01-12 Thread Matt Raible
Can you install Firegubg and see what the JS errors are? I've had issues with Dojo and Scriptaculous - sometimes they conflict and cause issues. I'd suggest removing Scriptaculous from your decorator or waiting until Struts 2.0.3 is released this weekend. Matt On 1/12/07, André Faria <[EMAIL P

[appfuse-user] refreshOnShow

2007-01-12 Thread André Faria
the attribute refreshOnShow on s:div aren't work - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] Appfuse 2 and Appgen

2007-01-12 Thread Matt Raible
On 1/12/07, Ron Chan <[EMAIL PROTECTED]> wrote: thanks found this, just what I was looking for http://static.appfuse.org/plugins/appfuse-maven-plugin/plugin-info.html so quite a way off from having appgen functionality :( Yes, but we plan to work on it a lot in the next few weeks. If you'd

Re: [appfuse-user] UsernameNotFoundException redirect to login

2007-01-12 Thread Matt Raible
Possibly. Are you throwing this exception yourself? It is an Acegi exception or an AppFuse one? Matt On 1/12/07, Jonathan Tse <[EMAIL PROTECTED]> wrote: Hi all, I found that when UsernameNotFoundException is thrown in Controller, appfuse will re-direct me to the login page. I am curious

Re: [appfuse-user] Struts 2 WildCards

2007-01-12 Thread André Faria
That's the solution that I found... PessoaAction action = new PessoaAction(); applicationContext.getAutowireCapableBeanFactory().autowireBeanProperties(action, AUTOWIRE_BY_NAME, false); André Faria escreveu: Someone test use struts 2 wildcards? Like: class="br.com.bluesoft.tec.web.action.ca

[appfuse-user] Struts 2 WildCards

2007-01-12 Thread André Faria
Someone test use struts 2 wildcards? Like: class="br.com.bluesoft.tec.web.action.cadastro.RedeAction" method="{1}"/> how to declare in a the action in RedeActionTest to Spring inject it. I tried private RedeAction redeAction; setRede... but thats didnt works -

RE: [appfuse-user] AppFuse on ORACLE and OC4J (Standalone)

2007-01-12 Thread Smiley, Stuart A.
Your ant or maven build should have replaced @DB-DRIVERNAME@ with the appropriate driver for your database. I don't know the exact place in the build process or the file where the replacement is done, but you should be able to use the search features of your IDE to find them both relatively qui

Re: [appfuse-user] AppFuse on ORACLE and OC4J (Standalone)

2007-01-12 Thread Hariprasad Davanagere
Hi,I am getting the following error. Application packaging and deployment was working fine till now. Any clue as to what is going on,ThanksHariCannot load JDBC driver class '@DB-DRIVERNAME@'oracle.classloader.util.AnnotatedClassNotFoundException:    Missing clas

Re: [appfuse-user] Appfuse 2 and Appgen

2007-01-12 Thread Ron Chan
thanks found this, just what I was looking for http://static.appfuse.org/plugins/appfuse-maven-plugin/plugin-info.html so quite a way off from having appgen functionality :( Bryan Noll-2 wrote: > > It would be easier to answer that by just directing you here: > > http://appfuse.org/ > http:

Re: [appfuse-user] testSave fails: ObjectRetrievalFailureException

2007-01-12 Thread Bernd Putsche
did you use autoincrement for your ids? /** * Getter for Id. * @return Id * @hibernate.id column="id" generator-class="increment" unsaved- value="null" */ public Long getId() { return id; } On Jan 12, 2007, at 4:31 PM, Stefan Malär wrot

Re: [appfuse-user] Appfuse 2 and Appgen

2007-01-12 Thread Bryan Noll
It would be easier to answer that by just directing you here: http://appfuse.org/ http://appfuse.org/display/APF/AppFuse+QuickStart http://appfuse.org/display/APF/Demos+and+Videos If you have specific questions after peaking at that stuff, please feel free to post back. Ron Chan wrote: What

Re: [appfuse-user] Appfuse 2 and Appgen

2007-01-12 Thread Ron Chan
What functionalities does it currently have? Thanks Ron Michael Horwitz wrote: > > No. AppFuse 2.0 will use the appfuse-maven-plugin to provide the same > functionality as AppGen. I believe some development work is still required > before the plugin will provide all of the functionality as per

Re: [appfuse-user] Appfuse 2 and Appgen

2007-01-12 Thread Michael Horwitz
No. AppFuse 2.0 will use the appfuse-maven-plugin to provide the same functionality as AppGen. I believe some development work is still required before the plugin will provide all of the functionality as per AppGen. Mike. On 1/12/07, Ron Chan <[EMAIL PROTECTED]> wrote: does(will) Appfuse 2 i

[appfuse-user] Appfuse 2 and Appgen

2007-01-12 Thread Ron Chan
does(will) Appfuse 2 include appgen? -- View this message in context: http://www.nabble.com/Appfuse-2-and-Appgen-tf2967053s2369.html#a8302045 Sent from the AppFuse - User mailing list archive at Nabble.com. - To unsubscribe, e-

[appfuse-user] UsernameNotFoundException redirect to login

2007-01-12 Thread Jonathan Tse
Hi all, I found that when UsernameNotFoundException is thrown in Controller, appfuse will re-direct me to the login page. I am curious to know which configuration has done this trick? The exceptionTranslationFilter in security.xml? Thanks for your kind attention Best regards, Jonathan --

Re: [appfuse-user] Service module in Modular application

2007-01-12 Thread Sib
Thanks Matt, 2.0 is coming along great by the way. Thanks to you and team Appfuse. Sib On 1/12/07, Matt Raible <[EMAIL PROTECTED]> wrote: Core is the service and data modules combined. IMO, there's no reason to split these up unless there's 2 different data modules. Matt On 1/12/07, Sib <[E

Re: [appfuse-user] Service module in Modular application

2007-01-12 Thread Matt Raible
Core is the service and data modules combined. IMO, there's no reason to split these up unless there's 2 different data modules. Matt On 1/12/07, Sib <[EMAIL PROTECTED]> wrote: Hi folks, In version 2.0 in any of the modular versions with 2 main projects "core" and "web" how would I ensure that

[appfuse-user] Service module in Modular application

2007-01-12 Thread Sib
Hi folks, In version 2.0 in any of the modular versions with 2 main projects "core" and "web" how would I ensure that I have a service module in there. Would I, in core, include 2 new projects "Data" and "Service" or is "core" in fact the data project? Thanks, Sib

Re: [appfuse-user] testSave fails: ObjectRetrievalFailureException

2007-01-12 Thread Stefan Malär
For me worked: public void testSavePerson() throws Exception { person = new Person(); person.setFirstName("Stefan"); person.setLastName("Malaer"); dao.savePerson(person); person = dao.getPerson(new Long(1)); person.setFirstName("Ste

Re: [appfuse-user] Appfuse 2.0 and Tomcat

2007-01-12 Thread Matt Raible
On 1/12/07, Fan <[EMAIL PROTECTED]> wrote: Matt, Well done !! there is a good idea. Instead of searching through those common doubts in this forum, we can quickly get the answers in one place. By the way, I did not see any link on http://appfuse.org for us to create user account ? View >

Re: [appfuse-user] Appfuse 2.0 and Tomcat

2007-01-12 Thread Matt Raible
The Jetty Plugin is just for development. There's also a Tomcat Plugin if you'd prefer to use that. Here's a list of plugins: http://appfuse.org/display/APF/Maven+Plugins For final production, you'll want to install a server like you normally do. You can build the war with "mvn package" and t

Re: [appfuse-user] Appfuse 2.0 and Tomcat

2007-01-12 Thread Fan
Matt, Well done !! there is a good idea. Instead of searching through those common doubts in this forum, we can quickly get the answers in one place. By the way, I did not see any link on http://appfuse.org for us to create user account ? Matt Raible-3 wrote: > > I've added these question

Re: [appfuse-user] Appfuse 2.0 and Tomcat

2007-01-12 Thread Fan
Is the jetty plugin just for development ? Is it enough for final production ? Bryan Noll-2 wrote: > > There's no pre-req for tomcat because maven 2 has a handy jetty plugin > that allows you to build the project, automatically download jetty, > deploy it to jetty and run the thing all in on

Re: [appfuse-user] testSave fails: ObjectRetrievalFailureException

2007-01-12 Thread Bernd Putsche
it seems so! so i did create new resident but, but auto inkrement gives the new resident id=2 not 1! i checked this.. so there is some inconsistency in the tutorial and the way it really works i think!? isn't resident/person createt in test1 with id=1 removed after the rollback of the test

Re: [appfuse-user] Appfuse 2 + Intellij IDEA

2007-01-12 Thread Sanjiv Jivan
When you compile a class when Tomcat is running, IDEA prompts you if you want to redeploy the web app. If however you say yes, then on subsequent recompiles IDEA automatically redeploys the web app. I haven't found a way to change this setting from IDEA once you say "yes" to redeploy. You can howe

RE: [appfuse-user] Appfuse 2 + Intellij IDEA

2007-01-12 Thread Scott Williams
Matt's correct, if you run your app in debug mode in IntelliJ Tomcat will not be forced to restart and your class will be reloaded. To do this press CTRL-SHIFT-F9 while viewing your class, this will cause a compile. You will even see a progress bar showing the reload. Scott -Original Messag

Re: [appfuse-user] Appfuse 2 + Intellij IDEA

2007-01-12 Thread Matt Raible
I believe this is expected behavior. Tomcat doesn't have the ability to dynamically reload a single changed class. However, if you run it in debug mode, you may be able to get this feature. Unfortunately, I haven't worked with IDEA+Tomcat to know how to do this. Matt On 1/12/07, Tuncay A. <[E

Re: [appfuse-user] Struts 2 Basic - build issue

2007-01-12 Thread Matt Raible
We haven't yet figured out a good way to allow users to override the default behavior in AppFuse's core files. If you want to fully customize AppFuse, the best thing to do is to use 1.9.4. With 2.x, it's easy to customize JSPs, CSS and JavaScript, but not so easy to customize .java files in App

Re: [appfuse-user] testSave fails: ObjectRetrievalFailureException

2007-01-12 Thread Stefan Malär
Hi Bernd Most likely the error occurs because you trying to do something like resident = dao.getResident(new Long(1)); in your testSaveResident method. But there is no Resident in your dao object. Instead you have to create a Resident to be saved by writing resident = new Resident(); Hope that

Re: [appfuse-user] Struts 2 Basic - build issue

2007-01-12 Thread Jaymin Shah
Thanks for the information. I have successfully created and deployed project on TOMCAT. I have observed that the project has not placed or generated source/java code for org/appfuse/webapp/action, filter, listener, spring, taglib and util. I want enhance user UI’s. Could you please let me know, h

Re: [appfuse-user] Developer in Trouble: episode 1223 :-( How to make relationships in AppFuse

2007-01-12 Thread Attila
Hello Bryan, ok my first thing: I have the userlist ( copied from AppFuse Basic app ), and I want to integrate the Partner dependent list / modify / add things. Offen I play with code ( backing bean and xhtml ) to achieve my goal. And than when I clink on a User ( edit him ) and the "edit" actio

Re: [appfuse-user] DaoJpa Merge with Primitive Values...

2007-01-12 Thread André Faria
Hi Bryan,     Ok, I Agree. If it will be documented like you said, I think that there's no problem... Regards, Andrpe Faria Bryan Noll escreveu: Andre... Thanks for pointing this out.  Although, in this case, this is a limitation I'm satisfied with.  I personally don't think it is a g

[appfuse-user] Appfuse 2 + Intellij IDEA

2007-01-12 Thread Tuncay A.
Hi, How can I prevent tomcat (running inside Intellij using appfuse 2 exploded) from restarting whenever I recompile a java class or .properties file. It should only compile and load the class without restarting whole tomcat. I hope somebody have a solution to this. Thx in advance. //tuncay --