You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Sven Homburg <Sv...@hsofttec.com> on 2004/09/05 12:49:19 UTC

jump back from edit page to table page

Hi there,

user have a page with "contrib:Table " component with pagination.
he go to the second page of this table and choose one of the listed
records for editing.
he change some fields of this record and clicks on the save button.

how is the best way to let show him the reffering table page, but not
the first.

-- 
with best regards

homburg Softwaretechnik
S.Homburg
21220 Seevetal / GERMANY
Fon: +49-4105-669746
Fax: +49-4105-668947




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


Re: jump back from edit page to table page

Posted by Holger Stephan <tm...@frogleg.net>.
On Sun, 2004-09-05 at 03:49, Sven Homburg wrote:
> Hi there,
> 
> user have a page with "contrib:Table " component with pagination.
> he go to the second page of this table and choose one of the listed
> records for editing.
> he change some fields of this record and clicks on the save button.
> 
> how is the best way to let show him the reffering table page, but not
> the first.

You could either keep the table definition persistent (I use a table
definition object for this) or add parameters to the call of the edit
page containing the current configuration of the table (i.e. with an
ExternalLink). Convert these parameters in activateExternalPage() of
your edit page and use corresponding hidden form fields to keep the
values around until you use them to jump back to the list page after the
save button was pressed. 

- Holger

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