[appfuse-user] how to prevent user from accessing link directly as user role by enter link address??

2007-10-05 Thread phamvubinh
Hi all, I have some private .xhtml pages. And I don't want they can be accessed directly as user role by enter link address. Just admin can access them only. Any suggestion for me? Thanks in advance. Binh Pham -- View this message in context: http://www.nabble.com/how-to-prevent-user-from-acc

[appfuse-user] problem of appfuse 1.9.4 with tomcat 6

2007-10-05 Thread Ashkan Roshanayi
Hi all, I want to create a new jsf flavor project with appfuse 1.9.4 but it failed: *BUILD FAILED* *D:\workspaces\myeclipse-6.0\appfuse-jsf-1.9.4\build.xml:1074: D:\tools\apache-tomcat-6.0.13\server\lib not found. *I see there is no server folder in tomcat v.6 so apparently something must be

[appfuse-user] Stripes archetype

2007-10-05 Thread Daryl Handley
Is there a stripes archetype for appfuse 2.0 ? I tried appfuse-basic-stripes and it couldn't find it. Or do I just use appfuse lite instead ? TIA Daryl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

[appfuse-user] Dropbox list for Country and State

2007-10-05 Thread BruceLee
Hi Team, I tried to search in this forum but still have puzzles. Our env is 1.9.4-WebWork2. We want to have a dropbox list for some Countries. If user chooses one, then the State/Province edit box will change to a dropbox list for all states in that country. in userForm.jsp can list countries f

Re: [appfuse-user] Hibernate Example.create

2007-10-05 Thread Nathan Anderson
I think you might need to provide some more information for someone to help with this. Could you share your POJO's so we can see how you built the relationships betwen Manager and Employees. Are you trying to retrieve one Manager and a List of Employees? If the relationships are set up correc

Re: [appfuse-user] Help with JSF xhtml List

2007-10-05 Thread WayneFH
They were in about 5 places include src/webapp/WEB-INF/classes in src and another 3 or 4 in different target directories. I think I'll do a mvn clean Wayne mraible wrote: > > Where were you duplicates? Where they in src/test/resources and > src/main/resources? If so, that's a bug in 2.0. > >

Re: [appfuse-user] Help with JSF xhtml List

2007-10-05 Thread Matt Raible
Where were you duplicates? Where they in src/test/resources and src/main/resources? If so, that's a bug in 2.0. Matt On 10/5/07, WayneFH <[EMAIL PROTECTED]> wrote: > > You're a GENIUS!! > That fixed it. For some reason I had other versions of hibernate.cfg.xml in > deployment directories. > > Why

Re: [appfuse-user] Help with JSF xhtml List

2007-10-05 Thread WayneFH
You're a GENIUS!! That fixed it. For some reason I had other versions of hibernate.cfg.xml in deployment directories. Why doesn't maven update them when I run mvn jetty:run? Actually I have had this same issue with log4j.xml and a couple other things. Maybe I need to do a "mvn clean". Wayne

Re: [appfuse-user] Help with JSF xhtml List

2007-10-05 Thread Matt Raible
That can only be answered by looking at your bean definition and ensuring everything works properly. Maybe write a unit test that just gets the manager and tests getAll - instead of going through your JSF bean to do it. Matt On 10/5/07, WayneFH <[EMAIL PROTECTED]> wrote: > > As to my previous pos

Re: [appfuse-user] Help with JSF xhtml List

2007-10-05 Thread Matt Raible
On 10/5/07, WayneFH <[EMAIL PROTECTED]> wrote: > > Matt, > > Please help. I turned on DEBUG logging for Hibernate and added a logging > message to backingBean.getCaseItems() right before calling > caseItemManager.getAll(). > > As you see, Hibernate only opens the session and closes it without selec

Re: [appfuse-user] Help with JSF xhtml List

2007-10-05 Thread WayneFH
As to my previous post showing Hibernate never selects, could this be somehow the wrong GenericManager for this backing bean? I'm lost. The GetAll works in the unit testing. Wayne mraible wrote: > > I would try printing our your results using a simple expression before > your datatable. Some

Re: [appfuse-user] Help with JSF xhtml List

2007-10-05 Thread WayneFH
Matt, Please help. I turned on DEBUG logging for Hibernate and added a logging message to backingBean.getCaseItems() right before calling caseItemManager.getAll(). As you see, Hibernate only opens the session and closes it without selecting on the database. What can possible cause Hibernate to n

Re: [appfuse-user] Basic JSF release 2.0 fails to deploy on Glassfish.

2007-10-05 Thread Dmitry Chuyko
Done :-) http://issues.appfuse.org/browse/APF-928 mraible wrote: > > Can you please enter this as an issue in JIRA? > > http://issues.appfuse.org/browse/APF > > Also, please mark it "fix for" 2.0.1. > > Thanks, > > Matt > -- View this message in context: http://www.nabble.com/Basic-JSF-

Re: [appfuse-user] A big thank you to Matt

