Hi Folks,
I don't really unterstand how to do it.
I have two Wicket Pages: Page1 and Page2
On the Page1 I define the Label, wich will be contain the anchor id. So
now I want to define a link on the Page1, wich will get
setResponsePage(Page1) but I also want that the user will be forwarded to
Hi,
Case 1) both the link and the anchor are in the same page (Page1)
To be able to use Link#setAnchor(Component) you need to use a Label
component for the anchor and pass it to link: link.setAnchor(label)
Case 2) the link is in Page1 and the anchor in is Page2
Use a BookmarkablePageLink and
Thank You!
Well I have the second case. What I don't really understand is how to get
the '#anchor'?
I defined on the Page1 an anchor (Wicket Label with markupid). On the Page2
I define the BookmarkablePageLink with overriden getURL Method where I
return #anchor + super.getURL().
My problem is
On Wed, Sep 26, 2012 at 2:31 PM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Thank You!
Well I have the second case. What I don't really understand is how to get
the '#anchor'?
I defined on the Page1 an anchor (Wicket Label with markupid). On the Page2
I define the
You know, you are a wicket god :) Thanks and have a nice day!
2012/9/26 Martin Grigorov mgrigo...@apache.org
On Wed, Sep 26, 2012 at 2:31 PM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Thank You!
Well I have the second case. What I don't really understand is how to get
the