Re: How to use CSS buttons outside of forms

2018-01-02 Thread Thiago H. de Paula Figueiredo
On Wed, Dec 27, 2017 at 12:16 AM, Christopher Dodunski < chrisfromtapes...@christopher.net.nz> wrote: > Hi Chris & Bob, > Hello! > I had wrongly assumed that Tapestry left the HTML markup as is, parsing > only the t:xxx markup for 'wiring' webpage components to Java code. > Well, most of the ti

Re: How to use CSS buttons outside of forms

2017-12-26 Thread Christopher Dodunski
Hi Chris & Bob, Thanks, yes, it's all part of the learning process. :-) Now that I know that Tapestry ActionLink and EventLink only emit tags, I'll in future style all my buttons as a.xxx rather than input.xxx (style.css). I had wrongly assumed that Tapestry left the HTML markup as is, parsing

Re: How to use CSS buttons outside of forms

2017-12-26 Thread Bob Harner
I think the EventLink component did the only thing it could reasonably be expected to do. When you add t:type=foo to an HTML tag you're telling Tapestry to change the tag to a foo component. In the case of t:type=eventlink, the EventLink component emits an tag. That's the only type of tag it knows

Re: How to use CSS buttons outside of forms

2017-12-26 Thread Christopher Dodunski
Hi Chris, Yes, you were absolutely correct. Tapestry was changing my tags to tags, and then of course the input.opto-button CSS code got totally ignored. Modifying the CSS from 'input' to 'anchor' type wasn't so trivial, particulary with vertically centreing button labels, which is easy with '

Re: How to use CSS buttons outside of forms

2017-12-25 Thread Chris Poulsen
I mostly use elements styled as buttons for this - A standard bootstrap thing. It sounds like your CSS is off if your elements disappear when rendering them with tapestry, take a look at the generated HTML to see what is going on. Maybe your is rendered as (It is "link" components so it could b

Re: How to use CSS buttons outside of forms

2017-12-24 Thread Christopher Dodunski
This problem has proved trickier to solve than expected. The below tag produces a displayed button, but obviously without any functionality, as the tag contains no Tapestry-specific elements. The problem comes on adding Tapestry markup, with the intention of invoking a deleteUser() method in th

Re: How to use CSS buttons outside of forms

2017-12-23 Thread Christopher Dodunski
Thanks Geoff. Are you in Aus? Greetings from NZ. Your tag... ...looks like it should do the trick. I assume that the t:context parameter is optional, in this case just for passing onNextPage() a literal string as argument? Also, to keep the website designers happy, it might be preferable to

Re: How to use CSS buttons outside of forms

2017-12-23 Thread JumpStart
A working example: http://jumpstart.doublenegative.com.au/jumpstart/examples/styling/linksandsubmits1 Geoff > On 24 Dec 2017, at 6:33 am, Christopher Dodunski > wrote: > > Concerning use of the button HTML tag, I read the following... > > "Definition and Usage > > The tag defines

Re: How to use CSS buttons outside of forms

2017-12-23 Thread Christopher Dodunski
Concerning use of the button HTML tag, I read the following... "Definition and Usage The tag defines a clickable button. Inside a element you can put content, like text or images. This is the difference between this element and buttons created with the element. Tip: Always specify the type a

Re: How to use CSS buttons outside of forms

2017-12-23 Thread Christopher Dodunski
Oh, I thought I had tried that but the button didn't render. Hence my post. Nevermind, I'll try it again in case the problem was elsewhere. If ActionLink and Eventlink indeed accept 'class' parameter, it should go easily. Thanks, Chris. ---

Re: How to use CSS buttons outside of forms

2017-12-23 Thread Chris Poulsen
gt; Hi all, > > The Tapestry 'submit' component allows use of buttons defined in CSS by > way of the 'class' parameter. This is perfect for form buttons. But now > I want to use these same CSS buttons outside of forms. The natural choice > is Tapestry'

How to use CSS buttons outside of forms

2017-12-22 Thread Christopher Dodunski
Hi all, The Tapestry 'submit' component allows use of buttons defined in CSS by way of the 'class' parameter. This is perfect for form buttons. But now I want to use these same CSS buttons outside of forms. The natural choice is Tapestry's ActionLink or EventL

Re: T.5.4 ajax forms

2016-08-15 Thread Qbyte Consulting
I found out the cause of this. My app was using the jquery mobile library and this damages the forms ajax capability. A soon as I removed the dependency then my ajax form works! But of course now the left swipe ability I had on one of my divs doesn't work! Can't have it all I suppos

T.5.4 ajax forms

2016-08-13 Thread Qbyte Consulting
I can't get an form in a zone to work with ajax to get an email address, events get fired, but the form data is not passed back to the page class property and the page goes black due to redirect! It seems like the form isn't working thru ajax. @Property @Persist(PersistenceConstants.FLASH)

Zones inside forms in 5.4 with nested components

2016-05-13 Thread Casey Link
Hello all,, I've got a component that is essentially several chained Selects. However I'm using a custom component for the select to leverage the select2 js library, so I'm not using Select exactly. This parent component is included inside a form. When one of its child selects changes, it sends a

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

2016-01-19 Thread Bob Harner
7;s quite > common with Tapestry apps. > > If your app is on a publicly site then it is a common result of bots > crawling your site and submitting any forms that they finds. If it isn't on > a public site then it may be a browser (e.g. certain versions of Safari) > submitting

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

2016-01-18 Thread Bob Harner
This probably deserves to be added to Tapestry's FAQ page. It's quite common with Tapestry apps. If your app is on a publicly site then it is a common result of bots crawling your site and submitting any forms that they finds. If it isn't on a public site then it may be a browse

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: AW: AW: Tapestry Forms - Client side ids

2015-09-09 Thread Thiago H de Paula Figueiredo
On Wed, 09 Sep 2015 03:40:34 -0300, Poggenpohl, Daniel wrote: Tapestry 5.3.8 . Also, maybe the fact that the forms are generated by a loop is important (it probably is). Checking the sources, yes, the Form component doesn't allow you to provide your own HTML id. I don't kno

AW: AW: Tapestry Forms - Client side ids

2015-09-08 Thread Poggenpohl, Daniel
Tapestry 5.3.8 . Also, maybe the fact that the forms are generated by a loop is important (it probably is). Regards, Daniel P. -Ursprüngliche Nachricht- Von: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Gesendet: Dienstag, 8. September 2015 17:23 An: Tapestry users Betreff

Re: AW: Tapestry Forms - Client side ids

2015-09-08 Thread Thiago H de Paula Figueiredo
sulting HTML: Regards, Daniel P. -Ursprüngliche Nachricht- Von: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Gesendet: Montag, 7. September 2015 22:47 An: Tapestry users Betreff: Re: Tapestry Forms - Client side ids On Mon, 07 Sep 2015 05:44:00 -0300, Poggenpohl, Daniel wrote:

AW: Tapestry Forms - Client side ids

2015-09-08 Thread Poggenpohl, Daniel
5 22:47 An: Tapestry users Betreff: Re: Tapestry Forms - Client side ids On Mon, 07 Sep 2015 05:44:00 -0300, Poggenpohl, Daniel wrote: > Hi, Hi! > it seems that the Tapestry Form component is one of the few components > that doesn't let me manually set the client side id. Is thi

Re: Tapestry Forms - Client side ids

2015-09-07 Thread Thiago H de Paula Figueiredo
On Mon, 07 Sep 2015 05:44:00 -0300, Poggenpohl, Daniel wrote: Hi, Hi! it seems that the Tapestry Form component is one of the few components that doesn't let me manually set the client side id. Is this correct and why was this done? Not exactly. Some ids aren't allowed unchanged beca

Tapestry Forms - Client side ids

2015-09-07 Thread Poggenpohl, Daniel
Hi, it seems that the Tapestry Form component is one of the few components that doesn't let me manually set the client side id. Is this correct and why was this done? Can I do something to set the id? Regards, Daniel P.

Re: Forms created in a loop - problem with validation

2015-07-24 Thread Lance Java
I think this is caused by the field being reused in the loop. You might need to recordError with a FieldSnapshot. Example here http://t5stitch-lazan.rhcloud.com/mapbindingdemo

Re: Forms created in a loop - problem with validation

2015-07-24 Thread Geoff Callender
art/examples/ajax/formsinaloop <http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/formsinaloop> Geoff > On 24 Jul 2015, at 6:55 pm, Matthias Bieber wrote: > > > Hello, > > I have a loop that creates a few forms and I have implemented the onValidate >

Forms created in a loop - problem with validation

2015-07-24 Thread Matthias Bieber
Hello,   I have a loop that creates a few forms and I have implemented the onValidate method to validate the input. If an error occours in the textarea of the first form, the textareas of all other forms are marked as erroneous too, although the forms and textareas have different IDs. Whats

Re: Pages, embedded components, dialogs, persisting entities across requests and submitting forms

2015-07-20 Thread Geoff Callender
20. Juli 2015 15:42 > An: Tapestry users > Betreff: Re: Pages, embedded components, dialogs, persisting entities across > requests and submitting forms > > Case one is a candidate for activation and case 2 could be a matter of using > form context / prepare events. > > Beware

AW: Pages, embedded components, dialogs, persisting entities across requests and submitting forms

2015-07-20 Thread Poggenpohl, Daniel
Gesendet: Montag, 20. Juli 2015 15:42 An: Tapestry users Betreff: Re: Pages, embedded components, dialogs, persisting entities across requests and submitting forms Case one is a candidate for activation and case 2 could be a matter of using form context / prepare events. Beware that the activat

Re: Pages, embedded components, dialogs, persisting entities across requests and submitting forms

2015-07-20 Thread Chris Poulsen
Case one is a candidate for activation and case 2 could be a matter of using form context / prepare events. Beware that the activate event is triggered in many situations. -- Chris On Mon, Jul 20, 2015 at 3:39 PM, Chris Poulsen wrote: > @BeginRender is only triggered during rendering. > > Pag

Re: Pages, embedded components, dialogs, persisting entities across requests and submitting forms

2015-07-20 Thread Chris Poulsen
@BeginRender is only triggered during rendering. Page activation is always called and there are a couple of "prepare" events fired when you have a form in the mix. -- Chris On Mon, Jul 20, 2015 at 3:31 PM, Poggenpohl, Daniel < daniel.poggenp...@isst.fraunhofer.de> wrote: > Hello everyone, > >

Pages, embedded components, dialogs, persisting entities across requests and submitting forms

2015-07-20 Thread Poggenpohl, Daniel
Hello everyone, I want to finally adress the problem that crops up when persisting page properties (which I do not want to). For example, I have a Page P1, containing a component C1. I also define a jquery dialog J1 in my page, which is opened inside C1 via a dialogajaxlink. The dialog contain

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

2015-02-20 Thread George Christman
t; http://stackoverflow.com/questions/28632632/browser- >>>> turning-a-post-request-into-a-get?noredirect=1#comment45565655_28632632 >>>> >>>> Someone answered with the following answer, I'm not sure if it even >>>> makes >>>> sens

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

2015-02-20 Thread Charles Karow
browsers and the solution is that, please add *autocomplete="false"* to all of your forms. On Fri, Feb 20, 2015 at 10:38 AM, George Christman < gchrist...@cardaddy.com> wrote: On Fri, Feb 20, 2015 at 9:31 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wro

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

2015-02-20 Thread George Christman
er-turning-a-post-request-into-a-get?noredirect=1#comment45565655_28632632 >> >> Someone answered with the following answer, I'm not sure if it even makes >> sense. >> >> The problem caused by address bar completion of all browsers and the >> solution is tha

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

2015-02-20 Thread George Christman
-turning-a-post-request-into-a-get?noredirect=1#comment45565655_28632632 > > Someone answered with the following answer, I'm not sure if it even makes > sense. > > The problem caused by address bar completion of all browsers and the > solution is that, please add *autocomplete="fa

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

2015-02-20 Thread George Christman
?noredirect=1#comment45565655_28632632 Someone answered with the following answer, I'm not sure if it even makes sense. The problem caused by address bar completion of all browsers and the solution is that, please add *autocomplete="false"* to all of your forms. On Fri, Feb 20, 2015 at 1

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
I know this has been an on going topic, but I have yet to see a solid solution for this, so I'm re-posting the question with some additional information. Myself as well as many others have seen the following exception popup numerous times. Forms require that the request method be POST and

Re: [T5.4] Dynamic Forms

2015-01-12 Thread Thiago H de Paula Figueiredo
On Mon, 12 Jan 2015 11:49:35 -0200, Thilo Tanner wrote: Hi Thiago, Hi! Thanks a lot for your prompt feedback! I will try to use the BeanEditor by contributing new property editors. :) ;) I also thought about looping through the map entries and use the delegate component for the diff

