I enabled log info org.apache.wicket.protocol.http.RequestLogger, logs show
different url in case of error.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/open-connection-to-async-servlet-and-initiate-wicket-ajax-request-results-ComponentNotFoundException-tp4674357p46
Please use some pastebin service.
It is hard to read and follow this code.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Apr 22, 2016 at 10:43 PM, durairaj t wrote:
> Thank you Martin. I tried with examples but those are not working in my
> case. I don't
Thank you Martin. I tried with examples but those are not working in my
case. I don't know how to call the onEvent in line number 19 in the below
code snippet. Please share me if you have any examples.
1. public class FieldSearchTextField extends MaskedTextField{
2. ResultRow selectedRow;
3. /*
Just to make it more clear:
With the new improvement there won't be a need to add just one WSB to the
Page.
You can add as many as you need, anywhere in the component tree.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Apr 22, 2016 at 10:15 PM, Martin Grigo
Hi Francesco,
I've just tried it and it works the way I wanted to change it:
Now only the first behavior added to a component contributes the JS code
that initializes the WS connection. Any other WSBehavior just adds itself
to the component tree and later receives all messages (connect, message,
c
This error happens only when deployed to staging and not in development
box, I cannot run this in debug mode to figure out why only sometimes it
fails, is it possible to debug this through logs?
I tried log debug for org.apache.wicket.request.IRequestHandler but nothing
shows up, is there a w
Hi David,
I'm afraid you will have to look deeper in the Keycloac APIs to see how to
set the principal yourself (after a successful login) and how to look it up
later in the authorization strategy, in case you don't keep a reference to
it in your Session.
Martin Grigorov
Wicket Training and Consu
Hi Martin
This what I am thinking that I need a similar Authorisation plugging to
shiro, my problem is that the security process is set-up in the web.xml
file, then the auth method is declare as Keycloak. Which redirects to the
provided server and provides a user principal back. Would I still need
Hi,
I don't know how Keycloak works but from my experience with Spring Security
and Apache Shiro you have to create an AuthorizationStrategy that reads
from somewhere (e.g. the Wicket Session or some Subject holder) the logged
in User and then compares its roles with the one set in @AuthorizeActio
Hi,
Thanks!
I'll debug it this weekend!
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Apr 22, 2016 at 9:38 AM, Francesco Chicchiriccò wrote:
> On 21/04/2016 21:23, Martin Grigorov wrote:
>
>> Hi,
>>
>> Could you please try this code:
>>
>> public abstrac
On 21/04/2016 21:23, Martin Grigorov wrote:
Hi,
Could you please try this code:
public abstract class MyWebSocketBehavior extends WebSocketBehavior
{
private final static MetaDataKey IS_ALREADY_INSTALLED = new
MetaDataKey()
{};
@Override
public void renderHead(Component compone
11 matches
Mail list logo