Re: Submit form without t:form component

2016-12-09 Thread David Diaz
Awesome! Thank you very much :) On Sat, Dec 10, 2016 at 12:13 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Or use an event URL, created through @Inject'ing ComponentResources and > using its createEventLink() method. > > > > On Fri, Dec 9, 2016 at 11:11 AM, Thiago H. de Paula

Re: Submit form without t:form component

2016-12-09 Thread Thiago H. de Paula Figueiredo
Or use an event URL, created through @Inject'ing ComponentResources and using its createEventLink() method. On Fri, Dec 9, 2016 at 11:11 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Another option would be to have a pure HTML form (no usage of the Form > component) have its

Re: Submit form without t:form component

2016-12-09 Thread Thiago H. de Paula Figueiredo
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 Figue

Re: Submit form without t:form component

2016-12-09 Thread Thiago H. de Paula Figueiredo
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.getParame

Re: Submit form without t:form component

2016-12-09 Thread Barry Books
The Tapestry components such as input expect to be inside a form component but if you use just HTML and submit the form with a GET I suspect it would work just like any other link.

Re: Submit form without t:form component

2016-12-08 Thread David Diaz
Hi Lance, Sorry, I realise my message wasn't as clear. I don't mean submit the form on a clientside event - I mean I want to inject a form onto the page without using a t:form component (so it would be just like a normal HTML form) and then be able to submit it to the server and be able to get a

Re: Submit form without t:form component

2016-12-08 Thread Lance Java
Perhaps the observe mixin could help you? http://t5stitch-lazan.rhcloud.com/observedemo On 8 Dec 2016 11:22 p.m., "David Diaz" 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 woul