On Fri, 30 Oct 2015 07:45:18 -0200, Poggenpohl, Daniel <daniel.poggenp...@isst.fraunhofer.de> 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: <div data-additionalData="myData"> ?

Yep! I'd just add the attributes to some existing HTML element

If you meant that, I haven't used this method yet for anything.

That's the method Tapestry 5.4 itself uses.

Wouldn't that bloat the sent source if the additionalData is a big JSONArray? (I do not know anything about data tags yet, will inform myself)

Yes, but then your response would be big anyway, data in HTML attributes or in a JSON object.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to