Re: StackOverFlow (Start.java) Jetty
Hello Martin, thanks for the reply. Sorry about the last post. I have become leary of posting code as the inhouse lawyers have admonished me for this practice. I realized albeit Panels or WebPage Wicket won't render a different class from another class without some type of event such as a link. I solved the problem by usurping the methods needed in the target class and putting the target method code into the Parent class that renders the menu. My fear was with this approach I would be forced to decompose all of my classes that are in the same directory. As it turned out this was not the case. I just saw an email response posted by Igor where mounted classes can pair up to URLS (http:) which would have easily solved my problem but unfortunately this won't become available until 1.5. Thanks again, David. - Original Message - From: "Martin Makundi" To: users@wicket.apache.org Sent: Monday, September 7, 2009 11:41:14 PM GMT -06:00 US/Canada Central Subject: Re: StackOverFlow (Start.java) Jetty Hi! I did not understand a single word of what you just said :( I have never had problems with panels.. would you mind posting some code so we can see what you are trying to accomplish and how? ** Martin 2009/9/8 David Brown : > Hello Martin, converting the WebPage to Panel foments no complaints until > RunTime where all of the upstream markup is re-included in the downstream > onClick() request. the usual complains are made: cannot find the component to > the paired wicket markup. The component has already been fired by this point > in the navigation process. I tried to add instances of the classes that are > being complained about but this is completely ignored by the rendering. I > suppose I have too many downstream children hanging off of the original > MainMenu class that is now the target of all the complaints about no > component matching the markup. Is there a way to accumulate components and > re-use them when needed to keep the hierarchy happy? Regards, David. > > - Original Message - > From: "Martin Makundi" > To: users@wicket.apache.org > Sent: Monday, September 7, 2009 12:03:39 PM GMT -06:00 US/Canada Central > Subject: Re: StackOverFlow (Start.java) Jetty > >>If you have any suggestions for how to replace just part of a WebPage >> () with a whole new WebPage please advise. Regards, David. > > Why not use panels? Looks like what you need is panels. > > ** > Martin > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: StackOverFlow (Start.java) Jetty
Hi! I did not understand a single word of what you just said :( I have never had problems with panels.. would you mind posting some code so we can see what you are trying to accomplish and how? ** Martin 2009/9/8 David Brown : > Hello Martin, converting the WebPage to Panel foments no complaints until > RunTime where all of the upstream markup is re-included in the downstream > onClick() request. the usual complains are made: cannot find the component to > the paired wicket markup. The component has already been fired by this point > in the navigation process. I tried to add instances of the classes that are > being complained about but this is completely ignored by the rendering. I > suppose I have too many downstream children hanging off of the original > MainMenu class that is now the target of all the complaints about no > component matching the markup. Is there a way to accumulate components and > re-use them when needed to keep the hierarchy happy? Regards, David. > > - Original Message - > From: "Martin Makundi" > To: users@wicket.apache.org > Sent: Monday, September 7, 2009 12:03:39 PM GMT -06:00 US/Canada Central > Subject: Re: StackOverFlow (Start.java) Jetty > >>If you have any suggestions for how to replace just part of a WebPage >> () with a whole new WebPage please advise. Regards, David. > > Why not use panels? Looks like what you need is panels. > > ** > Martin > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: StackOverFlow (Start.java) Jetty
Hello Martin, converting the WebPage to Panel foments no complaints until RunTime where all of the upstream markup is re-included in the downstream onClick() request. the usual complains are made: cannot find the component to the paired wicket markup. The component has already been fired by this point in the navigation process. I tried to add instances of the classes that are being complained about but this is completely ignored by the rendering. I suppose I have too many downstream children hanging off of the original MainMenu class that is now the target of all the complaints about no component matching the markup. Is there a way to accumulate components and re-use them when needed to keep the hierarchy happy? Regards, David. - Original Message - From: "Martin Makundi" To: users@wicket.apache.org Sent: Monday, September 7, 2009 12:03:39 PM GMT -06:00 US/Canada Central Subject: Re: StackOverFlow (Start.java) Jetty >If you have any suggestions for how to replace just part of a WebPage > () with a whole new WebPage please advise. Regards, David. Why not use panels? Looks like what you need is panels. ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: StackOverFlow (Start.java) Jetty
>If you have any suggestions for how to replace just part of a WebPage > () with a whole new WebPage please advise. Regards, David. Why not use panels? Looks like what you need is panels. ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: StackOverFlow (Start.java) Jetty
Hello Martin, thanks for the reply. The AjaxFallbackLinkExtension is a private method created by Eclipse wizardry to unwind an anonymous class. I have since fixed this issue in that the WebPage link is displayed within the tags but now it removes the horizontal list of WebPage links that navigate the user to the target link in question. I am looking at the WIA Panel swap example as a possible solution. If you have any suggestions for how to replace just part of a WebPage () with a whole new WebPage please advise. Regards, David. - Original Message - From: "Martin Makundi" To: users@wicket.apache.org Sent: Sunday, September 6, 2009 10:54:47 PM GMT -06:00 US/Canada Central Subject: Re: StackOverFlow (Start.java) Jetty What is AjaxFallbackLinkExtension? ** Martin 2009/9/6 David Brown : > Hello, I have class (a.java) that extends WebPage and has the usual Wicket > HTML counterpart (a.html). The extended WebPage class' constructor, a(), > creates a WebMarkupContainer wrapper instance transparent resolver with the > name: wrapper. Before I add(wrapper) I add an AjaxFallBackLink: > > add(new AjaxFallbackLinkExtension("myLink")); > > In the HTML page: a.html I reference the link within the tag: > > My Link > > When I navigate to the page with this link the link is displayed but when I > click the link the only evidence that shows the link was clicked is in the > log file: RESPONSE 200. > > What is missing? > > Regards, David. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: StackOverFlow (Start.java) Jetty
What is AjaxFallbackLinkExtension? ** Martin 2009/9/6 David Brown : > Hello, I have class (a.java) that extends WebPage and has the usual Wicket > HTML counterpart (a.html). The extended WebPage class' constructor, a(), > creates a WebMarkupContainer wrapper instance transparent resolver with the > name: wrapper. Before I add(wrapper) I add an AjaxFallBackLink: > > add(new AjaxFallbackLinkExtension("myLink")); > > In the HTML page: a.html I reference the link within the tag: > > My Link > > When I navigate to the page with this link the link is displayed but when I > click the link the only evidence that shows the link was clicked is in the > log file: RESPONSE 200. > > What is missing? > > Regards, David. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
StackOverFlow (Start.java) Jetty
Hello, I have class (a.java) that extends WebPage and has the usual Wicket HTML counterpart (a.html). The extended WebPage class' constructor, a(), creates a WebMarkupContainer wrapper instance transparent resolver with the name: wrapper. Before I add(wrapper) I add an AjaxFallBackLink: add(new AjaxFallbackLinkExtension("myLink")); In the HTML page: a.html I reference the link within the tag: My Link When I navigate to the page with this link the link is displayed but when I click the link the only evidence that shows the link was clicked is in the log file: RESPONSE 200. What is missing? Regards, David. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org