Re: [appfuse-user] AppFuse 2 + Hibernate + Struts - Master-detail form - update master and detail data in one transaction

2007-11-14 Thread Rob Hills
Hi Daniel, Daniel Kibler wrote: I've also been looking for exactly such an example. I think there is one problem, probably caused by the forum. It looks like there should be a link associated with the delete on each row. In the message it is shown as ">Delete Dan dusty wrote: So it doesn

Re: [appfuse-user] Problem with Ajax and Struts2

2007-11-14 Thread sagarlotiya
mraible wrote: > > The Dojo example at the bottom of the following page may help: > Hi, > It is also work for me as per the given link but in in given link , it is > not mentioned how to apply ajax on the content which is rendered using > ajax(i measn nested ajax first render one file using aja

Re: [appfuse-user] File Upload behavior not consistent on different web server

2007-11-14 Thread BruceLee
Thank Nathan and John. I have figured out XP working with relative path. -Bruce melinate wrote: > > I think just because it is generally a good idea, or at a minimum a common > requirement. It is pretty simple to change or remove if you are making > your own FileUploadAction based on the one p

Re: [appfuse-user] Future of Spring MVC

2007-11-14 Thread Carlos Ortiz
Thanks Matt. In fact this is the first web framework that I am using and studying a lot that is why I asked a lot because I didn't want to lose time learning a not useful web framework, besides I know there are lots out there. And $10 million, is too much money, but is this for the Spring project

Re: [appfuse-user] File Upload behavior not consistent on different web server

2007-11-14 Thread John Kwon
Is there a reason that appfuse has a file size limit on the upload?

Re: [appfuse-user] File Upload behavior not consistent on different web server

2007-11-14 Thread Nathan Anderson
I think just because it is generally a good idea, or at a minimum a common requirement. It is pretty simple to change or remove if you are making your own FileUploadAction based on the one provided. Nathan - Original Message - From: "John Kwon" <[EMAIL PROTECTED]> To: users@appfuse.de

Re: [appfuse-user] File Upload behavior not consistent on different web server

2007-11-14 Thread Nathan Anderson
You should be able to open a file based on the relative path on all servers. I'm guessing there is some other difference on the XP server causing that to not work. I'd start by trying to access the image directly in your web browser. Nathan - Original Message - From: "BruceLee" <[EMA

Re: [appfuse-user] Maven2 Clover Plugin? Anyone have a good configuration?

2007-11-14 Thread dusty
Bummer that nobody is trying out the Clover 2 Maven plugin. Its pretty damn cool. Anyways, I figured it out. errr Atlassian Support figured it out. Follow the directions in the documentationbut also add an explicit dependency to the clover plugin. And use this exact information:

Re: [appfuse-user] AppFuse 2 + Hibernate + Struts - Master-detail form - update master and detail data in one transaction

2007-11-14 Thread dusty
That is the beauty of this solution. There is no transaction until the user decides to save the form. Imagine a form with a series of fields and then this table at the bottom. They are all part of the same form. When I submit the form to my add method on the action, the action reconstructs the

Re: [appfuse-user] Solved: DWR help -nothing happens in the dwr tests

2007-11-14 Thread ARCS
Finally figured it out thanks to Firebug. It was two things: 1. allowScriptTagRemoting needed to be explicitly set to true in the web.xml dwr servlet init param, although the dwr docs said true is the default (guess not). 2. Had to remove ",/dwr/*" from the staticFilter param in web.xml. Alth

[appfuse-user] running jetty with appfuse 1.9.4

2007-11-14 Thread Rizwan Ahamed
hi I am trying to use the jetty launcher for appfuse projects 1.9.4. In the config of jetty launcher and in the use options for web app root directory I am specifying the project/web directory. When I start it obviously is not seeing the other application context xmls and I think it has to do s

Re: [appfuse-user] UnitTests HowTo Commit

2007-11-14 Thread Matt Raible
Why don't you want them to rollback? If you're going to manually check your database to see if it worked - that's not a very good way to test. Yes, you can use setComplete() to force a commit w/o a rollback, but you should automate the testing and use jdbcTemplate.queryForObject() - or something l

Re: [appfuse-user] UnitTests HowTo Commit

2007-11-14 Thread Campa
mraible wrote: > > There's a jdbcTemplate available for you to query the database with. > Matt > Thx Matt, Can I do it without go down on jdbcTemplate using only GenericManagers or its extensions ? Here a trace of my code: public class AnamnesiTest extends BaseDaoTestCase{ public void tes

Re: [appfuse-user] Code completion of JSF Facelet pages in Eclipse Europa

2007-11-14 Thread Matt Raible
On Nov 14, 2007 6:55 AM, Irshad Buchh <[EMAIL PROTECTED]> wrote: > > Hi, > 1. Has anyone been successful in getting code completion with Facelets in > Eclipse, it works ok with simple .jsp pages. Any workaround with Eclipse > Europa with WTP 2.0? > > 2. How can we change the default extention of .x

[appfuse-user] Code completion of JSF Facelet pages in Eclipse Europa

2007-11-14 Thread Irshad Buchh
Hi, 1. Has anyone been successful in getting code completion with Facelets in Eclipse, it works ok with simple .jsp pages. Any workaround with Eclipse Europa with WTP 2.0? 2. How can we change the default extention of .xhtml of all the facelets pages in AppFuse 1.9.4 to something else say .jspx a

Re: [appfuse-user] can u provide simple steps for installing the Appfuse

2007-11-14 Thread Matt Raible
The QuickStart Guide gives you step-by-step instructions: http://appfuse.org/display/APF/AppFuse+QuickStart Matt On Nov 14, 2007 4:56 AM, rajesh burra <[EMAIL PROTECTED]> wrote: > Hi , > > Just i learnt about the Appfuse and it is very powerful.. > but i am new to spring and have little exprienc

[appfuse-user] can u provide simple steps for installing the Appfuse

2007-11-14 Thread rajesh burra
Hi , Just i learnt about the Appfuse and it is very powerful.. but i am new to spring and have little exprience can u provide simple steps to install Appfuse Thanks&Regards Rajesh

Re: [appfuse-user] No encryption after validation error

2007-11-14 Thread Matt Raible
Can you please enter an issue for this in JIRA? http://issues.appfuse.org/browse/APF Thanks, Matt On Nov 14, 2007 3:53 AM, Aakhunaten <[EMAIL PROTECTED]> wrote: > > The project is built with AppFuse 2.0 with Struts for the web framework and > Hibernate for the persistence. > > I am assuming thi

Re: [appfuse-user] appfuse:gen POJO with composite ID

2007-11-14 Thread Matt Raible
On Nov 14, 2007 1:09 AM, Matthew Wu <[EMAIL PROTECTED]> wrote: > > Thank you! > I have a POJO like this (The next codes are all generated by > appfuse:gen-model): > @Entity > @Table(name="MATTHEW",schema="DQTRACER") > public class Matthew extends BaseObject implements Serializable { > private M

Re: [appfuse-user] validator

2007-11-14 Thread Matt Raible
Coming version as in 2.0.11 or 2.1.0? On Nov 14, 2007 12:43 AM, tibi <[EMAIL PROTECTED]> wrote: > its a struts bug and it is fixed in the comming version. > > but in appfuse 2.0 it is not fixed jet. > > tibi > > > Matt Raible wrote: > > Is this a Struts 2 bug or an AppFuse one? If the template is

Re: [appfuse-user] UnitTests HowTo Commit

2007-11-14 Thread Matt Raible
There's a jdbcTemplate available for you to query the database with. Matt On Nov 14, 2007 4:15 AM, Campa <[EMAIL PROTECTED]> wrote: > > Hi guys, > > I'd like to have unit test that commit something to the DB, as default > seems they never commit. > I'm right ? > > I see the message: > > [webCps]

[appfuse-user] UnitTests HowTo Commit

2007-11-14 Thread Campa
Hi guys, I'd like to have unit test that commit something to the DB, as default seems they never commit. I'm right ? I see the message: [webCps] INFO [main] AnamnesiTest.startNewTransaction(323) | Began transaction (1): transaction manager [EMAIL PROTECTED]; default rollback = true How I can

Re: [appfuse-user] No encryption after validation error

2007-11-14 Thread Aakhunaten
The project is built with AppFuse 2.0 with Struts for the web framework and Hibernate for the persistence. I am assuming this is a fresh project created with AppFuse 2.0 to reproduce this error. 1. Click View Users 2. Click user 'User' 3. Enter new password in both text fields. Clear the value

Re: [appfuse-user] Spring MVC basic exception in IDEA at hibernate3:hbm2ddl

2007-11-14 Thread jaav
Hi Matt, Thanks for answering my question. You're right, it seems to be an IDEA problem since it works fine via the console. I'll talk to the guys from JetBrains to have a look at the problem. Rgds, Jaav mraible wrote: > > Can you try installing Maven 2.0.7 and running "mvn install" from the

[appfuse-user] appfuse:gen POJO with composite ID

2007-11-14 Thread Matthew Wu
Thank you! I have a POJO like this (The next codes are all generated by appfuse:gen-model): @Entity @Table(name="MATTHEW",schema="DQTRACER") public class Matthew extends BaseObject implements Serializable { private MatthewId id; private String name; private String description; @Em