Re: [appfuse-user] appfuse tutorials (Spring MVC + Hibernate) one-to-many mapping

2008-07-22 Thread Martin Homik
You might refer to The AppFuse Primer written by David Whitehurst. I just looked up, and in fact, he introduces an example with an one-to-many relationship. However, he does not continue the example for a Spring MVC version. http://www.sourcebeat.com/books/appfuse.html http://tinyurl.com/56tptc

[appfuse-user] authorization failure issue

2008-07-22 Thread wskent
A user with the proper authorizations is working as expected. But I am getting the following error when a user attempts to access an action that he does not have the granted authorization to. What is the best way to handle this situation more gracefully - An Error has occurred in this applicatio

Re: [appfuse-user] hibernate.cfg.xml related

2008-07-22 Thread kace
never mind, problem solved. kace wrote: > > Hi, > > I have a similar setup to the appfuse structure but with additional > modules so I have > > data > data-core > data-commerce > hibernate-core > hibernate-commerce > service >service-core >service-commerce > web > common-c

Re: [appfuse-user] CommunicationsException

2008-07-22 Thread J. David Mendoza
Try using the latest and see if that fixes the problem... you can change the version in the pom later (if it works) 2008/7/22 java_user_ <[EMAIL PROTECTED]>: > > I am using the JARs that came with appfuse 2.0.1 > > mysql-connector-java-5.0.5.jar > > > > J. David Mendoza R. wrote: > > > > Are you

[appfuse-user] Struts 2 template

2008-07-22 Thread alibehzadian
Hi there, I want to change AppFuse's default struts2 template and make it tabular. I made a copy of template/css_xhtml folder and named it "my_template". Then I changed "form.ftl" and "form-close.ftl" and replaced with and and . In my form, I added "theme="my_template". Then I encountered thi

Re: [appfuse-user] CommunicationsException

2008-07-22 Thread java_user_
I am using the JARs that came with appfuse 2.0.1 mysql-connector-java-5.0.5.jar J. David Mendoza R. wrote: > > Are you using the latest mysql jdbc jar? > > 2008/7/21 java_user_ <[EMAIL PROTECTED]>: > >> >> Has anyone figured out what is causing the CommunicationsException after >> 8+ >> hou

Re: [appfuse-user] appfuse tutorials (Spring MVC + Hibernate) one-to-many mapping

2008-07-22 Thread Michael Gasche
Hello Icky You should be fine doing it like this: I'm using a Project-Risk-Exampe; a project has many risks. I'm also using MySQL and appfuse respectively hibernate wants me to define a default value. That's why I've been using the columnDefinition-Attribute within the JoinColumn-Annotation.