Re: [appfuse-user] Junit Test Cases failing within eclipse.

2008-07-15 Thread Edwin Hoogerbeets
When you see JUnit38ClassRunner in the stack, that means that JUnit has determined that your test class is an old junit 3.8 style test class. It does this by testing whether or not your class inherits from TestCase. So, if you remove "extends TestCase" from your classes' declaration, it will run i

Re: [appfuse-user] Struts2; override user validator

2008-07-15 Thread Martin Homik
I corrected my answer this morning. You were right, I've put it in a wrong place. Thanks a lot Matt, I really value your answers and effort you put in the community. Martin mraible wrote: > > Where did you put User-validation.xml? It should be in > src/main/resources/org/appfuse/model. If it'

[appfuse-user] appfuse and spring web services

2008-07-15 Thread gmehta
hello, I am interested in using appfuse as simply a webservice engine. I am not interested in the front end side of it. So basically some system calls a webservice on AppFuse and in turn AppFuse returns a response, e.g Login WebService, .. and the front end can be anything e.g PHP, ASP, JSP

[appfuse-user] Implementing a language JSP tag for drop-down list

2008-07-15 Thread Martin Homik
Hi there, I'd like to add language information to the user's profile. The signup/userForm JSP should use a very similar construct like the "appfuse:country" tag for a drop-down list. Do you know any taglib, that offers that functionality? The alternative would be to implement it myself. My safest

RE: [appfuse-user] urgent help needed--login problem

2008-07-15 Thread pedro_burglin
I googled for it (http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=5S3&q=MysqlIO.java%3A1913+EOFException&btnG=Search) an found many ppl complaining about the same issue. The most common cause is that MySQL is closing connections after some time and Hiberna

[appfuse-user] Doubt in jsp variables

2008-07-15 Thread nani2ratna
Hi, I have seen the view source of the page in APpfuse example. For all the textboxes/ input form variables names has given like user.id, user.username like that. But in action class they are getting the USer object, how they are getting. Can any body eloborate this one. Thanks in advance ratna

Re: [appfuse-user] Doubt in jsp variables

2008-07-15 Thread Matt Raible
The names match the JavaBean's convention of the properties, so user.id maps to setUser().setId(). Matt On Tue, Jul 15, 2008 at 6:37 AM, nani2ratna <[EMAIL PROTECTED]> wrote: > > Hi, > > I have seen the view source of the page in APpfuse example. > For all the textboxes/ input form variables name

Re: [appfuse-user] appfuse and spring web services

2008-07-15 Thread Matt Raible
You may be able to use XFire and appfuse-core, which is an archetype option. The appfuse-ws archetype might be the one you're looking for too. Unfortunately, we haven't created it yet. http://issues.appfuse.org/browse/APF-897 Matt On Tue, Jul 15, 2008 at 4:42 AM, gmehta <[EMAIL PROTECTED]> wrote

Re: [appfuse-user] Implementing a language JSP tag for drop-down list

2008-07-15 Thread Matt Raible
Yes, I believe this sounds like a reasonable approach. You might want to do a bit of googling to see if an existing library already exists. Matt On Tue, Jul 15, 2008 at 5:26 AM, Martin Homik <[EMAIL PROTECTED]> wrote: > > Hi there, > > I'd like to add language information to the user's profile. T

[appfuse-user] Active Directory authentication and using appfuse for authorisation via roles

2008-07-15 Thread davidhay
I'm trying to use Active Directory via the ldap-authentication-provider for authentication only and then use roles that are in my application synched by user id for authorisation. Looking into the code for the LdapAuthenticationProvider authenticate method the loadUserAuthorities calls the getGra

Re: [appfuse-user] Implementing a language JSP tag for drop-down list

2008-07-15 Thread Martin Homik
Yup that was it. I was tired of googling, yesterday, so I've implemented it myself. Was a good opportunity to have a closer look at AppFuse.:-) Martin mraible wrote: > > Yes, I believe this sounds like a reasonable approach. You might want > to do a bit of googling to see if an existing librar