myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek (JIRA)" <>
Subject [jira] Commented: (MYFACES-268) inputText displays wrong value.
Date Wed, 27 Jul 2005 07:34:22 GMT
    [ ] 

Martin Marinschek commented on MYFACES-268:

Sorry for taking so long - a final comment - you need to determine what will be shown in your
detail page by determining the state of  your managed beans, this is not a problem with MyFaces.

You need to take some action on the cancel button to clean out the detail data, so that upon
entering again into the detail page the detail data will be read again, now with the correct



> inputText displays wrong value.
> -------------------------------
>          Key: MYFACES-268
>          URL:
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.9 beta
>  Environment: WinXP, MyFaces 1.0.9 beta
>     Reporter: Konstantin Nikolaev
>     Assignee: Martin Marinschek
>      Fix For: Nightly Build

> In my project I have a form for editing a user profile. There are three inputTexts (login,
password, e-mail) and two commandButtons (Save profile, Cancel) on it. When I change data
in inputTexts and press "Save profile" my application first saves a new data to the database
and then navigates to a form displaying a user profile with changes (It's OK).
> But if I change data in inputTexts and then decide to NOT save a new data I press "Cancel"
and simply navigate to a form displaying a user profile. But profile displays with changes.
This is not what expected. If I cancel changes the form should display a profile with no changes.
> Does anyone have an idea how I can tune MyFaces to solve this problem?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message