Re: [appfuse-user] How to make url friendly in spring?

2007-01-09 Thread Jonathan Tse
Thanks Dale. I will try it out. Dale Newfield wrote: Dale Newfield wrote: Add a "shortName" attribute to your category object Make that a *unique* attribute. -Dale - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [appfuse-user] get username and password

2007-01-09 Thread Thomas Ramapuram
The Problem with md5, sha is that passwords get encrypted and stored on the database. It is close to impossible to get the password from the encrypted text. How the application authenticates is that every time the user enters his password the application creates an md5/sha from the password a

Re: [appfuse-user] How to make url friendly in spring?

2007-01-09 Thread Dale Newfield
Dale Newfield wrote: Add a "shortName" attribute to your category object Make that a *unique* attribute. -Dale - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] How to make url friendly in spring?

2007-01-09 Thread Dale Newfield
Jonathan Tse wrote: If this is the case, I would have to hardcode the id in urlrewrite.xml . I am thinking of passing "camera", "mp3players" to the controller. Right, but the rewrite language is better than that: ^/shop/([^/?&]*)$ /viewCategory.html\?shortName=$1

Re: [appfuse-user] How to make url friendly in spring?

2007-01-09 Thread Jonathan Tse
Hi Dale, If this is the case, I would have to hardcode the id in urlrewrite.xml . I am thinking of passing "camera", "mp3players" to the controller. Best regards, Jonathan Tse Dale Newfield wrote: Jonathan Tse wrote: If I got some url like this http://localhost/shop/viewCategory

Re: [appfuse-user] How to make url friendly in spring?

2007-01-09 Thread Dale Newfield
Jonathan Tse wrote: If I got some url like this http://localhost/shop/viewCategory.html?categoryId=1 -> Camera category , Handled by ViewCategoryController http://localhost/shop/viewCategory.html?categoryId=2 -> Mp3 Players category , Handled by ViewCategoryController Is it possi

[appfuse-user] How to make url friendly in spring?

2007-01-09 Thread Jonathan Tse
Hi all, If I got some url like this http://localhost/shop/viewCategory.html?categoryId=1 -> Camera category , Handled by ViewCategoryController http://localhost/shop/viewCategory.html?categoryId=2 -> Mp3 Players category , Handled by ViewCategoryController Is it possible that I c

Re: [appfuse-user] Weird problem in JSF navigation

2007-01-09 Thread Eric Taieb
Hi, I solved it on my own! For those who might be interested in nesting collections into datatables into editForms: Just added before the datatable to savestate and it works! -Eric Eric Taieb wrote: > > Hi, > > i have been struggling with this for a few days. if someone could help ? >

Re: [appfuse-user] get username and password

2007-01-09 Thread Matt Raible
You can't decrypt the passwords - they use a one-way encryption algorithm (SHA) for security purposes. Matt On 1/9/07, rbtechno <[EMAIL PROTECTED]> wrote: Thanks for your response. i have tried in UserAction as user = mgr.getUserByUsername(request.getRemoteUser()); then i got password as:

Re: [appfuse-user] Question on SpringMVC Controllers

2007-01-09 Thread maskkkk
Okay maybe I wasn't clear enough Alright lets say there is for example a dropdown box that lists 3 options, and this box appears on more than one page in the application and placed their by a templating mechanism like tiles. > ___ _ > | dropdown1 | | dropdown2

[appfuse-user] testSave fails: ObjectRetrievalFailureException

2007-01-09 Thread Bernd Putsche
well now i get another error :-( tests 1 and 3 run successful , but 2 ( testSaveResident in my case) fails when retrieving object with identifier 1 the class is called Resident and getResident() works in test 1 and 3, but fails in test 2! OUTPUT: test-dao: [echo] Testing dao... [

Re: [appfuse-user] ant test-dao error

2007-01-09 Thread Bernd Putsche
thank you! it seems to work now! the tests are running! bernd On Jan 5, 2007, at 6:01 PM, Matt Raible wrote: I would try chopping off the CN_ part of your classname and just using AccountInformation instead. Matt On 1/5/07, cosmonate cosmo <[EMAIL PROTECTED]> wrote: thank for the fast answers

Re: [appfuse-user] get username and password

2007-01-09 Thread rbtechno
Thanks for your response. i have tried in UserAction as user = mgr.getUserByUsername(request.getRemoteUser()); then i got password as: System.out.println( "hai "+user.getPassword()); But it returns only encrypted password .how to decrypt the password?

Re: [appfuse-user] org.springframework.beans.factory.BeanCreationException

2007-01-09 Thread Devpradhangr
Hi, I deployed the same JSF application in Tomcat and it's working fine. But, why this is not working in JBoss? Why it is throwing lot of (bean creation) exceptions in JBoss? -- View this message in context: http://www.nabble.com/org.springframework.beans.factory.BeanCreationException-tf