Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Actions behaving strangely

 
Harjit Singh
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there

I have two actions whose code is as follows




what I see is that the action link which is called doesn't find the object when I pass the parameter, params.userName while as authenticate works fine. Any clues why this would not be working. I do see the value of userName being passed from the form to the controller.

Thanks

- Harjit
 
Harjit Singh
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found the issue. It was a conditional logic error which was causing it to return false in case it was found... I guess I'm having the Monday office blues....

- H
 
Campbell Ritchie
Sheriff
Pie
Posts: 49405
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done finding it and telling use the solution
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic