Re: tapestry5-jquery tabs

2014-08-11 Thread Basile Chandesris
With https://github.com/uklance/tapestry-stitch http://tapestry.apache.org/schema/tapestry_5_4.xsd"; xmlns:p="tapestry:parameter"> import cnx.ser

jquery events with ajax form submission of kaptcha code

2014-08-11 Thread John
I thought this problem was limited to dialogajaxlink but I see teh same thing now with ajax forms and jquery. The first time the form is used the submit event works, when it is rerendered it doesn't work the next time. In the example below the first time the forgot password process is started b

Re: Using "defer=false" in combination with zones

2014-08-11 Thread Geoff Callender
It's very hard to visualise your situation. Can you drop a mockup of the UI somewhere that we can see it? On 11 Aug 2014, at 11:40 pm, Stephan Windmüller wrote: > On 06.08.2014, I wrote: > >> Currently we want to add AJAX behavior to this component, allowing to >> select the items from AJAX-s

Re: Using "defer=false" in combination with zones

2014-08-11 Thread Stephan Windmüller
On 06.08.2014, I wrote: > Currently we want to add AJAX behavior to this component, allowing to > select the items from AJAX-select-fields (like in [0]). Using > "defer=false" does not work here, as soon as I wrap the fields in a > zone, the selected values are set long after the handling of > "on

Re: T5.4 Nested form detection not working when using blocks

2014-08-11 Thread Chris Poulsen
As I wrote; that is basically what I'm doing and it works. What surprised me was that I did not get the nested form error when I deliberately screwed up. (That would be helpful for developers using the component correctly). Is it not possible to detect nested forms if the inner form is wrapped in

Re: in form fileupload doesn't stay

2014-08-11 Thread Chung Khanh Duy
You can persist the file. Thanks, Duy. On Aug 11, 2014 7:41 PM, "squallmat ." wrote: > Hi, > > I have a form with different fields of text and one field with a t:Upload > of file, > when I have a submit fail, the data of the textfields stay, but the file > selection made is reinitialized. > Why

Components ID generation suggestion

2014-08-11 Thread Muhammad Gelbana
Seems like client-side ID assignment is causing a lot of issues to new tapestry users including me. AFAIK, the purpose of having Tapestry generate client-side IDs, is to maintain a healthy application with unique client\server side IDs. So I have a suggestion.. Why don't Tapestry allow developers

in form fileupload doesn't stay

2014-08-11 Thread squallmat .
Hi, I have a form with different fields of text and one field with a t:Upload of file, when I have a submit fail, the data of the textfields stay, but the file selection made is reinitialized. Why the t:Upload doesn't act like the textfields ? Is there a way to make it keep file selection at faile

Re: T5.4 Nested form detection not working when using blocks

2014-08-11 Thread Lance Java
A form within a form is not valid html so you'll need the dialog form to render outside the enclosing form. You could workaround this with a dialog component. The dialog component could push it's ComponentResources.getBody() onto an Environmental variable. It would then return false from @BeforeRe

T5.4 Nested form detection not working when using blocks

2014-08-11 Thread Chris Poulsen
Hi, I've implemented a component for creating bootstrap modals. I would like to make the specific dialogs as self-contained as possible, so a specific dialog is a component containing its "own" form as it is mostly self contained. The first naive implementation resulting in nested forms gave a n

Re: [5.4-beta-16], Bootstrap 3.2.0 and tag

2014-08-11 Thread Chris Mylonas
Can u just use it normally in the template cos its valid xml? Or are you trying to pass context with the button? On 11/08/2014 7:21 pm, "Diego Socaceti" wrote: > Hi @all, > > i read the bootstrap docs about navbar buttons ( > http://getbootstrap.com/components/#navbar-buttons) and it refers to n

[5.4-beta-16], Bootstrap 3.2.0 and tag

2014-08-11 Thread Diego Socaceti
Hi @all, i read the bootstrap docs about navbar buttons ( http://getbootstrap.com/components/#navbar-buttons) and it refers to not using , but instead. i would like to use the navbar button styles, but therefore i have to use the instead of the tag. How can i use the tag in tapestry??? Kin