ListView vs. RefreshingView and the meaning of the word 'refreshing'

2016-08-08 Thread Davids Patrick
Hi all, a question, I have in mind since about 3 years but I never asked... ;-) Don't know why, now, I do... ListViews and RefreshingViews are very similar. Especially due to the default flag setReuseItems false of ListView, they both behave "refreshing" to me. (populating items is called each r

AW: Returning pure HTML using AjaxRequestTarget

2016-07-18 Thread Davids Patrick
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79] > > > > > Health AG | Patrick Davids | Softwareentwickler Tel. +49 40 524 > 709-258 | p.dav...@healthag.de Fax +49 40 524 709-258 | > www.healthag.de > > > EOS Health Honorarmanagement AG | Lübeckertordamm 1–3 | 20099 Hamburg >

AW: Returning pure HTML using AjaxRequestTarget

2016-07-18 Thread Davids Patrick
tsratsvorsitzender | Klaus Engberding Save a tree – think before you print. -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Montag, 18. Juli 2016 15:37 An: users@wicket.apache.org Betreff: Re: Returning pure HTML using AjaxRequestTarget On Mon, Jul 18, 2016

AW: Returning pure HTML using AjaxRequestTarget

2016-07-18 Thread Davids Patrick
Montag, 18. Juli 2016 14:42 An: users@wicket.apache.org Betreff: Re: Returning pure HTML using AjaxRequestTarget On Mon, Jul 18, 2016 at 2:37 PM, Davids Patrick wrote: > > How do you make the request ? > I create the url by calling my AbstractDefaultAjaxBehavior instance > .getCallbac

AW: Returning pure HTML using AjaxRequestTarget

2016-07-18 Thread Davids Patrick
e.org Betreff: Re: Returning pure HTML using AjaxRequestTarget On Mon, Jul 18, 2016 at 2:18 PM, Davids Patrick wrote: > Ok... the problem seem to be isAjax() == false. > Hmm... but I'm not able to add a parameter to the request, which let > isAjax() becoming true, which falls through

AW: Returning pure HTML using AjaxRequestTarget

2016-07-18 Thread Davids Patrick
mburg HRB 93806 Vorstand | Jens Törper, Uwe Schäfer Aufsichtsratsvorsitzender | Klaus Engberding Save a tree – think before you print. -Ursprüngliche Nachricht- Von: Davids Patrick [mailto:p.dav...@healthag.de] Gesendet: Montag, 18. Juli 2016 13:50 An: users@wicket.apache.org Cc: m

AW: Returning pure HTML using AjaxRequestTarget

2016-07-18 Thread Davids Patrick
hub.com/wicketstuff/core/blob/793d2cbaa97d6f2650b9f5ababb7e46226c4b716/autocomplete-tagit-parent/autocomplete-tagit/src/main/java/org/wicketstuff/tagit/TagItAjaxBehavior.java#L50 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Jul 18, 2016 at 1:16 PM, Davids Patrick wrote

Returning pure HTML using AjaxRequestTarget

2016-07-18 Thread Davids Patrick
Hi all, I'm working on a integration of a javascript which does html replacements by itself. So, it expects pure HTML and what I try to achieve is, becoming wicket returning the HTML via AjaxRequest.add(...). I've seen the methods setDataType("html") and setWicketAjaxResponse(false) of AjaxReq

AW: Conditional (static) dynamic resources / ;-)

2016-07-05 Thread Davids Patrick
Consulting https://twitter.com/mtgrigorov On Tue, Jun 14, 2016 at 12:21 PM, Davids Patrick wrote: > Hi Martin, > some news... > > It is working when I keep a (java-code-)reference to the Resource > instance in my ResourceReference. > So, I always returning the same instance

AW: Conditional (static) dynamic resources / ;-)

2016-06-14 Thread Davids Patrick
-Ursprüngliche Nachricht- Von: Davids Patrick Gesendet: Freitag, 10. Juni 2016 10:08 An: 'users@wicket.apache.org' Betreff: AW: Conditional (static) dynamic resources / ;-) Hi Martin, ok... working... but not as expected. My urls are stable and cachable. But I dont know, what

AW: Conditional (static) dynamic resources / ;-)

2016-06-10 Thread Davids Patrick
, org.apache.wicket.request.mapper.parameter.PageParameters, org.apache.wicket.request.resource.ResourceReference...) Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Jun 9, 2016 at 2:34 PM, Davids Patrick wrote: > Hi Martin, > but how do I put the particular parameter into the Image src

AW: Conditional (static) dynamic resources / ;-)

2016-06-09 Thread Davids Patrick
57 PM, Davids Patrick wrote: > Hi all, > I have a quite tricky usecase here and I don't know how to handle that. > > Our system allows to upload user pictures to profiles. > So, when the user profile picture is displayed it is read from > database and delivered by DynamicIm

AW: Conditional (static) dynamic resources / ;-)

2016-06-07 Thread Davids Patrick
resource reference that serves the images. Check wicketinaction.com. There is a blog article explaining how to do it. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jun 7, 2016 at 4:57 PM, Davids Patrick wrote: > Hi all, > I have a quite tricky usecas

Conditional (static) dynamic resources / ;-)

2016-06-07 Thread Davids Patrick
Hi all, I have a quite tricky usecase here and I don't know how to handle that. Our system allows to upload user pictures to profiles. So, when the user profile picture is displayed it is read from database and delivered by DynamicImageResource. If the user did not upload any pictures yet an fal

Disabled Form Textfield and Ajax Updates / Bug or Feature?

2016-05-24 Thread Davids Patrick
Hi all, I've a question about form submits and disabled textfields. As far as I know, disabled textfields are not part of the form processing. What about the following case... Textfield1 (enabled) has an AjaxFormComponentUpdatingBehavior and writes the model object of Textfield2 (disabled). Thi