2007-10-05 Thread John Kwon
Then a big thank you to all of you who made this possible. Really, it does solve that first hurdle that hits every project - where everyone argues about which frameworks and how they're going to work together until we're all blue in the face. On 10/5/07, Matt Raible <[EMAIL PROTECTED]> wrote: >

Re: [appfuse-user] A big thank you to Matt

2007-10-05 Thread Matt Raible
You're welcome! Of course, you really should be thanking everyone. This project wouldn't be anything without the other developers and (especially) the users over the past 4 1/2 years. They're the ones that've made it the quality project it is today. I'm just a code monkey. ;-) Matt On 10/5/07, Jo

Re: [appfuse-user] eclipse and JSF

2007-10-05 Thread Shash Chaterjee
I can't answer too many questions about this, and I am an absolute JSF newbie. However, I have started experimenting with this exact combo, and ran into the same problem with Eclipse (Europa) because I was using Tomcat-5.5. Use Tomcat 6, and define a Eclipse server to deploy your app to, and it

[appfuse-user] A big thank you to Matt

2007-10-05 Thread John Kwon
I have been on quite a few j2ee projects, and I chose AppFuse to get this latest one started. It has been one of the best decisions I ever made - it got us off the ground very quickly, and it also kept us from having what I call "the endless argument" about what frameworks and how we would put it a

Re: [appfuse-user] Cannot see wsdl for User Service in new project

2007-10-05 Thread Matt Raible
This is a bug in 2.0: http://issues.appfuse.org/browse/APF-904 Copying xfire-servlet.xml from target/yourproject-version/WEB-INF into src/main/webapp/WEB-INF and removing default-lazy-init="true" should fix the problem. Matt On 10/5/07, arvinder <[EMAIL PROTECTED]> wrote: > > I created a new st

Re: [appfuse-user] Basic JSF release 2.0 fails to deploy on Glassfish.

2007-10-05 Thread Matt Raible
Can you please enter this as an issue in JIRA? http://issues.appfuse.org/browse/APF Also, please mark it "fix for" 2.0.1. Thanks, Matt On 10/5/07, Dmitry Chuyko <[EMAIL PROTECTED]> wrote: > > from-action should be from-outcome in faces-config.xml (ajax4jsf and > selectFile actions). Also this

[appfuse-user] Cannot see wsdl for User Service in new project

2007-10-05 Thread arvinder
I created a new struts 2 basic project (2.0) but I am not seeing user service wsdl after mvn jetty:run-war. When I type in http://localhost:4040/services/UserService?wsdl (I have changed the the port to 4040), I get a 404 error. I get the same error if I try http://localhost:4040/services. The r

Re: [appfuse-user] any idea about the final year university Project ?

2007-10-05 Thread meisam4910
>family-tree web application is there any sample application to have a look ? or somthing like that, then can we do it simpler not using the frameworks, because im not that much professional on using the tools you said :) and the other question is that, what do you think the best web based appli

Re: [appfuse-user] any idea about the final year university Project ?

2007-10-05 Thread James Perry
It really depends on how strong your technical skills are. However if you want a decent challenge and a strong project, I would recommend doing a family-tree web application using Hibernate, Spring and either Wicket or Spring MVC. This application will allow users to develop their family tree and w

[appfuse-user] Basic JSF release 2.0 fails to deploy on Glassfish.

2007-10-05 Thread Dmitry Chuyko
from-action should be from-outcome in faces-config.xml (ajax4jsf and selectFile actions). Also this issue may cause unstable behavior on Tomcat. -- View this message in context: http://www.nabble.com/Basic-JSF-release-2.0-fails-to-deploy-on-Glassfish.-tf4574186s2369.html#a13056452 Sent from the

[appfuse-user] any idea about the final year university Project ?

2007-10-05 Thread meisam4910
Guys, sorry, Its been long time im thinking of a project to build and handle as my final year project, the area and field of study are: Information system engineering Database management system System analysis Web-based application do you have any idea of what project can i propose to my depart

Re: [appfuse-user] 答复: Two qu estions about PersonActionTest

2007-10-05 Thread Martin Homik
Ok. I have somehow found my own answer. To delete the latest additional provisory object, you have to remember its id. My solution is like this. Add a private field "id" of type Long. When you create the provisory object, store its id in onSetUpBeforeTransaction(): competency = competenc

Re: [appfuse-user] 答复: Two qu estions about PersonActionTest

2007-10-05 Thread Martin Homik
Let me also add the comment that the test will cause an error if one of the POJO fields is annotated with "unique = true". That's because onSetUpBeforeTransaction() is invoked before each test and hence populates the database with as many additional objects as tests exist. According to my databa

Re: [appfuse-user] How to call logout from struts baseaction

2007-10-05 Thread rbtechno
allan, Thanks for your quick respone.I'll try as you mentioned -rb Allan Ang wrote: > > > > 1. have a public static in BaseAction that holds your variable > 2. create a servlet filter that checks this value. servlet filter maps to > all urls > 3. if variable is set, re