Hi ickphum,
ickphum wrote:
I want to change the default date format from MM/dd/ to /MM/dd and
don't want to import the AppFuse code into my project if I can avoid it. Can
I avoid it?
I created a class with a java.util.Date field and ran the code generator,
and the list page came up ok:
Hi,
I want to change the default date format from MM/dd/ to /MM/dd and
don't want to import the AppFuse code into my project if I can avoid it. Can
I avoid it?
I created a class with a java.util.Date field and ran the code generator,
and the list page came up ok:
Bu
The steps to define multiple DAOs in a Manager class are relatively
simple. Note though, that you'll have to roll your own a Manager class
and not extend GenericManagerImpl (since this only excepts one DAO as
a constructor argumernt).
You can create one Manager with multiple DAOs. You don't have t
FYI. This page outlines the differences between the merge() and
saveOrUpdate() methods:
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#objectstate-saveorupdate
Alex
On 14 Dec 2007, at 17:16, [EMAIL PROTECTED] wrote:
Why do you use merge instead of saveOrUpdate ?
I think merg
Property Editors is the way I've always dealt with this issue. I am
not sure whether its best practise or not, but it works. I personally
do find having to create a PE each time laboursome though. This has to
be one big gripe I've had with creating forms with Spring MVC - I
think a simple m
Hi all again,
I want to reask the question in a different way. What I want to do is to
define another dao in the manager class. What are the steps to define it in
the manager and test classes?
Thanks fo replies.
--
View this message in context:
http://www.nabble.com/-Appfuse2.0--Best-Practise
hi all:
The following code is my model class. Specially, the key property
"regionId" is a String, not a Long type.
When I use "mvn appfuse:gen -Dentity=DRegion " to generate all the code and
run "mvn integration-test",
there is an Excepion :
java.lang.NullPointerException
at com
Hello,
I need to fetch an item from my database and use it to render my custom JSP tag.
I want to use my managers, already developed and tested. Unfortunately
I have no idea how to inject dependency into my tag, so I cannot use
beans declared in application context. I tried to do it manually,
crea
Dear Alejandro,
thanks for a reply! You were right, Property Editors are exactly the
things that I am looking for. But I have encountered one error while
handling my "comment form".
This is my property editor for Type class:
public class TypeEditor extends PropertyEditorSupport {
privat