• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Tapestry-request loses parameters passed after page is rendered  RSS feed

 
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to tapestry and come from a struts background.

I have a page which has a couple of textfields.
when these textfields are displayed the 1st time, i retrieve the values for these from the database using 2 parameters (as a part of the where clause) passed to this page from the previous page .
these are editable textfields. so if the user changes these values and clicks the save button, this page should save this data back to the database.
But it cannot do so because it has lost the 2 parameters which were intially passed to this page.

How do i get about this problem ?

Thanks,
Gayatri.
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Have you stored those two parameters in Visit class ?

If you are not able to get those parameters once you submit the form that means those parameters are not defined in visit class (ie session).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!