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

InlineFrame page constructor doesn't behave as expected

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0-beta1
    • 1.3.0-beta2
    • wicket
    • None
    • win32 (xp sp2)
      jdk 1.5.0_11
      Tomcat 5.5

    Description

      Please refer to following mail ...
      http://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg29775.html

      InlineFrame takes 3 constructors:
      1: public InlineFrame(final String id, final IPageMap pageMap, final Class c)
      2: public InlineFrame(final String id, final IPageMap pageMap, final Page page)
      3: public InlineFrame(final String id, final IPageMap pageMap, IPageLink pageLink)

      The idea is to pass PageParameters in the URL of the InlineFrame ... The first can't be used at is creates the page itself.
      The second constructor takes a custom created page. If used, it ignores the pagemap in the Iframe itself (Is this expected behaviour or a bug ???????)
      The third constructor is rather not too straightforward to use.

      If possible following constructor could do the trick ... public InlineFrame(final String id, final IPageMap pageMap, final Class c, final PageParameters parameters)
      Is it an option to add this new constructor to the InlineFrame?

      Attachments

        Activity

          People

            almaw Alastair Maw
            tomdesmet Tom Desmet
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: