A few questions - upgrading from 1.5 to 6.19

2015-04-16 Thread Christopher Merrill
Our app hasn't been under active development for a while, so we have fallen a bit behind. We're about to start a new project with our wicket app, so I thought our first step should be getting current. I read the migration guide - it helped get me through a lot of issues. So I've been able to get pa

Re: A few questions - upgrading from 1.5 to 6.19

2015-04-17 Thread Christopher Merrill
The javadocs indicate that should return a bookmarkable (absolute) URL, but it is returning a relative URL, instead :( Should I report this as a bug? I'm debugging this on a local AppEngine SDK instance, if that matters. TIA! Chris On Thu, Apr 16, 2015 at 4:44 PM, Martin Grigorov wrote: > On

Re: A few questions - upgrading from 1.5 to 6.19

2015-04-17 Thread Christopher Merrill
work for me: Url relativeUrl = Url.parse(urlFor(...)); Url fullUrl = urlRenderer.renderFullUrl(relativeUrl); Thanks a bunch! Chris On Fri, Apr 17, 2015 at 3:45 PM, Martin Grigorov wrote: > On Fri, Apr 17, 2015 at 10:42 PM, Christopher Merrill < > ch...@webperformance.com> wrot

Re: A few questions - upgrading from 1.5 to 6.19

2015-04-17 Thread Christopher Merrill
no onClick(): >> > > Wicket uses event registration now: > > http://wicketinaction.com/2012/07/wicket-6-javascript-improvements/ > > Have fun > Sven > > > > On 16.04.2015 19:31, Christopher Merrill wrote: > >> Our app hasn't been under active develop

Re: A few questions - upgrading from 1.5 to 6.19

2015-04-17 Thread Christopher Merrill
cket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Apr 17, 2015 at 11:20 PM, Christopher Merrill < > ch...@webperformance.com> wrote: > > > Thanks, Sven. I read that and I _think_ I understand it. I looked back > at > > the source and foun

Re: A few questions - upgrading from 1.5 to 6.19

2015-04-17 Thread Christopher Merrill
ools > Network tab. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Apr 17, 2015 at 11:42 PM, Christopher Merrill < > ch...@webperformance.com> wrote: > > > The "wicket ajax debug" window reports nothin

Re: A few questions - upgrading from 1.5 to 6.19

2015-04-20 Thread Christopher Merrill
uery.js#L603 > and see what happens. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Sat, Apr 18, 2015 at 12:08 AM, Christopher Merrill < > ch...@webperformance.com> wrote: > > > Oh...uhhh...yeah. Gee, if I wasn't

Google AppEngine Initializer and Wicket 6?

2015-05-11 Thread Christopher Merrill
(Is this the right place for this question? Should I raise an issue on WicketStuff instead?) Curious to see if anyone is doing this and what your level of success is? I ask because we have a Wicket/GAE app that we recently moved up to Wicket 6 and we're experiencing a lot of spontaneous problems

Re: Google AppEngine Initializer and Wicket 6?

2015-05-12 Thread Christopher Merrill
> > Any errors in the logs? > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, May 11, 2015 at 11:44 PM, Christopher Merrill < > ch...@webperformance.com> wrote: > > > (Is this the right place for this question? Should

Model value change lost between AjaxButton.onSubmit() and form.onSubmit()

2015-05-13 Thread Christopher Merrill
I have an AjaxButton that nulls a model value like this: Button deactivate_button = new AjaxButton("deactivate_button") { @Override protected void onSubmit(AjaxRequestTarget target, Form form) { System.out.println("deactivating.");

Re: Model value change lost between AjaxButton.onSubmit() and form.onSubmit()

2015-05-13 Thread Christopher Merrill
t; > I have a small example application running on AppEngine and I didn't > encounter any of your problems: > > http://wicket-dnd-jquery.appspot.com > > Perhaps you can check the code for any differences between your setup and > mine: > > https://github.com/svenmeie

How could refreshing a page cause future onClick() listeners to malfunction?

2015-05-14 Thread Christopher Merrill
I'm seeing problems throughout our app where refreshing the page causes other event listeners to then malfunction. These are trivially simple listeners, like: Link customer_link = new Link("org_link") { @Override public void onClick() { setResponsePage(new OrganizationA

Re: How could refreshing a page cause future onClick() listeners to malfunction?

2015-05-14 Thread Christopher Merrill
If I'm right then you should start seeing PageExpiredPage after clicking > the link. > The next step is will be to find why the pages could not be stored. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, May 14, 2015 at 9:40 PM

Re: How could refreshing a page cause future onClick() listeners to malfunction?

2015-05-14 Thread Christopher Merrill
gs. Chris On Thu, May 14, 2015 at 4:23 PM, Martin Grigorov wrote: > Can you try something else: > in onClick() add code like: getSession.setAttribute("test", new Date()) > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On T

Re: How could refreshing a page cause future onClick() listeners to malfunction?

2015-05-14 Thread Christopher Merrill
icket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, May 14, 2015 at 11:32 PM, Christopher Merrill < > ch...@webperformance.com> wrote: > > > I'll do that. It'll take a few minutes to deploy that back up to > AppEngine. > > > > Bu

Re: How could refreshing a page cause future onClick() listeners to malfunction?

2015-05-14 Thread Christopher Merrill
included along with the setAttribute() line. The next line in the logs is for URL /portal/pages/Test?1 and is a 200 response with the page content. Does that help? Chris On Thu, May 14, 2015 at 4:42 PM, Christopher Merrill < ch...@webperformance.com> wrote: > I added that line, a

Re: How could refreshing a page cause future onClick() listeners to malfunction?

2015-05-14 Thread Christopher Merrill
Oh, and what you probably also wanted to know: When I press refresh on the page, the message from the constructor does not appear in the logs again. Also nothing after pressing the button (which does nothing). On Thu, May 14, 2015 at 4:50 PM, Christopher Merrill < ch...@webperformance.com>

Re: How could refreshing a page cause future onClick() listeners to malfunction?

2015-05-15 Thread Christopher Merrill
xpected. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, May 14, 2015 at 11:50 PM, Christopher Merrill < > ch...@webperformance.com> wrote: > > > I added the getSession().setAttribute() into the page constructor. When I

Re: How could refreshing a page cause future onClick() listeners to malfunction?

2015-05-15 Thread Christopher Merrill
a change and make sure it saves the latest > state. > You can move this helper code in IRequestCycleListener#onEndRequest() so it > is executed for every request. > If I am correct then this should workaround the problem. > > Martin Grigorov > Wicket Training and Consulting > https://twitte

Re: How could refreshing a page cause future onClick() listeners to malfunction?

2015-05-15 Thread Christopher Merrill
15, 2015 at 9:24 AM, Martin Grigorov wrote: > On Fri, May 15, 2015 at 4:16 PM, Christopher Merrill < > ch...@webperformance.com> wrote: > > > Wow, that makes sense - and I _think_ it explains the symptoms I've seen > > with other problems as well. I'll have t

Re: How could refreshing a page cause future onClick() listeners to malfunction?

2015-05-15 Thread Christopher Merrill
On Fri, May 15, 2015 at 10:33 AM, Martin Grigorov wrote: > I am puzzled why people use AppEngine in first place. It has so many > restrictions. It looks like a pain to me to develop for this platform. > It does have a lot of restrictions, but if you can live with / adapt to those, GAE has a lot

How to link an anchor to another element id, all within a repeater (DataView)?

2015-07-09 Thread Christopher Merrill
I have this bit of HTML: Start X Confirm controller start Are you sure you want to do this? Start it!