Re: [T5.4] Dynamic Forms

2015-01-12 Thread Thilo Tanner
f you are not the intended recipient, please notify the sender - thank you. From: Thiago H de Paula Figueiredo Sent: Monday, January 12, 2015 13:56 To: Tapestry users Subject: Re: [T5.4] Dynamic Forms On Mon, 12 Jan 2015 09:46:12 -0200, Thilo Tanner wrote:

Re: [T5.4] Dynamic Forms

2015-01-12 Thread Thiago H de Paula Figueiredo
On Mon, 12 Jan 2015 09:46:12 -0200, Thilo Tanner wrote: Is it possible to generate a dynamic form containing each of the parameters by loading a form fragment based on the given type? BeanEditor/BeanEditModel already do that. See section Adding New Property Editors in http://tapestry.apa

Re: [T5.4] Dynamic Forms

2015-01-12 Thread Thiago H de Paula Figueiredo
On Mon, 12 Jan 2015 09:46:12 -0200, Thilo Tanner wrote: Hi all, Hi! I'm currently working on a report generation tool (using JasperReports in the background). The reports will consist of multiple components. Beside having "static" parameters, I will need runtime parameters shared acr

[T5.4] Dynamic Forms

2015-01-12 Thread Thilo Tanner
Hi all, I'm currently working on a report generation tool (using JasperReports in the background). The reports will consist of multiple components. Beside having "static" parameters, I will need runtime parameters shared across the different components. The challenge I'm facing now, is to creat

