Add a component to the body of any component

2015-01-07 Thread Raoul Zander
Hi, I'd like to achieve something like this: Normal component: a href=...Some text/a Enhanced component: a href=...span class=icon-admin title=Admin stuff/spanSome Text/a The span would be the added component. The link is only an example, in the end it should be possible to 'enhance' any kind

Re: AJAX-Behavior that decides activation of a link

2015-01-07 Thread Ernesto Reinaldo Barreiro
Hi, I would use server side activation. Implemented as in 1- You can create your own events, e.g. [1]. One that is a wrapper of AJAX request target (e.g. AtivateLinksEvent). 2- Your links will listen for AtivateLinksEvents and decide if they should be enabled or not (and add themselves to ART

How to solve this login problem?

2015-01-07 Thread q_159
Hi, I got my first problem where my colleagues can't help me anymore. Because I'm fairly new to Wicket, I don't know how to describe it properly, so here's the complete story: We have a login form inside a Wicket Panel, which shows up as a dialog. When the form is sent, the onSubmit method is

Re: How to solve this login problem?

2015-01-07 Thread Andrea Del Bene
I'm not sure, but maybe you need to use the WebSocket. After all, if you have to push an event from server to client I don't see many alternatives. Hi, I got my first problem where my colleagues can't help me anymore. Because I'm fairly new to Wicket, I don't know how to describe it properly,

Re: How to solve this login problem?

2015-01-07 Thread mscoon
If I recall correctly I read a description of a QR-Code login in which the page is constantly (periodically most likely) polling the server to see if the user has been authenticated. I.e.: You probably need two resources (or one with parameters): One to authenticate and one to ask if the user has

AJAX-Behavior that decides activation of a link

2015-01-07 Thread Joachim Schrod
Hi, I have a class of links where some of them sometimes shall not trigger. The decision is made server-side according to current state. At first sight, the realization seems to be not that straight forward: -- I add an AJAX behavior to these link that allows default action and computes if