You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2007/10/20 18:14:32 UTC

T5: Editing of form

Hi,

This might not be Tapestry related, I'd like to know how other guys handles
form editing, in the C/S app, I usually keep all the form field values in
the screen after user click 'save', it will be erased only when user click
'New', should I do something similar in the web app? Thanks.

A.C.
-- 
View this message in context: http://www.nabble.com/T5%3A-Editing-of-form-tf4658480.html#a13311349
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: Editing of form

Posted by Nick Westgate <ni...@key-planning.co.jp>.
Don't forget that Tapestry has docs:
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html#orgapachetapestrycorelibcomponentssubmit

Use onSelectedFromSubmitButtonName().

Cheers,
Nick.


Angelo Chen wrote:
> Hi Jonathan,
> 
> That's a good idea, two buttons, 'save' and 'save & finish', how you detect
> two buttons in a form?
> 
> A.C.
> 
> 
> Jonathan Barker wrote:
>>
>> It depends.  In one case where there are a lot of things to fill out and I
>> expect incremental saves, I have Save (that goes right back to the edit
>> screen), and Save & Finish (that goes to the corresponding View page).
>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: T5: Editing of form

Posted by Angelo Chen <an...@yahoo.com.hk>.
Hi Jonathan,

That's a good idea, two buttons, 'save' and 'save & finish', how you detect
two buttons in a form?

A.C.


Jonathan Barker wrote:
> 
> 
> It depends.  In one case where there are a lot of things to fill out and I
> expect incremental saves, I have Save (that goes right back to the edit
> screen), and Save & Finish (that goes to the corresponding View page).
> 
> 

-- 
View this message in context: http://www.nabble.com/T5%3A-Editing-of-form-tf4658480.html#a13327445
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: T5: Editing of form

Posted by Jonathan Barker <jo...@gmail.com>.
It depends.  In one case where there are a lot of things to fill out and I
expect incremental saves, I have Save (that goes right back to the edit
screen), and Save & Finish (that goes to the corresponding View page).



> -----Original Message-----
> From: Angelo Chen [mailto:angelochen960@yahoo.com.hk]
> Sent: Saturday, October 20, 2007 12:15 PM
> To: users@tapestry.apache.org
> Subject: T5: Editing of form
> 
> 
> Hi,
> 
> This might not be Tapestry related, I'd like to know how other guys
> handles
> form editing, in the C/S app, I usually keep all the form field values in
> the screen after user click 'save', it will be erased only when user click
> 'New', should I do something similar in the web app? Thanks.
> 
> A.C.
> --
> View this message in context: http://www.nabble.com/T5%3A-Editing-of-form-
> tf4658480.html#a13311349
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org