You probably should use another scope for your bean in Trinidad, either
session or pageFlowScope. In Tomahawk you could use t:saveState.
-- Christopher
Adam Winer schrieb:
On 6/25/07, Zarick Lau <[EMAIL PROTECTED]> wrote:
Hi list,
I've a tr:table, the table contents are fetched by the request scoped
backing bean.
One of the column contains a commandLink with a static "action" string.
However, I found that, the commandLink action is never fired when I
click on
it.
I finally figure out that, during post-back, Trinidad try to lookup the
table value.
I can only make the backing bean refetch the table rows during Bean init
time.
In my understanding, the value of component should be saved by JSF state
manager,
am I true?
No, that's not the case. Anything that is retrieved from
EL is left alone by JSF state management.
-- Adam
It true, why, the table component try to get the value again when
post-back?
If false, is there any better way for my simple use-case.
In my case, the user select one row my clicking on the commandLink in
one of
the cell.
And the user will typically redirect to a new page. so a plain new
refetch
of the whole table content
looks waste of resource for me.
Thanks,
Zarick