I have an app that is using tiles and MyFaces 1.0.8.
The page comes up and looks great. But something is
wrong when the page gets posted back to the server.
The data gets sent because it adds a row to the
database, but when the page is redisplayed the values
are lost. The getters always return
Hi Ray,
A couple of thoughts:
What is the scope of your bean (request, app etc) in the
for the object.
When you say that the db is updated do you mean the user hits 'go' the
db is updated then when the page is being rendered the values are set
to null? If that is the case I don't think MyFaces
You were right. I had the bean as request instead of
session. (newbie error) That fixed it. Thanks for
responding.
Ray
--- Bill Dudney <[EMAIL PROTECTED]> wrote:
> Hi Ray,
>
> A couple of thoughts:
>
> What is the scope of your bean (request, app etc) in
> the
> for the object.
>
> When
Hi Bill,
How do you leverage the x:saveState(or preserveModel) functionality?
I have an application that just adds record to a DB and keeps
a table (x:datatable) updated with those db records.
Should I preserve the state of the x:datatable(maintaining it every
time a record is added) or should
> -Original Message-
> From: Victor Gomez [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 28, 2005 2:31 PM
> To: MyFaces Discussion
> How do you leverage the x:saveState(or preserveModel) functionality?
> I have an application that just adds record to a DB and keeps
> a table (x:datatable
5 matches
Mail list logo