Re: [appfuse-user] Appfuse/Jetty SSL configuration

2007-07-07 Thread mbrz2477
So here is what I did to get SSL to work with Jetty. 1) Generate a certificate with the JDK keytool: $JAVA_HOME/bin/keytool -keystore keystore -alias jetty -genkey -keyalg RSA It will put the keystore file in the $JAVA_HOME/bin directory, but certainly you can move it to anywhere on the server

Re: [appfuse-user] User/Role Scheme with ACEGI

2007-07-07 Thread Doug Pham
Thanks Matt! I'll look into this on Monday. Doug Matt Raible <[EMAIL PROTECTED]> wrote: I believe you can make the URLs and Roles dynamic - after all it's just a Spring bean definition. So instead of reading from a String, you'll read from another bean. Unfortunately, I haven't done something l

Re: [appfuse-user] To get username when authentication fails

2007-07-07 Thread Matt Raible
You should be able to get the username using something like ${param.j_username}. Matt On 7/6/07, ujjala <[EMAIL PROTECTED]> wrote: I have a action myaction where flows come when authenticatication(password checking) fails. But it shows only one message in login.jsp page that username or p

Re: [appfuse-user] Appfuse gen-model

2007-07-07 Thread Matt Raible
I thought this functionality was working when I realized M5. However, after receiving some reports from users, it appears that it's broken. You should be able to generate your model objects using your IDE or the hibernate3-maven-plugin. Matt On 7/2/07, Doug Pham <[EMAIL PROTECTED]> wrote: Hi Al

Re: [appfuse-user] Question/Problem with Loading Context and Importing Libraries into Appfuse 2.0

2007-07-07 Thread Matt Raible
On 7/2/07, mda <[EMAIL PROTECTED]> wrote: Hello, Thank you all for the answers. It seems that sometimes it is not enough to install jar in the maven repository, but also needs to be included in pom.xml . What does it depend on? The smack library that is already in public maven repository is 1

Re: [appfuse-user] User/Role Scheme with ACEGI

2007-07-07 Thread Matt Raible
I believe you can make the URLs and Roles dynamic - after all it's just a Spring bean definition. So instead of reading from a String, you'll read from another bean. Unfortunately, I haven't done something like this myself, so I don't have any examples to provide. Matt On 7/2/07, Doug Pham <[EMA

Re: [appfuse-user] AppFuse 1.9.4 without sitemesh and struts menu but with facelets

2007-07-07 Thread Matt Raible
There shouldn't be anything that prevents you from doing this. When I integrated Facelets, I chose not to use its composition feature because I didn't like how it required you to put includes at the top and bottom of each page. However, it's a useful feature and something we may eventually migrate

Re: [appfuse-user] logout problem with remember me option

2007-07-07 Thread Matt Raible
Deleting your cookies should fix the problem. Matt On 7/2/07, tibi <[EMAIL PROTECTED]> wrote: so finally i upgraded from m4 to m5 but now i still have the logout problem. i tried to make a dif between a fresh m5 (wihout the bug) and my m4tom5 project but in eclipse that is a lot of work. so a

Re: [appfuse-user] embedding login panel in pages

2007-07-07 Thread Matt Raible
It shouldn't matter that the pages are in xhtml. If you look at login.jsp, the form is just a regular HTML form - no dynamic tags or anything. Matt On 7/2/07, kace <[EMAIL PROTECTED]> wrote: Hi fellas, I am looking to be able to login from any of my pages but the problem is all the pages are i

Re: [appfuse-user] TOmahawk error, TOmcat, jsf, hibernate

2007-07-07 Thread Matt Raible
Does your RadioList.java class extend BasePage? This class has the sortColumn property and getters and setters for it. Matt On 7/2/07, chichi <[EMAIL PROTECTED]> wrote: Hello everyone! I'm using 1.9.4 version of sprint + hibernate + jsf and I'm, getting this error on part IV of the tutorial.

Re: [appfuse-user] Obtaining the Database Metadata

2007-07-07 Thread Matt Raible
You can get a connection from Hibernate's session object. Matt On 7/3/07, Daniel.Rodriguez <[EMAIL PROTECTED]> wrote: Hello, I'm translating an app from JDBC to Appfuse. My App uses connection.getMetaData(); in order to retrieve a java.sql.DatabaseMetaData object that has the information of

Re: [appfuse-user] Multiple Resource Bundles

2007-07-07 Thread Matt Raible
I don't think JSTL supports multiple resource bundles. However, I could be wrong. Matt On 7/3/07, VJ22 <[EMAIL PROTECTED]> wrote: Hi, This is just a repeat of my previous post.Couldnt continue with that...I need to split my Application resources for Appfuse into multiple bundles..Just

Re: [appfuse-user] Problem with code generation

2007-07-07 Thread Matt Raible
Did you generate your POJO from a database table? If not, then you are responsible for manually implementing these methods. Matt On 7/4/07, ujjala <[EMAIL PROTECTED]> wrote: Earlier when i was generating the right code . But now i am facing problem . After the command ant install-detailed whe

Re: [appfuse-user] Puzzles on DAO & Service layer?

2007-07-07 Thread Matt Raible
http://issues.appfuse.org/browse/APF-186 On 7/2/07, jiangshachina <[EMAIL PROTECTED]> wrote: Hello, I just be curious with the matter, anybody can give me some explanation? Thanks! a cup of Java, cheers! Sha Jiang jiangshachina wrote: > > I'm new to AppFuse, and want to use AppFuse 1.9.4 >

Re: [appfuse-user] username or password

2007-07-07 Thread Matt Raible
If you look in login.jsp, there's a commented out line that shows you how to display more detailed error messages. However, you should be aware that telling users they entered the wrong password (but the username is valid) is a security risk. Matt On 7/6/07, ujjala <[EMAIL PROTECTED]> wrote: I

Re: [appfuse-user] SSL Issue

2007-07-07 Thread Matt Raible
Do you have a logoutFilter in your security.xml? If so, you might try upgrading Acegi or reverting to a logout.jsp like we're using in SVN and AppFuse 2.0. Matt On 7/5/07, jithesh <[EMAIL PROTECTED]> wrote: hai guys, I am using Appfuse 1.9.x for building the application. I want to make a

Re: [appfuse-user] Appfuse/Jetty SSL configuration

2007-07-07 Thread Matt Raible
AppFuse shouldn't need anything special for SSL. I've configured Tomcat with SSL before, but not Jetty. Sorry I can't be of more assistance. Please post your findings if you figure out how to do it. Matt On 7/5/07, mbrz2477 <[EMAIL PROTECTED]> wrote: Any ideas guys? mbrz2477 wrote: > > I'm w

Re: [appfuse-user] Bug in BaseControllerTestCase

2007-07-07 Thread Matt Raible
Can you please enter an issue for this in JIRA? http://issues.appfuse.org/browse/APF Thanks, Matt On 7/5/07, Rick Guo <[EMAIL PROTECTED]> wrote: When two model class has reference to each other. objectToRequestParameters() method in BaseControllerTestCase has a bug. The demo model I used has

Re: [appfuse-user] Any advice on objectToRequestParameters() method in BaseControllerTestCase?

2007-07-07 Thread Matt Raible
If you manually set the required fields using request.addParameter (instead of objectToRequestParameters), does it work? Matt On 7/5/07, Rick Guo <[EMAIL PROTECTED]> wrote: Hi, all: I developed my application using appfuse. After I have finished my model object and passed Dao and Man

Re: [appfuse-user] Removing Xdoclet from Appfuse

2007-07-07 Thread Matt Raible
If you run "hibernatedoclet", then copy the generated files into your "model" directory, you should be able to do this. Matt On 7/7/07, sandeepsuku <[EMAIL PROTECTED]> wrote: Iam using appfuse 1.9.x .I face lot of problems in creating one-to-many and many-to-many relashionship using hibernate

Re: [appfuse-user] Generate serialVersionUID

2007-07-07 Thread Fan
Ohh, got it. Thanks Aled Aled Rhys Jones wrote: > > Hi Fan > > If the class is serializable then if you haven't defined a > serialVersionUID you'll get a warning icon on the left next to the > public class myModel line. Click on that icon and some options will pop > up. Double click on Ad

Re: [appfuse-user] Generate serialVersionUID

2007-07-07 Thread Aled Rhys Jones
Hi Fan If the class is serializable then if you haven't defined a serialVersionUID you'll get a warning icon on the left next to the public class myModel line. Click on that icon and some options will pop up. Double click on Add generated serial version ID. This will generate a serialVersi

Re: [appfuse-user] Drop down list population

2007-07-07 Thread Aled Rhys Jones
Thanks for the replies Mike. Two issues with the below is that it doesn't seem to like me using spring:form. Everything else seems to be form:form which seems to work. I therefore tried the below using form:select, and I get the following exception: java.lang.NullPointerException at org.s

Re: [appfuse-user] Generate serialVersionUID

2007-07-07 Thread Fan
I am using Eclipse 3.2.2, How could I generate serialVersionUID with eclipse ? Matt Raible-3 wrote: > > I use Eclipse 3.0+ - it'll do this for you. > > On 11/30/05, Sam <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> What algorithm are used to generate serialVersionUID for objects >> that extend Ba

[appfuse-user] Removing Xdoclet from Appfuse

2007-07-07 Thread sandeepsuku
Iam using appfuse 1.9.x .I face lot of problems in creating one-to-many and many-to-many relashionship using hibernate xdoclet . I would like to remove the xdoclet support from my appfuse project . And creates the domain classes and the hibernate mapping files with the help of IDE(eg. myeclipse) .