Another option would be to have a pure HTML form (no usage of the Form
component) have its action attribute pointing to a Tapestry page URL (you
can get it using PageRenderLinkSource) and use the Request methods to get
the query parameters.

On Fri, Dec 9, 2016 at 11:09 AM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> Hi!
>
> You can use a Form component, so you can handle its submission through an
> onSuccess*() method in usual Tapestry fashion, and use pure HTML fields
> (i.e. not using the Tapestry form field components), @Inject Request and
> use Request.getParameter*() methods to get its values and
> Request.getParameterNames() to get the query parameter names.
>
> On Thu, Dec 8, 2016 at 9:22 PM, David Diaz <d...@viddiaz.com> wrote:
>
>> Hi guys,
>>
>> I was wondering if there was any way to submit a form without having a
>> t:form component and retrieve the data being sent? (e.g ideally a map
>> would
>> be accessible and I could just retrieve that data).
>>
>> I need to support this functionality (dynamic forms) and currently I'm
>> doing it by converting it to a JSON object and then sending the JSON
>> object
>> to the server in an event - I would rather not have to have my forms rely
>> on Javascript to function.
>>
>> Thanks,
>> David.
>>
>
>
>
> --
> Thiago
>



-- 
Thiago

Reply via email to