hello,
i'm using myfaces 1.1.3 and shale 1.0.3 and tomahawak 1.1.3

i have a page, list.jsp
containing a list of items
the list is initialized by a shale backed backed bean that
execute's its init() method prior to loading the page
the init method checks to see if its a postback request
if its not then it requeries the database

my question is
if i click on a link and display the details of an item on the list
and i click a link to "back to list"
the database query runs again, because its not a postback request

my question is
how do i solve this, making the "back to list" function work without
hitting the db

i know that i have to put a flag to tell the shale ViewController class to
query/not-to-query the database.

Or is my current method of obtaining the list is not-exactly-right?

please advice. thank you.

Reply via email to