Re: Issues with Forms Inside Zone and Outside Zone Behaviour Tapestry 5.4

2015-01-06 Thread Thiago H de Paula Figueiredo
I believe this was a known issue which has just been fixed: https://issues.apache.org/jira/browse/TAP5-2391 On Tue, 06 Jan 2015 13:17:57 -0200, Sumanth wrote: Hello All, Consider this situation that, we have two forms with text boxes , one inside ajax, other outside ajax role

Re: Issues with Forms Inside Zone and Outside Zone Behaviour Tapestry 5.4

2015-01-06 Thread Sumanth
are you specifying the clientside validation? Have you tried adding > t:validate="required" or some other validation type to your textfield? > > On Tue, Jan 6, 2015 at 10:17 AM, Sumanth wrote: > > > Hello All, > > > > Consider this situation that, we have two

Re: Issues with Forms Inside Zone and Outside Zone Behaviour Tapestry 5.4

2015-01-06 Thread George Christman
Where are you specifying the clientside validation? Have you tried adding t:validate="required" or some other validation type to your textfield? On Tue, Jan 6, 2015 at 10:17 AM, Sumanth wrote: > Hello All, > > Consider this situation that, we have two forms with text boxes

Issues with Forms Inside Zone and Outside Zone Behaviour Tapestry 5.4

2015-01-06 Thread Sumanth
Hello All, Consider this situation that, we have two forms with text boxes , one inside ajax, other outside ajax // java side void onValidateFromzone1() { selectDateForm.recordError(firstnameTxt, "Hi Txt"); } void onValidateFromO

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-18 Thread Geoff Callender
On 18 Dec 2014, at 11:02 pm, Thiago H de Paula Figueiredo wrote: > On Thu, 18 Dec 2014 01:21:03 -0200, Geoff Callender > wrote: > >> The starting point of the problem is that Form has a copy of its rendered >> state in a hidden field, and it depends on Form knowing what it rendered. > > I'm

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-18 Thread Muhammad Gelbana
Thank you all for the details. About the FormInjector , would someone please provide an explanation to this component ? I search for examples but I couldn't find any clear ones. It says that it gives t

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-18 Thread Thiago H de Paula Figueiredo
On Thu, 18 Dec 2014 01:21:03 -0200, Geoff Callender wrote: The starting point of the problem is that Form has a copy of its rendered state in a hidden field, and it depends on Form knowing what it rendered. I'm afraid you got this wrong, Geoff. Tapestry never stores the rendering of an

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-17 Thread Geoff Callender
I'm late to this thread, but I don't see an explanation of **why** Muhammad can't add fields to the existing Form, so I'll try. Please correct me if I'm wrong. The starting point of the problem is that Form has a copy of its rendered state in a hidden field, and it depends on Form knowing what

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-17 Thread Muhammad Gelbana
Thanks a lot Thiago for your response. As much as it answers my question, as much as it makes me sad that I couldn't do it easily using Zones. *-* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Wed, Dec 17, 2014 at 3:18 PM, Thiago H de Paula Figueiredo < thiag...@gm

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-17 Thread Thiago H de Paula Figueiredo
On Wed, 17 Dec 2014 05:10:53 -0200, Muhammad Gelbana wrote: Yea I get. But I won't be able to fill these fields with their default values from the server side. The user won't see them, so what's the problem? :) Just submit the whole form when the Select value changes, so you don't lose th

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-16 Thread Muhammad Gelbana
Yea I get. But I won't be able to fill these fields with their default values from the server side. The select component may have unpredictable amount of elements, each element will control what fields to be displayed and what default values should they have. This is all database driver. You soluti

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-16 Thread Thiago H de Paula Figueiredo
On Tue, 16 Dec 2014 13:48:50 -0200, Muhammad Gelbana wrote: @Thiago, do you mean I should do that using ajax on the client side ? No. :) Maybe some JS, but not AJAX. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br --

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-16 Thread Muhammad Gelbana
@Thiago, do you mean I should do that using ajax on the client side ? *-* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Tue, Dec 16, 2014 at 3:27 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > > On Sun, 14 Dec 2014 18:08:33 -0200, Muhammad Gelbana

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-16 Thread Thiago H de Paula Figueiredo
On Sun, 14 Dec 2014 18:08:33 -0200, Muhammad Gelbana wrote: @Thiago ​I need the server​ to populate these fields with default values. Also the fields will be unexpected until runtime because the selected element in the Select component is essential to decide which fields to display. The

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-16 Thread Muhammad Gelbana
al Message- > From: "Muhammad Gelbana" > Sent: ‎14-‎12-‎2014 21:09 > To: "Tapestry users" > Subject: Re: [5.4-beta-22] Adding forms to a form using ajax > > @Thiago > ​I need the server​ to populate these fields with default values. Also the >

RE: [5.4-beta-22] Adding forms to a form using ajax

2014-12-14 Thread Akshay
, you can use a block and delegate to them accordingly , keeping eveything in the same single form. Regards Akshay -Original Message- From: "Muhammad Gelbana" Sent: ‎14-‎12-‎2014 21:09 To: "Tapestry users" Subject: Re: [5.4-beta-22] Adding forms to a form using ajax @

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-14 Thread Muhammad Gelbana
known until the Select component is changed. I really think this is a very reasonable\common requirement. @Akshay May be my question wasn't clear enough. I can do ajax forms, but I'm trying to add fields to the form using ajax. *-* *Muhammad Gelbana* http://www.linke

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-14 Thread Thiago H de Paula Figueiredo
On Sun, 14 Dec 2014 07:22:00 -0200, Muhammad Gelbana wrote: The ajax-form-loop does it but it doesn't fit my scenario. I need to display portions of the form based on a Select component changed value. And even if I try to do it using the Select component change event, I don't need to add ro

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-14 Thread akshay
Hi, Why don't you try something like this. May not to be the best way but should work fine. Juts try removing the extra zone that you try to render from your form and do like below:- x.tml input fields other input fields based on the select field x.java @Property @Persist private bool

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-14 Thread Muhammad Gelbana
The ajax-form-loop does it but it doesn't fit my scenario. I need to display portions of the form based on a Select component changed value. And even if I try to do it using the Select component change event, I don't need to add rows. I just need to update a zone with different form fields. I even

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-13 Thread Diego Socaceti
Hi, have to tried to use the AjaxFormLoop http://tapestry.apache.org/5.4/apidocs/org/apache/tapestry5/corelib/components/AjaxFormLoop.html I just found it in the API docs. Unfortunately there are no 5.4 jumpstart examples, but i think you can adapt the one from 5.3 http://jumpstart.doublenegativ

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-02 Thread Muhammad Gelbana
ector]: >> ClientBehaviorSupport.addFormInjector is not longer supported. A >> replacement is forthcoming.* >> >> ..like I even knew how to use it! There was no enough examples\samples >> for its usage. >> >> So is there a way to add\inject new forms to an ex

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-11-30 Thread Muhammad Gelbana
r queue error in > BeginRender[ixchariot/configure/Test:forminjector]: > ClientBehaviorSupport.addFormInjector is not longer supported. A > replacement is forthcoming.* > > ..like I even knew how to use it! There was no enough examples\samples for > its usage. > > So is there a way to add\inject new

[5.4-beta-22] Adding forms to a form using ajax

2014-11-30 Thread Muhammad Gelbana
in BeginRender[ixchariot/configure/Test:forminjector]: ClientBehaviorSupport.addFormInjector is not longer supported. A replacement is forthcoming.* ..like I even knew how to use it! There was no enough examples\samples for its usage. So is there a way to add\inject new forms to an existing form us

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
TTP GET request). On Mon, Sep 8, 2014 at 1:17 PM, Marcel Huber wrote: > 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 uncau

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: Forms require that the request method be POST

2014-06-25 Thread Dmitry Gusev
That depends on if the page containing the form and/or form handlers @RequiresAuthentication or @RequiresUser. On Wed, Jun 25, 2014 at 10:49 PM, George Christman wrote: > Okay cool, that works too. Now if I'm setting remember me to true, should I > still be seeing this exception? > > > On Wed,

Re: Forms require that the request method be POST

2014-06-25 Thread George Christman
Okay cool, that works too. Now if I'm setting remember me to true, should I still be seeing this exception? On Wed, Jun 25, 2014 at 2:44 PM, Dmitry Gusev wrote: > It won't continue form submission, user will be redirected to the page with > empty form. > > > On Wed, Jun 25, 2014 at 10:31 PM, Ge

Re: Forms require that the request method be POST

2014-06-25 Thread Dmitry Gusev
It won't continue form submission, user will be redirected to the page with empty form. On Wed, Jun 25, 2014 at 10:31 PM, George Christman wrote: > Thanks Dmitry, I'm willing to give it a shot. What outcome should I expect > to see from your code? Will it just bring the user back to a blank for

Re: Forms require that the request method be POST

2014-06-25 Thread George Christman
Thanks Dmitry, I'm willing to give it a shot. What outcome should I expect to see from your code? Will it just bring the user back to a blank form, or will it continue with the form submission? On Wed, Jun 25, 2014 at 1:56 PM, Dmitry Gusev wrote: > Hi George, > > See one possible solution here:

Re: Forms require that the request method be POST

2014-06-25 Thread Dmitry Gusev
Hi George, See one possible solution here: https://github.com/tynamo/tapestry-security/issues/7#issuecomment-40301795 On Wed, Jun 25, 2014 at 7:36 PM, George Christman wrote: > So I finally figured out how to reproduce this exception. I'm using > Tapestry-Security and if the session times out

Re: Forms require that the request method be POST

2014-06-25 Thread George Christman
So I finally figured out how to reproduce this exception. I'm using Tapestry-Security and if the session times out and the user submits the form, the page is redirected to the login page. When the user logs in, it attempts to resubmit the form and ends with this exception. Does anybody know how to

Re: Forms require that the request method be POST

2014-05-19 Thread George Christman
Thanks for the tips guys, I'll see if I can find the culprit now that I know why it's happening. On Mon, May 19, 2014 at 5:52 PM, Eugen wrote: > Hi, I have had this kind of exception then i tried to submit a form > programmatically from an Applet (HttpClient) without sending the > formData fiel

Re: Forms require that the request method be POST

2014-05-19 Thread Eugen
Hi, I have had this kind of exception then i tried to submit a form programmatically from an Applet (HttpClient) without sending the formData field. 2014-05-19 22:31 GMT+02:00 Kristian Marinkovic : > Hi, > > check if it is the same client. i once had the same problem. After several > hours of inve

Re: Forms require that the request method be POST

2014-05-19 Thread Kristian Marinkovic
Hi, check if it is the same client. i once had the same problem. After several hours of investigation it was a developer with a browser plugin (web developer) which enabled converting form post requests to get requests. hope this helps. g, Kris On Mon, May 19, 2014 at 5:55 PM, George Christman

Re: Forms require that the request method be POST

2014-05-19 Thread George Christman
Let me do some more homework now that I at least now how it's thrown. Thanks Thiago. On Mon, May 19, 2014 at 10:54 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 19 May 2014 11:44:06 -0300, George Christman < > gchrist...@cardaddy.com> wrote: > > In this particular case

Re: Forms require that the request method be POST

2014-05-19 Thread Thiago H de Paula Figueiredo
On Mon, 19 May 2014 11:44:06 -0300, George Christman wrote: In this particular case the application sits behind a firewall with no public access so I don't believe this is bot activity. Do you have any other thoughts? Do you have any information on when this exception actually happens? O

Re: Forms require that the request method be POST

2014-05-19 Thread George Christman
In this particular case the application sits behind a firewall with no public access so I don't believe this is bot activity. Do you have any other thoughts? On May 19, 2014 10:00 AM, "Thiago H de Paula Figueiredo" wrote: > On Mon, 19 May 2014 09:37:44 -0300, George Christman < > gchrist...@card

Re: Forms require that the request method be POST

2014-05-19 Thread Thiago H de Paula Figueiredo
On Mon, 19 May 2014 09:37:44 -0300, George Christman wrote: Hi Everyone, I'm using 5.4 and I've continued to randomly see this exception popup in multiple applications. I'm wondering what it means and how to fix it. Thanks. Very probably bots crawling your site. -- Thiago H. de Paula Figue

Forms require that the request method be POST

2014-05-19 Thread George Christman
Hi Everyone, I'm using 5.4 and I've continued to randomly see this exception popup in multiple applications. I'm wondering what it means and how to fix it. Thanks. Forms require that the request method be POST and that the t:formdata query parameter have values.org.a

Re: dynamic forms concept & possible solutions

2014-04-14 Thread Ilya Obshadko
OK, so we can omit validation when needed. That's great (I wasn't aware of such a method), but I don't like "hidden submit" concept either, it looks more like a workaround rather than a solution. I remember from my earlier experience with Tapestry that simply calling form.submit() without any hid

Re: dynamic forms concept & possible solutions

2014-04-14 Thread Thiago H de Paula Figueiredo
On Mon, 14 Apr 2014 09:39:33 -0300, Chris Poulsen wrote: I dont think onSuccess is called if validation fails, perhaps one could adjust the outcome of the validation phase of the form like suggested. Yeah, I just noticed that after I posted the message, and you're right about the validati

Re: dynamic forms concept & possible solutions

2014-04-14 Thread Ville Virtanen
I think Thiago means onSubmit() (If there are errors, it will never reach on success, right?) This also means that client side validation must be disabled, or then a bit of JS must be used to disable it for the hidden button. (Js interface also exists to submit the form iirc, but for these bit

Re: dynamic forms concept & possible solutions

2014-04-14 Thread Chris Poulsen
I dont think onSuccess is called if validation fails, perhaps one could adjust the outcome of the validation phase of the form like suggested. On Mon, Apr 14, 2014 at 2:19 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 14 Apr 2014 07:36:27 -0300, Ilya Obshadko > wrote:

Re: dynamic forms concept & possible solutions

2014-04-14 Thread Thiago H de Paula Figueiredo
On Mon, 14 Apr 2014 07:36:27 -0300, Ilya Obshadko wrote: - if we trigger form submission (it's possible to do that using hidden submit, it's not very elegant, but it works), we have to go through form validation which fails in most cases because at this point form is not yet completed; user

dynamic forms concept & possible solutions

2014-04-14 Thread Ilya Obshadko
I've tried to approach the problem from different angles, but unsuccessfully. Let's suppose the following scenario (that's what I'm working on right now actually). You have an event registration form and you may register another participant with you; you're using suggestion (autocomplete) to ente

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

2013-12-02 Thread Michael Gagauz
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 redirect. Is this still our best

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

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
Hi, This template worked fine before I tweaked my log4j and one of my service classes, now it crashes. What is it talking about, page works fine on dev system? John An unexpected application exception has occurred. a.. org.apache.tapestry5.ioc.internal.OperationException Forms require

Re: POJO's in Forms

2013-11-08 Thread Thiago H de Paula Figueiredo
On Fri, 08 Nov 2013 08:59:14 -0200, thegreatmewel wrote: Hi Thiago, it works now, thanks a lot. So the t:id attribute is bound to the component and the value attribute is bound to the property. Yep, but, actually, t:id isn't bound to anything: it's not a parameter, it's a component id, n

  1   2   3   4   5   >