Re: [appfuse-user] @Embedded

2008-06-11 Thread Juan Heyns
Matt We have a class hierarchy such as the following: @Entity @Inheritance(strategy = InheritanceType.JOINED) @Table(name = "subclass") public abstract class SubClass extends BaseObject { private static final long serialVersionUID = 247081957928058557L; private Long id; // other p

[appfuse-user] Re[appfuse-user] garding menu.jsp

2008-06-11 Thread Greenhorn2005
Is there anyway to hide the menu tab For example, when a particular user logs in there will be only a few menu tab (say, logout, and ...edit profile) and when he select a particular hotel then the menu tab appears ?? hope I do not confuse you.. Thanks... -- View this message i

[appfuse-user] Re[appfuse-user] garding menu.jsp

2008-06-11 Thread Greenhorn2005
Is there any way to hide the menu tab during one page and display it in the next page thanks... -- View this message in context: http://www.nabble.com/Regarding-menu.jsp-tp17793148s2369p17793148.html Sent from the AppFuse - User mailing list archive at Nabble.com. --

[appfuse-user] DoubtOnACEGI Remember me

2008-06-11 Thread jithesh
Hello Guys... I am using appfuse 1.9.4 for developing my web application. I encorporated ACEGI remember me in my web app. Recently I had a thought in my mind regarding the remember me option. Its basicaly one user can set the remember me for a browser. I was plannin to keep it for multipl

Re: [appfuse-user] about the oracle9i characterset

2008-06-11 Thread davidludut
Youssef, thanks very much your replay, i have set the NLS_CHARACTERSET during installing oracle. thanks best reagrds :) ming Youssef Mohammed wrote: > > i don't think there is such a thing in Oracle. > > note that in oracle they term database is somehow different than mysql ... > what is a d

Re: [appfuse-user] about the filter of appfuse

2008-06-11 Thread oliver.appfuse
hi,mr yang for the question 2 2:when a user enter the /servlet/my , is his mm7DeliverReq under the filter of the appfuse? i think this do under the filter of the appfuse. u can communication with on QQ:308637147 oliver.lee 2008-06-12 发件人: 杨军朝 发送时间: 2008-06-03 10:44:36 收件人: users@appfuse

Re: [appfuse-user] errors with appfuse:gen

2008-06-11 Thread Flavio Froes
I did do I this revert? On Fri, May 23, 2008 at 1:43 PM, Vincent Ramdhanie <[EMAIL PROTECTED]> wrote: > Hi Matt, > I reverted and it seemed to get pass the problem. > Thanks. > Vincent > > > On Fri, May 23, 2008 at 11:51 AM, Matt Raible <[EMAIL PROTECTED]> > wrote: > >> The only step I can think

[appfuse-user] Issues with c3po hibernate and spring ThreadPoolAsynchronousRunner$DeadlockDetector

2008-06-11 Thread davidhay
Hi I've set up spring to do the transaction handling in the standard way: Then in my service classes I have: @Transactional(readOnly = true) All my methods are readonly transactions only reading from the database at this stage. I then set up my datasource as so: The url and usernam

Re: [appfuse-user] about the oracle9i characterset

2008-06-11 Thread Youssef Mohammed
i don't think there is such a thing in Oracle. note that in oracle they term database is somehow different than mysql ... what is a database in mysql is a schema in oracle. another note about character sets ... you have set the database character set during creating it (normally during installing

Re: [appfuse-user] problem deploying appfuse on glasshfish server 8.2 due to known acegi server

2008-06-11 Thread Harsha Ch
can any one have suggestions on this, without putting the hack in acegi thanks On Wed, Jun 11, 2008 at 7:24 AM, Harsha Ch <[EMAIL PROTECTED]> wrote: > yeah, that is the problem. i need to make it work on 8.2 , there are some > hacks on acegi ( getUserProperty returning null) which means to edit t

[appfuse-user] Audit

2008-06-11 Thread java_user_
Is it best practice to integrate the code from audit-1.6 if I want to enable auditing functionality? I am using AppFuse 2.0.1 but will probably be updating to 2.0.2 soon... http://static.appfuse.org/nightly/audit-1.6.zip -- View this message in context: http://www.nabble.com/Audit-tp17780089s

Re: [appfuse-user] Enums sample data

2008-06-11 Thread Matt Raible
You can checkout the source code of the project using: svn co https://appfuse.dev.java.net/svn/appfuse/trunk/plugins/appfuse-maven-plugin Username: guest Password: You can also copy the templates into your project and customize the one for sample-data. appfuse:copy-templates HTH, Matt On We

Re: [appfuse-user] problem deploying appfuse on glasshfish server 8.2 due to known acegi server

2008-06-11 Thread Harsha Ch
yeah, that is the problem. i need to make it work on 8.2 , there are some hacks on acegi ( getUserProperty returning null) which means to edit the code of acegi thanks, harsha On Wed, Jun 11, 2008 at 7:20 AM, Matt Raible <[EMAIL PROTECTED]> wrote: > If it's a known bug in the server, can you upg

Re: [appfuse-user] @Embedded

2008-06-11 Thread Matt Raible
It should be fixed as long as you have to the proper annotations in both POJOs. Have you examined User and Address to ensure you have similar annotations? http://static.appfuse.org/appfuse-data/appfuse-data-common/xref/index.html Matt On Wed, Jun 11, 2008 at 1:28 AM, Juan Heyns <[EMAIL PROTECTED

Re: [appfuse-user] problem deploying appfuse on glasshfish server 8.2 due to known acegi server

2008-06-11 Thread Matt Raible
If it's a known bug in the server, can you upgrade to a newer version of the server? Matt On Wed, Jun 11, 2008 at 12:53 AM, Harsha Ch <[EMAIL PROTECTED]> wrote: > HI, > i am trying deploy appfuse on glassfish 8.2 ,its giving me an error due to > a known bug in the server,is there any work aroun

Re: [appfuse-user] Error when saving an object.....................

2008-06-11 Thread Leo Barrientos C.
Use new Long() to create longs Greenhorn2005 schrieb: hello all, i got an error given below.. What does it mean. WARN: Nested in javax.servlet.ServletException: javax.servlet.ServletException: java.lang.NumberFormatException: null: javax.servlet.ServletException: jav

[appfuse-user] about the oracle9i characterset

2008-06-11 Thread davidludut
The issue is like this: my customer is Chinese, so I use the UTF-8 for the database character set. The appfuse 2.X default use mysql database, for this issue I do like this 1. change the my.ini configuration for database support utf8 character. 2. use the default jdbc setting: This settin

[appfuse-user] Enums sample data

2008-06-11 Thread Juan Heyns
Another problem we are also experiencing is when using enumerations: We are storing enumerations as strings in our db with the following annotations on our property @Enumerated(EnumType.STRING) @Column(length=15, nullable=false) public BankingType getMethod() { return method;

[appfuse-user] @Embedded

2008-06-11 Thread Juan Heyns
Hi guys We are using a modular project with Struts2 & Hibernate. In our core project we are using annotated POJOs with @Embedded POJOs. When running generate on the entity it does not include the fields of the @Embeddable POJO when creating the sample data. Is this still an issue in Appfuse 2.0.