[appfuse-user] Cannot login after changing the password.....

2009-10-01 Thread Greenhorn2005
Hello all, I have a strange problem. I created new role in addition to the current two roles. that is ROLE_ADMIN, ROLE_USER, and ROLE_MEMBER. I have modified userForm.jsp to allow the users of ROLE_MEMBER to change the password only while all the other fields are hidden. ( I did modified the se

Re: [appfuse-user] Is there any way to change the color in Appfuse???

2009-09-09 Thread Greenhorn2005
I think I got it. By changing the displaytag.css and typo.css. Hope this helps someone. Greenhorn. -- View this message in context: http://www.nabble.com/Is-there-any-way-to-change-the-%3Cdisplay%3Atable%3E-color-in-Appfusetp25363341s2369p25364259.html Sent from the AppFuse - User mailing

[appfuse-user] Is there any way to change the color in Appfuse???

2009-09-09 Thread Greenhorn2005
Hello all, In Appfuse, the default color of the is light blue. I want to change the color to light green or yellow. Is there any way to change it??? ( for particular pages (light yellow) and for all remaining pages ( default color light blue). Thanks in advance. GreenHorn -- View this me

Re: [appfuse-user] Creating two logins

2009-09-02 Thread Greenhorn2005
seems like a bad coding > practice. > ;-) > > Matt > > On Wed, Sep 2, 2009 at 4:05 AM, Greenhorn2005 > wrote: > >> >> Dear Matt, >> >> Yes the build is "SUCCESSFUL". But the exception shows. My doubt is that >> shouldn'

Re: [appfuse-user] Creating two logins

2009-09-02 Thread Greenhorn2005
the end? Some of these exceptions are expected and the tests assure > they > happen. > > Matt > > On Tue, Sep 1, 2009 at 6:45 AM, Greenhorn2005 > wrote: > >> >> Thanks Matt. I have changed my mind and take your suggestion. Now I am >> trying >> to pu

Re: [appfuse-user] Creating two logins

2009-09-01 Thread Greenhorn2005
Thanks Matt. I have changed my mind and take your suggestion. Now I am trying to put the two logins into one. This means that I have to do mvn appfuse:full-source in order to change the app_user model. Though I am using new version of appfuse 2.0.2, when I do mvn clean jetty:run-war, I get the fo

[appfuse-user] Creating two logins

2009-08-31 Thread Greenhorn2005
Hi, I am trying to construct another login based on another table i created. I am using appfuse 2.0.2. As the appfuse have one login once we start the application. I wanted to create a login after this one. That is to say that the first login is based on the table app_user. I want to create anoth

[appfuse-user] Error relating to Enums Persistence with Hibernate

2009-05-05 Thread Greenhorn2005
Hello all, I am trying to implement Enums using the code given as from website http://appfuse.org/display/APF/Java+5+Enums+Persistence+with+Hibernate But I found error which is given below. Invocation of init method failed; nested exception is org.hibernate.MappingException: Could

Re: [appfuse-user] Error after modifying and adding User model

2008-10-29 Thread Greenhorn2005
I believe your TravelAgent object needs a @Column named "t_agent_id". Matt @ManyToOne(targetEntity = TravelAgent.class) @JoinColumn(name = "t_agent_id", nullable = true) public TravelAgent getTravelAgent() { return travelAgent; } Matt, if i did understand what you mea

Re: [appfuse-user] Error after modifying and adding User model

2008-10-29 Thread Greenhorn2005
Hello Matt, here is the code of user model public class User extends BaseObject implements Serializable, UserDetails { private static final long serialVersionUID = 3832626162173359411L; private Long id; . private boolean credentials

[appfuse-user] Error after modifying and adding User model

2008-10-28 Thread Greenhorn2005
Hello all, I have downloaded the full source of appfuse using (mvn appfuse:full-source). After adding another relationship with the User ( in addition to User - Role). I have tried to run it but got error WARN [btpool0-1] JDBCExceptionReporter.logExceptions(77) | SQL Error: 1054

[appfuse-user] Upload an image question.

2008-10-01 Thread Greenhorn2005
Hello all, how do i display an uploaded image in the JSP page when i use the upload a file button? This is how i want to display an banner (image) for my page. I uploaded an image using upload a file link. But how do i retrieve it so that the image is displayed on another page?

[appfuse-user] Re[appfuse-user] stricting access to link based on role of the user.........

2008-09-26 Thread Greenhorn2005
Hello all, After reading all the old queries and articles , I still find problem. I am using Appfuse 2.0.2 with Struts 2 integration. I have a link which is supposed to be displayed with user role ROLE_USER and not displayed when the role of the user is other than ROLE_USER . so far as i kn

Re: [appfuse-user] Question regarding User role

2008-09-25 Thread Greenhorn2005
hello all, some info here. I am using Struts 2 , appfuse 2.0.2. Thanks GreenHorn -- View this message in context: http://www.nabble.com/Question-regarding-User-role-tp19683030s2369p19683449.html Sent from the AppFuse - User mailing list archive at Nabble.com.

[appfuse-user] Question regarding User role

2008-09-25 Thread Greenhorn2005
hello all, I am using the latest appfuse, maven, jsp, struts, etc. I wanted to know a way to hid a button for one user role and display it for another user role. How do i implement it? Thanks GreenHorn -- View this message in context: http://www.nabble.com/Question-regarding-User-

[appfuse-user] a question about decorator????

2008-09-13 Thread Greenhorn2005
Hello all, I have been making research on decorator in appfuse. It seems to me that the number of decorator is limited to two. Am I correct? I found this because after having two decorator. it works . but after adding three or four. it doesnt work . and it would be defaulted to one

[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] Error when saving an object.....................

2008-06-10 Thread Greenhorn2005
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: java.lang.NumberFormatException: null at org.apache.

Re: [appfuse-user] Access Denied .............. need help

2008-06-09 Thread Greenhorn2005
Well Leo, I just wanted to thank you for the help, I have got it fixed... using security.xml thanks... Philip -- View this message in context: http://www.nabble.com/Access-Denied-..-need-help-tp17727913s2369p17729623.html Sent from the AppFuse - User mailing list ar

Re: [appfuse-user] Access Denied .............. need help

2008-06-09 Thread Greenhorn2005
Leo Barrientos C. wrote: > > Ok, just ideas: > > a) ROLE must be Uppercase always in the DB and the config. Like: > roles="ROLE_USER, ROLE_TA" > > b) Play with the spaces roles="ROLE_A,ROLE_B" or "ROLE_A, ROLE_B" > > c) mvn clean > > Hope helps. > > Hello Leo,, thanks for the quick r

