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

BookmarkablePageLink :: setParameter int versions missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.5-RC3
    • 1.5-RC4
    • None
    • None

    Description

      the new URL handling & page parameters allow to use an integer index (great!)
      however this has not been implemented in BookmarkablePageLink, so this needs to be added

      private void setParameterImpl(int key, Object value)
      {
      if (parameters == null)

      { parameters = new PageParameters(); }

      parameters.set(key, value);
      }

      and

      public MyBookmarkablePageLink<T> setParameter(final int property, final String value)

      { setParameterImpl(property, value); return this; }

      (and the same for int and long values)

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            zwiep Antoine van Wel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: