• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Tapestry-request loses parameters passed after page is rendered

 
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
reply
    Bookmark Topic Watch Topic
  • New Topic