Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6578

StatelessResourceLink

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 8.0.0
    • Fix Version/s: 8.3.0, 9.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      Wicket provides many Stateless Versions of classes such as StatelessLink. It would be nice to also have a StatelessResourceLink:

      Complete code for StatelessResourceLink analogous to StatelessLink:

      public class StatelessResourceLink<T> extends ResourceLink<T> {

          public StatelessResourceLink(String wicketId, ResourceReference resourceReference)

      {         super(wicketId, resourceReference);     }

          public StatelessResourceLink(String wicketId, ResourceReference resourceReference, PageParameters resourceParameters)

      {         super(wicketId, resourceReference, resourceParameters);     }

          public StatelessResourceLink(String wicketId, IResource resource)

      {         super(wicketId, resource);     }

          @Override
          protected boolean getStatelessHint()

      {         return true;     }

          
      }

        Attachments

          Activity

            People

            • Assignee:
              svenmeier Sven Meier
              Reporter:
              michaelgerhards Michael Gerhards

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Issue deployment