Re: [appfuse-user] Access Denied .............. need help

2008-06-09 Thread Greenhorn2005
hello Leo, No, i have already added Role_TA to them (i mean in particular menus plus I added to menu containing logout, main menu and usermenu) So it has to do something with security I think... I am a fresher.. thanks.. Philip -- View this messag

[appfuse-user] Access Denied .............. need help

2008-06-09 Thread Greenhorn2005
Hi, I am using Maven and appfuse version 2.0.7. I have added a new role in the sample data besides ROLE_ADMIN and ROLE_USER. (a new one is ROLE_TA). so a total of three roles. When I create a new user having role ROLE_TA and logs in using its password and username, I get Access D

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

2008-06-07 Thread Greenhorn2005
Hello Appfusers, I am practically a newbie... I was wondering if it is possible to hid the menu tab for every users. not according to their roles...according to their status say level of income how will i block or hid the menu tab Thanks little Green horn -- View t

[appfuse-user] Strange problem regarding transactionManager

2008-06-05 Thread Greenhorn2005
Hello , I seems to have a strange error... regarding bean "transactionManager" Which i do not have in my model, or in dao or in manager folder... so where does this come from ?? Given below is the error [netRes] ERROR [main] ContextLoader.initWebApplicationContext(215) | Context

[appfuse-user] Need help :javax.servlet.ServletException: Unable to instantiate Action

2008-05-22 Thread Greenhorn2005
Hello everyone, I am using appfuse 2.0.2 and have found this error something strange. hope you smart guys out there help me. Error: javax.servlet.ServletException: Unable to instantiate Action, com.trailsindia.webreservation.webapp.action.HotelGroupUserAction, defined for 'hotelGr

[appfuse-user] Re: Re[appfuse-user] garding Appfuse core classes

2008-05-22 Thread Greenhorn2005
Hello Mike, Well thanks a lot for it. I hope you will edit the appfuse core classes page in the website so that it wont remain old. Anyway have a great day !:-D Green horn... -- View this message in context: http://www.nabble.com/Regarding-Appfuse-core-classes-tp17355781s236

[appfuse-user] Re[appfuse-user] garding Appfuse core classes

2008-05-20 Thread Greenhorn2005
hello all, I am using new version of appfuse 2.0.2. I need to change User and Role. I find out that there is no package org.acegisecurity and org.acegisecurity.userdetails packages in the Lib. This causes error. Is the appfuse core classes applicable to appfuse 2.0.1 [ERR

[appfuse-user] Using Appfuse core classes

2008-05-20 Thread Greenhorn2005
Hello Appfusers, I need to modify the User and Role classes. Instead of using direction as given by Appfuse core classes, is it possible to do it from using full source appfuse ( using mvn appfuse:full-source )... and start modifying them? Thanks in advance. Greenhorn. -

Re: [appfuse-user] Need help for Many to Many association

2008-05-19 Thread Greenhorn2005
Thank you John I will go through it..:handshake: John Kwon wrote: > > On Mon, May 12, 2008 at 6:23 AM, Greenhorn2005 <[EMAIL PROTECTED]> > wrote: > >> >> Hello to all appfuse users, >> >> I have a doubt. >> >> I have a created t

Re: [appfuse-user] Need Help: WARN [btpool0-1] LookupUtil.(99) | Exception: [.LookupUtil] Error looking up property "username" in object type "[Ljava.lang.Object;". Cause: Unknown property 'user

2008-05-15 Thread Greenhorn2005
I got the problem solved.whewww!! Here is my OLD daoHibernate: public class TravelAgentUserDaoHibernate extends GenericDaoHibernate implements TravelAgentUserDao { public TravelAgentUserDaoHibernate() { super(User.class

[appfuse-user] Need Help: WARN [btpool0-1] LookupUtil.(99) | Exception: [.LookupUtil] Error looking up property "username" in object type "[Ljava.lang.Object;". Cause: Unknown property 'usernam

2008-05-14 Thread Greenhorn2005
Hello all Appfusers, I am practically a newbie in this field. I just got an error given below: WARN [btpool0-1] LookupUtil.(99) | Exception: [.LookupUtil] Error looking up property "username" in object type "[Ljava.lang.Object;". Cause: Unknown property 'username' java.lang.NoSuchMeth

[appfuse-user] Need help for Many to Many association

2008-05-12 Thread Greenhorn2005
Hello to all appfuse users, I have a doubt. I have a created two entities called User and Role. A user can have many roles and a role can have many users. User.java code: @Entity @Table(name="app_user") public class User { . private Set roles = new HashSet(