I want a hyperlink to take me to a particular section of another  
page. If I was doing static HTML, the link would be something like <a  
href="aPage#sectionName">. I can't figure out how to do this with  
wicket...

Here's my code:

add( new Link("up") {
        public void onClick() {
                setResponsePage( new List() );
        }
} );

I see the setAnchor() method on Link, but that looks like it's more  
for linking to a component on the same page. In this case, I want to  
link to a certain spot on a page that has not been instantiated at  
the time the first page is rendered. I guess what I'm really looking  
for is something like aLink.setAnchorName("sectionName");

--Jesse Barnum, President, 360Works
http://www.360works.com
(770) 234-9293



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: "users-subscribe at wicket.apache.org" and follow the 
instructions.
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to