This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Groovy and the fly likes Actions behaving strangely Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Actions behaving strangely" Watch "Actions behaving strangely" New topic
Author

Actions behaving strangely

Harjit Singh
Ranch Hand

Joined: Feb 01, 2007
Posts: 77
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

Joined: Feb 01, 2007
Posts: 77
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

Joined: Oct 13, 2005
Posts: 38057
    
  22
Well done finding it and telling use the solution
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Actions behaving strangely
 
Similar Threads
store multiple files in memory instead of disk
Passing objects across controllers in Grails
How to remove deafult layout from template
Re-directing to the correct page - Grails
[Grails] Passing user object into hiddenField