RE: Panel switching

2013-05-27 Thread Colin Rogers
Martin, Awesome - thanks, once again...! That gives me plenty to get on with... :) Cheers, Col. -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: 27 May 2013 17:34 To: users@wicket.apache.org Subject: Re: Panel switching Hi, I guess you know that History

Re: Panel switching

2013-05-27 Thread Martin Grigorov
application, as > per > > > the examples below; > > > > > > player > > > player/messages > > > player/messages/archive > > > player/messages/old > > > something > > > something/another/thing/or/whatever > > > > &g

Re: Panel switching

2013-05-27 Thread Maxim Solodovnik
ng I thought people might have some ideas on. > > > > A little background first. I like to have URLs in my application, as per > > the examples below; > > > > player > > player/messages > > player/messages/archive > > player/messages/old > > som

Re: Panel switching

2013-05-27 Thread Martin Grigorov
hing/another/thing/or/whatever > > etc. > > Now - I'm trying to implement 'panel switching' (I honestly have no idea > what this is called...) - where I only replace the parts of the page that > actually need replacing, rather than recreating all elements of the

Panel switching

2013-05-26 Thread Colin Rogers
sages/old something something/another/thing/or/whatever etc. Now - I'm trying to implement 'panel switching' (I honestly have no idea what this is called...) - where I only replace the parts of the page that actually need replacing, rather than recreating all elements of the pa

Re: Panel switching in LinkTree.onNodeLinkClicked() doesn't work

2009-05-27 Thread Bucyrus
pTarget.addComponent ( lMMCSystemPanel); } break; ->8-- Enough said on this issue, I hope. -- View this message in context: http://www.nabble.com/Panel-switching-in-LinkTree.onNodeLinkClicked%28%29-doesn%27t-work-tp2

Re: Panel switching in LinkTree.onNodeLinkClicked() doesn't work

2009-05-27 Thread Bucyrus
Im using a org.apache.wicket.extensions.markup.html.tree.Tree now instead of a LinkTree. This seems to work. Don't forget to call "setOutputMarkupId ( true)" for all panels before they get displayed. -- View this message in context: http://www.nabble.com/Pan

Panel switching in LinkTree.onNodeLinkClicked() doesn't work

2009-05-25 Thread Bürgel , Andreas
Hi folks, I want to exchange panels when special nodes of my main navigation tree object are clicked 8< public class Index extends AbstractPage { // constants private static String ID_MAIN_PANEL = "main_panel"; priv

Re: Panel switching and back button

2008-06-26 Thread Martin Grigorov
We use ReallySimpleHistory (http://code.google.com/p/reallysimplehistory/) for this. Every AjaxLink (or component+AjaxEventBehavior) records the url of the current page + some indicator in the hash path (e.g. '../blah/page#someId') in rsh.js (via AjaxCallDecorator). Later when the user presses 'ba

Re: Panel switching and back button

2008-06-26 Thread Cristi Manole
will try that. tks On Thu, Jun 26, 2008 at 4:16 PM, Thomas Mäder <[EMAIL PROTECTED]> wrote: > Hmhhh... isn't there a Javascript function which allows to replace the URL > of the current page in the history? I'm not sure this would work, but > couldn't you try this: > > 1) replace the panel > 2) r

Re: Panel switching and back button

2008-06-26 Thread Thomas Mäder
Hmhhh... isn't there a Javascript function which allows to replace the URL of the current page in the history? I'm not sure this would work, but couldn't you try this: 1) replace the panel 2) reload the IFrame 3) now manipulate the browser history to point to the currect URL for the current page v

Re: Panel switching and back button

2008-06-26 Thread Cristi Manole
yes, I know, I'm trying to figure out a solution myself. I was sure though somebody else ran into this. :) On Thu, Jun 26, 2008 at 3:28 PM, Thomas Mäder <[EMAIL PROTECTED]> wrote: > Aha, the problem is that ajax does not cause a history entry to be created. > I've seen workarounds for this (not

Re: Panel switching and back button

2008-06-26 Thread Thomas Mäder
Aha, the problem is that ajax does not cause a history entry to be created. I've seen workarounds for this (not with wicket, though) which reload a hidden IFrame each time they make a relevant change. I can't see right now how that helps you in wicket, tough. Thomas On Thu, Jun 26, 2008 at 1:56

Re: Panel switching and back button

2008-06-26 Thread Cristi Manole
yes, with Ajax On Thu, Jun 26, 2008 at 2:15 PM, Thomas Mäder <[EMAIL PROTECTED]> wrote: > I would expect that to happen by default. Replacing a panel should create a > new page version which should change the Page URL. Are you using AJAX? > > Thomas > > On Thu, Jun 26, 2008 at 10:07 AM, Cristi Ma

Re: Panel switching and back button

2008-06-26 Thread Thomas Mäder
I would expect that to happen by default. Replacing a panel should create a new page version which should change the Page URL. Are you using AJAX? Thomas On Thu, Jun 26, 2008 at 10:07 AM, Cristi Manole <[EMAIL PROTECTED]> wrote: > Hello, > > I am implementing navigation through my application by

Panel switching and back button

2008-06-26 Thread Cristi Manole
Hello, I am implementing navigation through my application by switching panels. When the user presses the back button, I'd like to show the previously displayed panel. Is this possible? Thanks, Cristi Manole