jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Waffle
  • WAFFLE-99

Default action, parameters and injection

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.3
  • Fix Version/s: 1.4
  • Component/s: Core
  • Labels:
    None

Description

This is not possible:

@ActionMethod( asDefault = true, parameters = { "value" } )  
public void myActionMethod( HttpResponse response, String value ) {
}

I receive an "wrong amount of parameters" exception. Why is the HttpResponse object not injected and the value taken from the GET/POST parameters?

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Michael Ward
    Reporter:
    Sven Jacobs
Vote (0)
Watch (1)

Dates

  • Created:
    03/Mar/09 5:41 AM
    Updated:
    03/Mar/09 5:41 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.