Hello,

Just wonder if anybody have any ideas how we can deprecate usage os <input
name="t:formdata" /> element?

Tapestry5.x form submission logic heavily relies on the value of t:formdata
at the moment.

This approach just doesn't play well with REST. Which means in practice
that we can't integrate well with modern JS frameworks when we talk about
form submissions.

And by "well" I mean that we cannot reuse T5 support for validation, value
encoders, translators, etc.

We simply cannot use them without t:formdata that MUST be generated on the
server-side, though all modern JS frameworks tend to generate HTML DOM
client-side.

Using Tapestry5-powered REST endpoints, like tapestry-resteasy provides,
helps integrating client-side JS with T5 applications, but we lose all T5's
form support in this case.

Hence my question: Does anybody have any ideas or plans how can we
deprecate t:formdata?

Would be nice if Howard or any other committers share their thoughts on
this.

-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com

Reply via email to