Re: Forms require that the request method be POST and that the t:formdata query parameter have values.

2016-01-19 Thread Bob Harner
y-and-form-exception-td4942074.html > > > On Mon, Jan 18, 2016 at 9:46 AM, Robson Pires > wrote: > >> Hi, >> >> In one of my environments I am facing this problem: Forms require that the >> request method be POST and that the t:formdata query parameter have >> values. >> >> Any idea about what causes of this problem? >> >> Thank you, >> >> Rob Pi >> > >

Re: Forms require that the request method be POST and that the t:formdata query parameter have values.

2016-01-18 Thread Bob Harner
m-exception-td4942074.html On Mon, Jan 18, 2016 at 9:46 AM, Robson Pires wrote: > Hi, > > In one of my environments I am facing this problem: Forms require that the > request method be POST and that the t:formdata query parameter have values. > > Any idea about what causes of this problem? > > Thank you, > > Rob Pi >

Forms require that the request method be POST and that the t:formdata query parameter have values.

2016-01-18 Thread Robson Pires
Hi, In one of my environments I am facing this problem: Forms require that the request method be POST and that the t:formdata query parameter have values. Any idea about what causes of this problem? Thank you, Rob Pi

Re: [T5.4-beta-35] "Forms require that the request method be POST and that the t:formdata query parameter have values." problem + workaround

2015-09-29 Thread Geoff Callender
Some introduction: My users started complaining about error message "Forms >> require that the request method be POST and that the t:formdata query >> parameter have values.". I understand why it was raised: Tapestry 5's Form >> component always used to compla

Re: [T5.4-beta-35] "Forms require that the request method be POST and that the t:formdata query parameter have values." problem + workaround

2015-09-29 Thread Thiago H de Paula Figueiredo
Hi! Very nice point. Could you please create a JIRA issue? On Tue, 29 Sep 2015 13:55:10 -0300, Cezary Biernacki wrote: Hi, Some introduction: My users started complaining about error message "Forms require that the request method be POST and that the t:formdata query parameter

[T5.4-beta-35] "Forms require that the request method be POST and that the t:formdata query parameter have values." problem + workaround

2015-09-29 Thread Cezary Biernacki
Hi, Some introduction: My users started complaining about error message "Forms require that the request method be POST and that the t:formdata query parameter have values.". I understand why it was raised: Tapestry 5's Form component always used to complain when submit was

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread George Christman
On Fri, Feb 20, 2015 at 11:47 AM, Charles Karow wrote: > We got a lot of these a few months ago, and in every case they were from > the then-current version of Chrome: > > Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/39.0.2171.71 Safari/537.36 > > At the tim

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread Charles Karow
We got a lot of these a few months ago, and in every case they were from the then-current version of Chrome: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 At the time I interviewed a few of the users, who were using the auto-fill

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread George Christman
Digging deeper, looking at the form src. I'm seeing the following ex String[] values = request.getParameters(FORM_DATA); if (!request.getMethod().equals("POST") || values == null) throw new RuntimeException(messages.format("core-invalid-form-request", FORM_DATA)); Is there any way to know which

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread George Christman
I also found this article related to android. Again I'm not very familiar with this stuff, so please forgive me if it's unrelated. http://stackoverflow.com/questions/8587913/what-exactly-does-urlconnection-setdooutput-affect On Fri, Feb 20, 2015 at 11:04 AM, George Christman wrote: > Some furth

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread George Christman
Some further research has turned up this http://stackoverflow.com/questions/8187188/android-4-0-ics-turning-httpurlconnection-get-requests-into-post-requests I also posted the following question on SO http://stackoverflow.com/questions/28632632/browser-turning-a-post-request-into-a-get?noredirect

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread George Christman
On Fri, Feb 20, 2015 at 9:31 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 20 Feb 2015 12:15:55 -0200, George Christman < > gchrist...@cardaddy.com> wrote: > > So the question is how is the user able to force the browser to load that >> url in the address bar, "I assumin

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread Thiago H de Paula Figueiredo
On Fri, 20 Feb 2015 12:15:55 -0200, George Christman wrote: So the question is how is the user able to force the browser to load that url in the address bar, "I assuming its being loaded in the address bar"? Is there a bug in the form component or could the user have some sort of browser sett

Forms require that the request method be POST and that the t:formdata query parameter have values

2015-02-20 Thread George Christman
that the t:formdata query parameter have values It's always been thought to have been caused by bot activity, however I see it happening behind firewalls etc. I recently started logging the URI and User Agent to help determine the cause of the exception and what I found was what appeared to be

