Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • 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 ...
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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

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 ?

Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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).
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!