Re: [T5] Page naigation using submit

2008-10-19 Thread Ville Virtanen
Hi, and sorry for my bad English :) I meant that I re-invented the wheel, not you. And yes, there are no links that can submit without js. I wrote those comments after a 12 hour work day. I should never do that again :D - Ville Joachim Van der Auwera wrote: > > Ville Virtanen wrote: >> Alwa

Re: [T5] Page naigation using submit

2008-10-19 Thread Joachim Van der Auwera (PROGS bvba)
Ville Virtanen wrote: Always nice to re-invent the wheel eh? :D I found no existing solution to my problem, so I don't know why this would be "re-inventing the wheel". My implementation uses zero javascript. Does the Equanda component use js to submit? Also my component works with the normal

Re: [T5] Page naigation using submit

2008-10-18 Thread Ville Virtanen
Always nice to re-invent the wheel eh? :D My implementation uses zero javascript. Does the Equanda component use js to submit? Also my component works with the normal T5 form, so no other components are required. (Noticed the "This component only works when embedded in a "equanda/FormSupport" com

Re: [T5] Page naigation using submit

2008-10-18 Thread Joachim Van der Auwera (PROGS bvba)
equanda-tapestry5 includes a link component which submits the page to assure the entered state is not lost. http://equanda.org/equanda-tapestry5 Kind regards, Joachim Ville Virtanen wrote: Hi, This must be discussed before, but I could not find anything using search and I seem to be having t

Re: [T5] Page naigation using submit

2008-10-18 Thread Ville Virtanen
ect event). >> > >> > I think there are two ways: >> > 1. Inside the page java, handle the onAction/onSuccess event. (You can >> not >> > see the onSelect event here) >> > 2. Inside your component java, handle the onSelect event (I am not

Re: [T5] Page naigation using submit

2008-10-17 Thread dh ning
le the onAction/onSuccess event. (You can > not > > see the onSelect event here) > > 2. Inside your component java, handle the onSelect event (I am not sure > > whether it is right, I haven't tried before) > > > > Thanks! > > > > DH > > - Or

Re: [T5] Page naigation using submit

2008-10-17 Thread Ville Virtanen
dle the onSelect event (I am not sure > whether it is right, I haven't tried before) > > Thanks! > > DH > - Original Message - > From: "Ville Virtanen" <[EMAIL PROTECTED]> > To: > Sent: Friday, October 17, 2008 8:08 PM > Subject: Re: [T5]

Re: [T5] Page naigation using submit

2008-10-17 Thread dhning
n" <[EMAIL PROTECTED]> To: Sent: Friday, October 17, 2008 8:08 PM Subject: Re: [T5] Page naigation using submit > > Yes it must be, otherwise it won't work. > > The submit event that is triggered by the form in the page does not bubble > to my component and I can&

Re: [T5] Page naigation using submit

2008-10-17 Thread dhning
n" <[EMAIL PROTECTED]> To: Sent: Friday, October 17, 2008 8:08 PM Subject: Re: [T5] Page naigation using submit > > Yes it must be, otherwise it won't work. > > The submit event that is triggered by the form in the page does not bubble > to my component and I can&

Re: [T5] Page naigation using submit

2008-10-17 Thread Ville Virtanen
Yes it must be, otherwise it won't work. The submit event that is triggered by the form in the page does not bubble to my component and I can't use the selected event triggered by the button in my component because that event does not support return type of page class. - Ville dhning-2 wrote

Re: [T5] Page naigation using submit

2008-10-17 Thread dhning
But your component must be enclosed by an outer form component, right? Or else, how can you put textfield in your component? Thanks! DH - Original Message - From: "Ville Virtanen" <[EMAIL PROTECTED]> To: Sent: Friday, October 17, 2008 7:01 PM Subject: [T5] Page naigation using submit