Re: Deprecate t:formdata in favor of REST?

2014-10-24 Thread Thiago H de Paula Figueiredo
On Fri, 24 Oct 2014 13:07:52 -0200, Dmitry Gusev wrote: Hello, Hi! Just wonder if anybody have any ideas how we can deprecate usage os element? I'd too love to get rid of that . . . Tapestry5.x form submission logic heavily relies on the value of t:formdata at the moment.

Deprecate t:formdata in favor of REST?

2014-10-24 Thread Dmitry Gusev
Hello, Just wonder if anybody have any ideas how we can deprecate usage os 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

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2014-09-08 Thread Lance Java
Most likely a bot crawling your site. You may choose to suppress this logging for crawlers. This can be done by maintaining a list of crawler user agents and checking the user agent request header before logging.

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2014-09-08 Thread Dmitry Gusev
ght exception: Forms > require that the request method be POST and that the t:formdata query > parameter have values. > org.apache.tapestry5.ioc.internal.OperationException: Forms require that > the request method be POST and that the t:formdata query parameter have > values. [at &g

Forms require that the request method be POST and that the t:formdata query parameter have values

2014-09-08 Thread Marcel Huber
Hi, We use Tapestry 5.2.6 and we have this Exception quite often in our logs: [2014-09-07 21:18:27,951][ERROR] AppModuleBase.FFRequestExceptionHandler [qe-shop] Processing of request failed with uncaught exception: Forms require that the request method be POST and that the t:formdata query

Re: override t:formdata when validation has error

2013-12-16 Thread Dimitris Zenios
Sorry my mistake.In the end though Submit will be called on success or on failure On Mon, Dec 16, 2013 at 3:30 AM, Chris Mylonas wrote: > Form events (in order) table on this page shows the event ordering on form > submissions. > > http://tapestry.apache.org/forms-and-validation.html > > looks

Re: override t:formdata when validation has error

2013-12-15 Thread Chris Mylonas
Form events (in order) table on this page shows the event ordering on form submissions. http://tapestry.apache.org/forms-and-validation.html looks like validate -> success -> submit On Mon, Dec 16, 2013 at 3:24 AM, Dimitris Zenios wrote: > onValidate -> onSubmit -> Onsuccess ( Only if validate

Re: override t:formdata when validation has error

2013-12-15 Thread Dimitris Zenios
onValidate -> onSubmit -> Onsuccess ( Only if validate does not have errors ) On Sun, Dec 15, 2013 at 3:49 PM, Chung Khanh Duy < chungkhanhduy1...@gmail.com> wrote: > Hi Thiago, > > Thanks for your quick response. But in my application, we had: > > onValidate...() > > onSuccess() > > You meant t

Re: override t:formdata when validation has error

2013-12-15 Thread Chung Khanh Duy
Hi Thiago, Thanks for your quick response. But in my application, we had: onValidate...() onSuccess() You meant that I will replace onValidate() by onSummit() ? Or I can add one more event onSubmiit() and if I can add onSubmit() event, what are orders of these events calling ? Thanks, Duy. O

Re: override t:formdata when validation has error

2013-12-15 Thread Thiago H de Paula Figueiredo
On Sun, 15 Dec 2013 11:01:35 -0200, Chung Khanh Duy wrote: Hi Thiago, Hi! But I have a question, if has error occur in validation, the onSuccess() is not called, is that right ? If so , how can set password is null ? If I miss somthing, please let me know. You're right, but there's

Re: override t:formdata when validation has error

2013-12-15 Thread Chung Khanh Duy
com> wrote: > On Sat, 14 Dec 2013 12:43:26 -0200, Chung Khanh Duy < > chungkhanhduy1...@gmail.com> wrote: > > Hi, >> > > Hi! > > > I have a form with username and password, but when enter wrong password, >> the validation will records the errors in scr

Re: override t:formdata when validation has error

2013-12-15 Thread Thiago H de Paula Figueiredo
On Sat, 14 Dec 2013 12:43:26 -0200, Chung Khanh Duy wrote: Hi, Hi! I have a form with username and password, but when enter wrong password, the validation will records the errors in screen, the all data of t:formdata was sent back to server, I have used Live HTTP addon in FireFox to

override t:formdata when validation has error

2013-12-14 Thread Chung Khanh Duy
Hi expert, I have a form with username and password, but when enter wrong password, the validation will records the errors in screen, the all data of t:formdata was sent back to server, I have used Live HTTP addon in FireFox to investigate and can see the plaintext of password value I typed. The

Re: Forms require that the request method be POST and that the t:formdata query parameter have values.

2013-12-02 Thread Michael Gagauz
I'm sure there are GET requests from search bots. Make sure you exclude action/event links and form actions in robots.txt (like Disallow: /*?t:ac=*, Disallow: */pagename.component:action* 02.12.2013 17:41, Ben Titmarsh пишет: Hi Guys, I'm getting quite a lot of these exceptions in my logs.

Forms require that the request method be POST and that the t:formdata query parameter have values.

2013-12-02 Thread Ben Titmarsh
Hi Guys, I'm getting quite a lot of these exceptions in my logs. I've read all of the posts on the mailing list and it seems like the only accepted solution is to use request filtering to check for an exception with a message containing "Forms require that the request method be POST" and do a

IGNORE: odd exception on deployed app: Forms require that the request method be POST and that the t:formdata query parameter have values.

2013-11-14 Thread John
please ignore this subject

odd exception on deployed app: Forms require that the request method be POST and that the t:formdata query parameter have values.

2013-11-14 Thread John
that the request method be POST and that the t:formdata query parameter have values. location classpath:com/quivinco/webapps/tbs/pages/vendor/Signup.tml, line 83 xmlns:p="tapestry:parameter"> 4 5 ${message:text.para1} 6 ${message:text.para2}

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2012-12-08 Thread Geoff Callender
See http://tapestry.1045711.n5.nabble.com/Safari-for-example-browser-history-and-form-exception-td4942074.html On 08/12/2012, at 10:09 PM, Muhammad Gelbana wrote: > I think this error occurs when you visit a similar url (through a GET > request, just by putting the following address in the bro

Re: Forms require that the request method be POST and that the t:formdata query parameter have values

2012-12-08 Thread Muhammad Gelbana
I think this error occurs when you visit a similar url (through a GET request, just by putting the following address in the browser's address bar and hitting enter): http://localhost/pagename.formid This url is the "action" attribute value for the form element. It should be using within an http P

Forms require that the request method be POST and that the t:formdata query parameter have values

2012-12-07 Thread TG
In 5.3.6, I got this error if I use a form based submission. How do I avoid this? There was no such error prior to 5.3.6. Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Forms-require-that-the-request-method-be-POST-and-that-the-t-formdata-query-parameter-have-va

Re: t:formdata

2010-03-02 Thread Christian Köberl
Tapestry uses t:formdata to store ComponentAction instances to be executed on form submission. This is needed for triggering the events. Components can register this actions in the render phase - these are executed by the framwork in the submit phase. -- Chris -- View this message in context

t:formdata

2010-02-23 Thread Michael Martineau
Can anyone tell me the purpose of t:formdata in a rendered form component or point me to some documentation? Thanks, Mike Martineau - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e

Re: Form submitions without t:formdata

2009-11-25 Thread Ed Bowler
On Tue, 24 Nov 2009 17:29:26 -, Thiago H. de Paula Figueiredo wrote: You can't use Tapestry components to do this, but you can easily @Inject the Request and its List getParameterNames() and String getParameter(String name) methods to get what was submitted. That's useful information r

Re: Form submitions without t:formdata

2009-11-24 Thread Thiago H. de Paula Figueiredo
Em Tue, 24 Nov 2009 15:22:12 -0200, Ed Bowler escreveu: Hi, Hi! I am new to tapestry, and am generally impressed by how clean it makes our code, but have got stuck on a seemingly simple problem. I have to implement a page as part of a tapestry 5.1 application, that responds to a spe

Form submitions without t:formdata

2009-11-24 Thread Ed Bowler
to a post request that doesn't contain the t:formdata, that is created in the generated html. How do I correctly respond to this post? Many thanks for your help, Ed - To unsubscribe, e-mail: users-uns

Re: T5: Critial security of t:formdata

2009-03-07 Thread Howard Lewis Ship
Yes, you need the keys to the kingdom (the ability to deploy compiled Java code into the active application's classpath) in order to use the "exploit". If you can accomplish that, the ability to provide your own component actions is a footnote compared to what you could accomplish otherways. On Sa

Re: T5: Critial security of t:formdata

2009-03-07 Thread Otho
If you revert to the official jar, how is your ComponentAction still there? And I don't actually understand, what the possible attack vector would be.

T5: Critial security of t:formdata

2009-03-07 Thread dh ning
Hi, These days I always think of security of t:formdata, just now I have a test to hack the t:formdata and find there is some serious damages. 1. First I change source code of Form component and store a component action in Form and build my own tapestry-core.jar. static final ComponentAction

Re: T5: how to circumvent t:formdata

2009-01-27 Thread Massimo Lusetti
On Mon, Jan 26, 2009 at 7:39 PM, Howard Lewis Ship wrote: > If you use a Form component, you need the t:formdata. > > If you don't use Form (and therefore, don't use TextField, Select, > etc.) you can easily submit directly into a component event handler > method;

Re: T5: how to circumvent t:formdata

2009-01-27 Thread Michael Capper
} public void prepareResponse(Response arg0) { } }; } which i can call directly as localhost:8080/xxx/input:onMobileSubmit from my mobile app while posting the parameters. Howard Lewis Ship wrote: >

