How can I catch exceptions thrown by hibernate, like
ConstraintViolationException in the service layer.
This one is converted by Spring to DataIntegrityViolationException. But I
can only catch it in *.webapp.action.*Form.java
Regards
René
--
View this message in context:
http://www.nabble.com/C
Hi
I am using appfuse1.9.4 followed the tutorial on springMVC with JasperReport
the testcase is runnig successful and the pdf report generated is blank.
Code:
inline; filename=report.html
inline; filename=report.csv
inline; filenam
[EMAIL PROTECTED] wrote:
Is there specific annotation to tell hibernate to use "LEFT JOIN" relation ?
I don't understand your question, as a relationship is amongst data.
"Left join" is a term talking about the structure of a query to retrieve
data.
I've tried @JoinColumn(name = "OtherId",
Just to report back. After a couple of hours of changes I got everything to
compile, but the unit tests were failing. It involved quite a bit of
selectively copying User-related/impacted source to my projects source tree,
then the imports usually needed modification.
I think at this point I will
Hi Matt,
I tried as you suggest, but the problem is Spring can not @Autowired
property value, such as: .
I read through Spring 2.5 reference docs (Chapter 3 The IoC containner)
but could not find example for this case.
I know this is not Spring mailling list but any more suggestion should
hel
what is this wildcard expression "*..service" mean and can someone point me
to the documentation on pointcut language and its regular expression
definition?
in the applicationContext-service.xml,
Thanks
dev
You might try the following:
I believe the first detects @Controller, @Service and @Repository.
Matt
On 12/26/07, Le Anh Tuan <[EMAIL PROTECTED]> wrote:
> Hello,
> I have upgraded to AppFuse 2.0.1 with Spring 2.5 and found that Spring
> 2.5 annotation feature is great. I w
Fred,
I have also encountered the same problem .This happens with userService Web
service which ships with appfuse.Only way I solved this issue was by defining
getter and setter methods.
Regards,
Khaliq
From: Fred Forester [mailto:[EMAIL PROTECTED]
Sent:
Hello,
I have upgraded to AppFuse 2.0.1 with Spring 2.5 and found that Spring
2.5 annotation feature is great. I want to change this bean's XML
definition below to spring annotation:
I configured the class like this:
@Service
publ
Hi,
Is there specific annotation to tell hibernate to use "LEFT JOIN" relation ?
I've tried @JoinColumn(name = "OtherId", nullable=true) but does not
work and keep
giving "object references an unsaved transient instance - save the
transient instance before flushing"
error when I tried to save obje
Hi All,
I have 2 services (hibernate daos) one does a select * works fine.
another does a select fld1,fld2 and xfire bombs out with
org.codehaus.xfire.XFireRuntimeException: Couldn't get property {http://mode
l.reductions.epstrategies.com}adjtime from bean [Ljava.lang.Object;@1301061.
seems t
Thanks for answering on your vacation Matt.
I am going to take a deeper look at the second option, it sounds like just
what I want.
--
View this message in context:
http://www.nabble.com/Better-way-to-modify-User-UserDao-UserManager-tp14499981s2369p14504189.html
Sent from the AppFuse - User ma
Did JIRA throw a NPE when you first accessed the site? If so, it's
likely cookie-related. If you delete your cookies and try again, it
should work.
Matt
On 12/26/07, Bob Fleischman <[EMAIL PROTECTED]> wrote:
>
> appfuse Spring MVC Basic - Version 2.01
>
> I created a new POJO that had an embedded
appfuse Spring MVC Basic - Version 2.01
I created a new POJO that had an embedded Address object. This caused the
maven plugin, appfuse:gen, to fault with errors in some of the Freemarker
templates.
By comparing the Spring templates to the Struts templates I found the
problem, a missing test for
You can't load a JSP from outside the webapps directory - unless you
use a symlink or use to load it from another running web
server.
Matt
On 12/26/07, soussou97 <[EMAIL PROTECTED]> wrote:
>
> Hi;
>
> How to retreive the content of a external JSP located in : C:/jsp/F1.jsp in
> another JSP locat
The easiest thing to do is to run "appfuse:full-source". If you're
against that, you could create new versions of these classes, change
the package names, and then override the bean definitions in your
applicationContext.xml file.
Matt
On 12/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
Hi;
How to retreive the content of a external JSP located in : C:/jsp/F1.jsp in
another JSP located in the Webapp directory: ../WEB-INF/webapps/jsp/F2.jsp ?
Regards;
--
View this message in context:
http://www.nabble.com/Import-of-a-JSP-tp14503861s2369p14503861.html
Sent from the AppFuse - Us
If you look in login.jsp - you should see logic that only shows it on
the login page. If you add a role attribute to the login menu in
menu-config.xml, it'll hide the menu when you're not logged in.
Matt
On 12/26/07, kagan <[EMAIL PROTECTED]> wrote:
>
> Hi:
>
> If you'll take a look at the login
Hi:
If you'll take a look at the login page you'll recognize that you have a
menu with one link to the same page (i.e. login.jsp) I'd like to know how
can I remove the menu with that link from login page?
Thanks in advance,
Roman
--
View this message in context:
http://www.nabble.com/Removin
19 matches
Mail list logo