Re: AW: AW: How to send additional data with an ajax response

2015-10-30 Thread Thiago H de Paula Figueiredo
On Fri, 30 Oct 2015 07:48:11 -0200, Poggenpohl, Daniel wrote: Hello again, Hi! ah, of course I forgot to mention that our code should run in IE9, sadly. (I wouldn't prefer that). And IE9 doesn't seem to support data attributes. Data attributes are attributes like any other. IE9's Jav

Re: AW: AW: How to send additional data with an ajax response

2015-10-30 Thread Thiago H de Paula Figueiredo
On Fri, 30 Oct 2015 07:45:18 -0200, Poggenpohl, Daniel wrote: Hello, Hi! sorry, when I wrote the question I had totally forgotten about your post. So you mean the HTML5 method of having, for example, a div element like this: ? Yep! I'd just add the attributes to some existing HTML el

AW: AW: How to send additional data with an ajax response

2015-10-30 Thread Poggenpohl, Daniel
Gesendet: Freitag, 30. Oktober 2015 10:45 An: Tapestry users Betreff: AW: AW: How to send additional data with an ajax response Hello, sorry, when I wrote the question I had totally forgotten about your post. So you mean the HTML5 method of having, for example, a div element like this: ? If

AW: AW: How to send additional data with an ajax response

2015-10-30 Thread Poggenpohl, Daniel
a is a big JSONArray? (I do not know anything about data tags yet, will inform myself) Regards, Daniel P. -Ursprüngliche Nachricht- Von: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Gesendet: Donnerstag, 29. Oktober 2015 12:40 An: Tapestry users Betreff: Re: AW: How to send

Re: AW: How to send additional data with an ajax response

2015-10-29 Thread Chris Poulsen
I haven't checked out all of the callback types, but we often use the javascript callback to do extra stuff on the calling page. Something like: ajaxResponseRenderer.addCallback( new JavaScriptCallback() { @Override public void run( JavaScriptSupport javascriptSupport ) { java

Re: AW: How to send additional data with an ajax response

2015-10-29 Thread Thiago H de Paula Figueiredo
On Thu, 29 Oct 2015 05:59:30 -0200, Poggenpohl, Daniel wrote: Hello, do you have example code returning not only the body, but also additional data, for me? Have you even considered my suggestion of using data tags inside the rendered HTML to provide the data? -- Thiago H. de Paula F

AW: How to send additional data with an ajax response

2015-10-29 Thread Poggenpohl, Daniel
Hello, do you have example code returning not only the body, but also additional data, for me? Regards, Daniel -Ursprüngliche Nachricht- Von: Chris Poulsen [mailto:mailingl...@nesluop.dk] Gesendet: Mittwoch, 28. Oktober 2015 22:16 An: Tapestry users Betreff: Re: How to send additional