Re: T5: how to circumvent t:formdata

2009-01-26 Thread Howard Lewis Ship
If you use a Form component, you need the t:formdata. If you don't use Form (and therefore, don't use TextField, Select, etc.) you can easily submit directly into a component event handler method; it's a step back towards servlet-style coding, where you inject the Request and pull

Re: T5: how to circumvent t:formdata

2009-01-26 Thread Massimo Lusetti
lso seems to change > every now and then. I understand this is for some security reason, but can > this t:formdata-parameter somehow be omitted, or set to a fixed value? Short answer: No Long answed: It shouldn't change from version to version so it is fixed and you can hardcode it bu

T5: how to circumvent t:formdata

2009-01-26 Thread Michael Capper
ity reason, but can this t:formdata-parameter somehow be omitted, or set to a fixed value? Thanks, Michael -- View this message in context: http://www.nabble.com/T5%3A-how-to-circumvent-t%3Aformdata-tp21668917p21668917.html Sent from the Tapestry - User mailing list archiv

Re: problem with t:formdata

2009-01-09 Thread Ville Virtanen
fields etc. in the loop.) - Ville jgn wrote: > > Thank you, It works :). I think that I won't have any problem because I do > not have fields on the loop, just LinkSubmit components, thank you. > > > Fernando Padilla wrote: >> >> by default t:loop seria

