Bookmarking, getting the url hash value
Hi, I've seen this topic mention a little bit around the place but I haven't seen any implementation of it so far. I'm looking into adding the ability to bookmark changes done by ajax in wicket. I'm planning on using the BBQ Jquery plugin and integration it with wicket. The hardest step is getting hash value from the url. The best way that I can see would be to get it passed into the page alongside with the page parameters. Is there anyway in wicket to access the hash value? I can add a bit of javscript to do a call back to wicket on page load but this isn't ideal. Or does anyone have any thoughts about this? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Bookmarking-getting-the-url-hash-value-tp2718131p2718131.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Bookmarking, getting the url hash value
On Tue, Sep 28, 2010 at 6:53 PM, Matthew Goodson matt...@spidertracks.co.nz wrote: Hi, I've seen this topic mention a little bit around the place but I haven't seen any implementation of it so far. I'm looking into adding the ability to bookmark changes done by ajax in wicket. I'm planning on using the BBQ Jquery plugin and integration it with wicket. The hardest step is getting hash value from the url. The best way that I can see would be to get it passed into the page alongside with the page parameters. Is there anyway in wicket to access the hash value? I can add a bit of javscript to do a call back to wicket on page load but this isn't ideal. Or does anyone have any thoughts about this? The hash value is not sent to the server. You will have to either: 1 - use JS to catch every callback to the server and append the hash as a query string parameter 2 - use JS to call back to Wicket and send the hash manually -- Jeremy Thomerson http://www.wickettraining.com