AppFuse JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • 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)
  • Agile
AppFuse
  • AppFuse
  • APF-404 Tapestry Improvements from Review by ...
  • APF-510

APF-404 subtask: FileUpload.java improvements

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Sub-task Sub-task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.3
  • Fix Version/s: 2.0-M3
  • Component/s: Web - Tapestry
  • Labels:
    None

Description

FileUpload.java:

Listener methods are improved in Tapestry 4. IRequestCycle is no longer necessary (it is optional). The return type can be void, String, IPage or ILink.Thus:

public String cancel()

{ log.debug(...); return "mainMenu"; }

You can use the @InjectPage (<inject type="page">) annotation to gain access to another page within the app.

The goal here is to reduce or eliminate the IRequestCycle from page and component code, or at least, from listener methods.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Source
  • Reviews
  • Builds

People

  • Assignee:
    Matt Raible
    Reporter:
    Bryan Noll
Vote (0)
Watch (0)

Dates

  • Created:
    03/Nov/06 11:48 AM
    Updated:
    05/Feb/07 6:55 PM
    Resolved:
    05/Feb/07 6:55 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for AppFuse. Try JIRA - bug tracking software for your team.