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: >> 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 T5 form, so no other >> components are required. (Noticed the "This component only works when >> embedded in a "equanda/FormSupport" component which is correctly >> intergrated. Otherwise it does nothing." disclaimer.) >> > Yes, it uses js to submit. I would not know how to write a link which > functions as a submit. > The component needs to be embedded in the formsupport to assure the html > is not too bulky. The alternative would be to duplicate some hidden > stuff for each link. I choose to not have that duplication. This is > useful in my forms as they contian many of these submit-links. > > Kind regards, > Joachim > >> - Ville >> >> >> Joachim Van der Auwera wrote: >> >>> 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 total brain freeze here so: >>>> >>>> I have a case where I have to let user enter rows to a view and there >>>> must >>>> be an "Edit" function at the end of each of these rows. The edit >>>> functionality MUST SUBMIT before redirecting to detail edit as every >>>> row >>>> in >>>> the view are editable, and user may edit the rows, after which >>>> she/he/it >>>> clicks the edit button to edit the details of a row. >>>> >>>> So, how can I use submit to redirect to the detail page. As this is a >>>> component, I cannot do the normal "onSuccess" redirect, as my component >>>> does >>>> not define form and hence it doesn't receive the on submit event. >>>> >>>> I think it is pretty standard to have a button to redirect to another >>>> page >>>> after submit. >>>> >>>> Am I missing something totally obvious? >>>> >>>> - Ville >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >>> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-T5--Page-naigation-using-submit-tp20031177p20063799.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]