You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Mathias Nilsson <wi...@gmail.com> on 2014/03/25 23:24:31 UTC

No javascript wicket 6.14.0

Hi,

I have a very odd error and can't see any error messages.
When Adding a Link or AjaxLink I get redirected to the previous page. If
adding a label everything is ok.

When looking at the source wicket isn't including any javascript.



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/No-javascript-wicket-6-14-0-tp4665128.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: No javascript wicket 6.14.0

Posted by Mathias Nilsson <wi...@gmail.com>.
Sorry.... this was not a Wicket thing.

I used ProxyPass in httpd and when the url /?1 appeared it could not be
handled. When using localhost:9090 thrue Jetty ajax works.

// Mathias

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/No-javascript-wicket-6-14-0-tp4665128p4665131.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: No javascript wicket 6.14.0

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Can you reproduce this in a quickstart ?

Martin Grigorov
Wicket Training and Consulting


On Wed, Mar 26, 2014 at 7:53 AM, Mathias Nilsson <
wicket.programmer@gmail.com> wrote:

> Ok, read that Jquery only is included when needed. I can't even add a
> simple
> Link?
>
> add(new Link<Void>("link"){
>
>     @Override
>     public void onClick() {
>       setResponsePage(TestPage.class);
>     }
>
> });
>
>
> The code above redirects me to Apache root. If I comment out the add link
> everything works!
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/No-javascript-wicket-6-14-0-tp4665128p4665129.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: No javascript wicket 6.14.0

Posted by Mathias Nilsson <wi...@gmail.com>.
Ok, read that Jquery only is included when needed. I can't even add a simple
Link?

add(new Link<Void>("link"){

    @Override
    public void onClick() {
      setResponsePage(TestPage.class);
    }

});


The code above redirects me to Apache root. If I comment out the add link
everything works!

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/No-javascript-wicket-6-14-0-tp4665128p4665129.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org