Tapestry
  1. Tapestry
  2. TAPESTRY-1184

@InjectPageLink and @InjectExternalLink annotations

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1.2
    • Component/s: Annotations
    • Labels:
      None

      Description

      As a return type of listener method,ILink can be used to perform a redirect-after-post.So it will be a great convenience to inject ILink using annotations.
      @InjectPageLink("Home")
      public abstract ILink getHomeLink();

      @InjectExternalLink("ShowCategory")
      public abstract ILink getCategoryLink(Long id);

      public ILink goHome(){
      return getHomeLink();
      }
      public ILink showCategory(Long id){
      return getCategoryLink(id);
      }

      1. InjectLink.zip
        33 kB
        Ming Jiang

        Activity

        Ming Jiang created issue -
        Ming Jiang made changes -
        Field Original Value New Value
        Attachment InjectLink.zip [ 12346978 ]
        Jesse Kuhnert made changes -
        Fix Version/s 4.1.2 [ 12312202 ]
        Andreas Andreou made changes -
        Assignee Andreas Andreou [ andyhot ]
        Hide
        Andreas Andreou added a comment -

        Objections to moving this to tacos-annotations ?
        https://svn.sourceforge.net/svnroot/tacos/tacos-4.1/trunk/tacos-annotations/

        We can always move it then back in tapestry if it turns out to be popular!

        Show
        Andreas Andreou added a comment - Objections to moving this to tacos-annotations ? https://svn.sourceforge.net/svnroot/tacos/tacos-4.1/trunk/tacos-annotations/ We can always move it then back in tapestry if it turns out to be popular!
        Hide
        Andreas Andreou added a comment -

        move to tacos-annotations

        Show
        Andreas Andreou added a comment - move to tacos-annotations
        Andreas Andreou made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Mark Thomas made changes -
        Workflow jira [ 12392150 ] Default workflow, editable Closed status [ 12568109 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568109 ] jira [ 12591200 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        163d 9h 46m 1 Andreas Andreou 24/May/07 19:46

          People

          • Assignee:
            Andreas Andreou
            Reporter:
            Ming Jiang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development