Re: problem with t:formdata

2009-01-08 Thread jgn
Thank you, It works :). I think that I won't have any problem because I do not have fields on the loop, just LinkSubmit components, thank you. Fernando Padilla wrote: > > by default t:loop serializes the source list into t:formdata, so that in > can have predictable form proce

Re: problem with t:formdata

2009-01-08 Thread Fernando Padilla
by default t:loop serializes the source list into t:formdata, so that in can have predictable form processing. But if you can reconstitute the source list used by the loop, and understand that the form might behave erratic in some edge cases ( if the list changes between form render and form

problem with t:formdata

2009-01-08 Thread jgn
t:formdata is too big on a page that I have (5MB or more). I have a form with only 12 fields and I display a table with 14 rows, the problem is that if the loop component that displays the tables is inside the form, the t:formdata becomes huge. If is not inside the form, it works just fine :D

Re: Security of t:formdata

2008-06-23 Thread Martijn Brinkers (List)
nkers On Mon, 2008-06-23 at 14:32 +0700, Ivan Dubrov wrote: > Howard Lewis Ship wrote: > > Although you could use this technique (severe hacking of t:formdata) > > to control what ComponentAction was instantiated at what point in the > > form submission, the security effe

Re: Security of t:formdata

2008-06-23 Thread Ivan Dubrov
Howard Lewis Ship wrote: Although you could use this technique (severe hacking of t:formdata) to control what ComponentAction was instantiated at what point in the form submission, the security effects of this are minimal; Tapestry includes only a finite set of ComponentAction classes and each

Re: Security of t:formdata

2008-06-20 Thread Andreas Andreou
http://www.hdiv.org/ I've never used this but if its performance is as good as they say, it holds a lot of promise IMHO On Fri, Jun 20, 2008 at 11:57 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > Although you could use this technique (severe hacking of t:formdata) >

Security of t:formdata

2008-06-20 Thread Howard Lewis Ship
Although you could use this technique (severe hacking of t:formdata) to control what ComponentAction was instantiated at what point in the form submission, the security effects of this are minimal; Tapestry includes only a finite set of ComponentAction classes and each has a very specific job; the