Re: [appfuse-user] Appfuse 2.0, Struts2 and Sitemesh problem

2007-03-21 Thread climbingrose
Found the solution here: http://forums.opensymphony.com/thread.jspa?messageID=3230ಞ. In case someone runs into the same problem... On 3/22/07, climbingrose <[EMAIL PROTECTED]> wrote: I've tried that but it doesn't seem to help! On 3/22/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > You might t

Re: [appfuse-user] Appfuse 2.0, Struts2 and Sitemesh problem

2007-03-21 Thread climbingrose
I've tried that but it doesn't seem to help! On 3/22/07, Matt Raible <[EMAIL PROTECTED]> wrote: You might try adding the following to the filter-mapping: REQUEST FORWARD Matt On 3/21/07, climbingrose <[EMAIL PROTECTED]> wrote: > Hi all, > > My decorators.xml: > > > > /resources

Re: [appfuse-user] Appfuse 2.0, Struts2 and Sitemesh problem

2007-03-21 Thread Matt Raible
You might try adding the following to the filter-mapping: REQUEST FORWARD Matt On 3/21/07, climbingrose <[EMAIL PROTECTED]> wrote: Hi all, My decorators.xml: /resources/* /decorators/* /public/* The problem is that Sitemesh seems only to decor

[appfuse-user] Appfuse 2.0, Struts2 and Sitemesh problem

2007-03-21 Thread climbingrose
Hi all, My decorators.xml: /resources/* /decorators/* /public/* The problem is that Sitemesh seems only to decorate jsp pages in public folder but not an action. For example if I put test.jsp in src/main/webapp/public/ folder then the page gets decorated

Re: [appfuse-user] How to i18n images

2007-03-21 Thread Jonathan Tse
Thanks Michael. I got it working now. I am just wondering if there is any other way to i18n image Michael Horwitz wrote: I think the problem is that you cannot nest a tag inside a tag. So to get it working it would have to look something like: " name="login" value="login" width="

Re: [appfuse-user] Whats the best way to create a transaction spanning multiple tables?

2007-03-21 Thread Matt Raible
I would a single method in a manager to call the three DAOs you need to. Matt On 3/21/07, romsrini <[EMAIL PROTECTED]> wrote: Hello, We have a situation where we have to create new rows in three different tables for a given user action. For example, we have to create a new row in a message ta

[appfuse-user] Whats the best way to create a transaction spanning multiple tables?

2007-03-21 Thread romsrini
Hello, We have a situation where we have to create new rows in three different tables for a given user action. For example, we have to create a new row in a message table, and using the id of that row, create new rows in a messageComponent table and a messageRecipient table. Right now we have man

Re: [appfuse-user] Spring Topics of Interest

2007-03-21 Thread romsrini
David, A section on transactions and multi table transactions in particular woud be very helpful. -- View this message in context: http://www.nabble.com/Spring-Topics-of-Interest-tf3444196s2369.html#a9604675 Sent from the AppFuse - User mailing list archive at Nabble.com.

Re: [appfuse-user] PersonDaoTest won't compile

2007-03-21 Thread Matt Raible
This is a bug in EhCache that will be fixed in the near future. Try running your test again - it seems to happen at random. Matt On 3/21/07, Daniele De Francesco <[EMAIL PROTECTED]> wrote: Hi all, I'm new to appFuse 2.x and I'm in trouble with the tutorial example from here. I'm following the

Re: [appfuse-user] Spring Topics of Interest

2007-03-21 Thread Bryan Noll
Looks like you've got it covered pretty well David. Maybe a page or two about AppFuse's history, about when it adopted Spring, about the way the project had to do things before without Spring, and about why Spring makes it easier and better. I wouldn't expect a ton of content regarding this t

[appfuse-user] PersonDaoTest won't compile

2007-03-21 Thread Daniele De Francesco
Hi all, I'm new to appFuse 2.x and I'm in trouble with the tutorial example from http://appfuse.org/display/APF/Using+Hibernate here . I'm following the dao test compiling process carefully (I think... ;-)) but still receive an error from spring like this: Running org.obiwan.medweb.dao.PersonDao

[appfuse-user] Spring Topics of Interest

2007-03-21 Thread David Whitehurst
Hi: I am writing a book for SourceBeat called AppFuse Primer. For the chapter on Spring I want to write about what you are most interested in learning. E.g. there are already books on Spring and how to use it. I want to teach you about things within AppFuse that may be complicated or would be

Re: [appfuse-user] Maven behind a proxy

2007-03-21 Thread Nigel in NZ
hi, To first reply, good try but I was copying from one laptop to another and copied it incorrectly. To the second reply, here is what you are after, C:\tools>mvn -e archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtif actId=appfuse-modular-struts -DremoteRepositories=http://static.

Re: [appfuse-user] Version field not populated with a 1

2007-03-21 Thread masterg007
Matt, Yes, you are right it does start at 0 and increments as the record is updated as this link will atest: http://www.onjava.com/pub/a/onjava/2006/09/13/dont-let-hibernate-steal-your-identity.html Why did I not know this? For some reason I thought it inserted a 1 not a 0. Sorry for wastin

Re: [appfuse-user] maven goals issue and intelliJ IDEA 6

2007-03-21 Thread Matt Raible
On 3/21/07, Andrew Pliszka <[EMAIL PROTECTED]> wrote: Hi Matt, 1) Appfuse is awesome BTW. 2) When using IDEA, are you using command line to run maven tasks or the IDEA maven plug-in? I use the command line. 3) When I run "mvn clean; mvn" on command line, my IntelliJ goes crazy, intelli-se

Re: [appfuse-user] Version field not populated with a 1

2007-03-21 Thread Matt Raible
I believe inserting 0 is the correct behavior. Matt On 3/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: matt: I turned on hibernate's show sql and when it does the insert it prints to the console: insert into contactus_message (email_message, version, date_sent, from_email, to_email, cc_em

Re: [appfuse-user] Version field not populated with a 1

2007-03-21 Thread masterg007
matt: I turned on hibernate's show sql and when it does the insert it prints to the console: insert into contactus_message (email_message, version, date_sent, from_email, to_email, cc_email, email_subject, full_name) values (?, ?, ?, ?, ?, ?, ?, ?) my GUI is setup to only save a record I can't up

Re: [appfuse-user] Version field not populated with a 1

2007-03-21 Thread Matt Raible
What happens if you update from the UI - do you get an error? Matt On 3/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: matt: It gets populated with a 0. I can't update from the UI I can only enter new records. On 3/21/07, Matt Raible <[EMAIL PROTECTED]> wrote: > Is the version fi

Re: [appfuse-user] Version field not populated with a 1

2007-03-21 Thread masterg007
matt: It gets populated with a 0. I can't update from the UI I can only enter new records. On 3/21/07, Matt Raible <[EMAIL PROTECTED]> wrote: Is the version field populated at all? What if you update the record in the UI? Matt On 3/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >

Re: [appfuse-user] Version field not populated with a 1

2007-03-21 Thread Matt Raible
Is the version field populated at all? What if you update the record in the UI? Matt On 3/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I saved a record from my application with Hibernate3 and the record gets saved in my MySQL database table the problem is the version field does not get

[appfuse-user] Version field not populated with a 1

2007-03-21 Thread masterg007
I saved a record from my application with Hibernate3 and the record gets saved in my MySQL database table the problem is the version field does not get populated by a 1 by hibernate. Why is hibernate ignoring this task? Here is my Table: CREATE TABLE contactus_message ( id BIGINT(9) UNSIGNED N

Re: [appfuse-user] Build errors in Part III: Creating Actions and JSPs - A HowTo for creating WebWork Actions and JSPs in an AppFuse project.

2007-03-21 Thread wdbetts
I encountered Error #1, but it was because I created the PersonAction.java file in src/main/webapp instead of src/main/java. Moving the file over fixed the problem, of course reading the documentation correctly in the first place would have been helpful. -- david Matt Raible-3 wrote: > > On

Re: [appfuse-user] 404 working for jsp but not for html files

2007-03-21 Thread Matt Raible
The good news is this appears to be fixed in 2.x. I imagine it's an issue caused by MyFaces. Can you try upgrading to the latest release? Matt On 3/21/07, Eric Taieb <[EMAIL PROTECTED]> wrote: Yes. You can try. Just login. It takes you to mainmenu.html Then type in the url something else th

Re: [appfuse-user] Run mvn integration-test Canoo Web test Error!!!

2007-03-21 Thread wdbetts
I experienced the same error with the Struts 2 Basic Archetype. Making the suggested changes to web-tests.xml corrected the problem. However, I don't understand why. -- david Matt Raible-3 wrote: > > If you change web-tests.xml (in src/test/resources) from: > > > > > to: > >

Re: [appfuse-user] 404 working for jsp but not for html files

2007-03-21 Thread Eric Taieb
Yes. You can try. Just login. It takes you to mainmenu.html Then type in the url something else than mainmenu.html (ie: nopage.html) and you get the "ugly" tomcat 404 page, which I would like my user not to see.. :-) Thanks for your quick responses! Cheers, --Eric mraible wrote: > > Does t

Re: [appfuse-user] 404 working for jsp but not for html files

2007-03-21 Thread Matt Raible
Does this same behavior happen on the demo site? Http://demo.appfuse.org/appfuse-jsf Matt On 3/21/07, Eric Taieb <[EMAIL PROTECTED]> wrote: I am using Hibernate/ Spring /JSF with facelets (default faces extensions .xhtml). -Eric mraible wrote: > > Which web framework are you using? > > M

Re: [appfuse-user] 404 working for jsp but not for html files

2007-03-21 Thread Eric Taieb
I am using Hibernate/ Spring /JSF with facelets (default faces extensions .xhtml). -Eric mraible wrote: > > Which web framework are you using? > > Matt > > > On 3/21/07, Eric Taieb <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I have appfuse 1.9.4 installed. If I request an inexistent jsp fil

Re: [appfuse-user] maven goals issue and intelliJ IDEA 6

2007-03-21 Thread Andrew Pliszka
Hi Matt, 1) Appfuse is awesome BTW. 2) When using IDEA, are you using command line to run maven tasks or the IDEA maven plug-in? 3) When I run "mvn clean; mvn" on command line, my IntelliJ goes crazy, intelli-sense stops working, and I have to restart IntelliJ to continue working. Do you h

Re: [appfuse-user] 404 working for jsp but not for html files

2007-03-21 Thread Matt Raible
Which web framework are you using? Matt On 3/21/07, Eric Taieb <[EMAIL PROTECTED]> wrote: Hi, I have appfuse 1.9.4 installed. If I request an inexistent jsp file, 4040.jsp is called perfectly. On the other hand if I request an inexistent html file (ie: dsqsqs.html) the 404 error is Tomcat's

[appfuse-user] dates compare

2007-03-21 Thread tibi
hi list appfues solves many problems is there also a sane and simple solution to comparing dates in mysql?? or do i realy need to use dataformatter to turn it into an -mm-dd string?? thanks, tibi - To unsubscribe, e-mai

[appfuse-user] 404 working for jsp but not for html files

2007-03-21 Thread Eric Taieb
Hi, I have appfuse 1.9.4 installed. If I request an inexistent jsp file, 4040.jsp is called perfectly. On the other hand if I request an inexistent html file (ie: dsqsqs.html) the 404 error is Tomcat's 404 page. Is this normal? is there anyway to have all 404 display the nicely formatted 404.jsp

Re: [appfuse-user] Problems with archetype:create & integration-tes

2007-03-21 Thread Matt Raible
This generally happens when Maven doesn't have an internet connection. Are you behind a proxy server or does this happen when you're directly connected? Matt On 3/21/07, Fan <[EMAIL PROTECTED]> wrote: I have a problem too... D:\source>mvn archetype:create -DarchetypeGroupId=org.appfuse -Darch

Re: [appfuse-user] maven goals issue and intelliJ IDEA 6

2007-03-21 Thread Matt Raible
I generally use "war:inplace" followed by "jetty:run" and then edit everything in IDEA and let Jetty reload when I change something. For non-web applications, yes - I use the command line mostly. Matt On 3/21/07, kace <[EMAIL PROTECTED]> wrote: :) what do you use with IDEA then or do you jus

Re: [appfuse-user] Problems with archetype:create & integration-test

2007-03-21 Thread Fan
I have a problem too... D:\source>mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifac tId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/reposito ry -DarchetypeVersion=2.0-m4-SNAPSHOT -DgroupId=com.astro -DartifactId=myappfuse [INFO] Scanning for projects.

Re: [appfuse-user] Integrating Thickbox 2.1.1 with Appfuse

2007-03-21 Thread masterg007
jarmstrong: Thanks for your response I was able to get it to work and also Lightbox. The problem was in my JSP file that housed the href statement I had it wrapped with a tag and a that was not needed since the decorator already has a tag and a that wraps the content from all the pages it deco

Re: [appfuse-user] maven goals issue and intelliJ IDEA 6

2007-03-21 Thread kace
:) what do you use with IDEA then or do you just use the command prompt? Kace -- View this message in context: http://www.nabble.com/maven-goals-issue-and-intelliJ-IDEA-6-tf3327309s2369.html#a9592437 Sent from the AppFuse - User mailing list archive at Nabble.com. ---

Re: [appfuse-user] How to i18n images

2007-03-21 Thread Michael Horwitz
I think the problem is that you cannot nest a tag inside a tag. So to get it working it would have to look something like: " name="login" value="login" width="73" height="23"/> Mike On 3/21/07, Jonathan Tse <[EMAIL PROTECTED]> wrote: Hi all, I have been using tag to i18n my view. W

Re: [appfuse-user] Adding new roles

2007-03-21 Thread Michael Horwitz
If the menu is a top level menu, then it needs to be added to menu.jsp as well. Have you done this? Otherwise it should show up as long as the role has been assigned to the user that has logged in. Mike. On 3/20/07, appfused <[EMAIL PROTECTED]> wrote: I added a new role to the role table and

Re: [appfuse-user] Maven behind a proxy

2007-03-21 Thread Pete Gould
Hi, Perhaps the was a typo in your original command? Using "mvn archtype:create" instead of "mvn archetype:create" would cause the error that you detailed in your email. Cheers, Pete On 3/20/07, Nigel in NZ <[EMAIL PROTECTED]> wrote: Hi, I have a problem starting a new Appfuse project usi