You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Guido Dubois (JIRA)" <de...@myfaces.apache.org> on 2007/03/31 10:29:25 UTC

[jira] Reopened: (TOBAGO-337) field value can't be setted or cleared if state changes from enabled to disabeld

     [ https://issues.apache.org/jira/browse/TOBAGO-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guido Dubois reopened TOBAGO-337:
---------------------------------


I think it is a bug...

Have a look at field date2. It is disabled and never changes the state. For this field it works correct, the field will be setted and cleared every time.

Change the value of field1 that its value never goes over 100,00. You see that the state of field4 and date1 doesn't change and they will be cleared and setted every time.

Now change the value of field1 that its value is allways over 100,00. For this case it works fine too. field4 and date1 are cleared and setted...

But if you enter:
- field1 = 110,00 :: the fields are setted and enabled
- field2 = 220,20 :: the fields are cleared
- field1 = 10,00 :: field4 and date are not setted and disabled, date2 is setted
- field1 = 110,00 ::  the fields are setted and enabled
- field2 = 20,20 :: the fields are cleared
- field1 = 120,00 ::  the fields are setted and still enabled

What I want to show, is that if the state changes from enable to disable, it works not correct. The field contents are not cleared or setted. In the case the state doesn't change, it works fine. So I think there is something wrong...

If I understand it correctly, the bean <f:facet name="change"> is executed after the model is updated. If I change a model value in the according bean, this value has to be renderd. Or not...?




> field value can't be setted or cleared if state changes from enabled to disabeld
> --------------------------------------------------------------------------------
>
>                 Key: TOBAGO-337
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-337
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.10
>         Environment: winxp prof, tomcat 5.5.20, myfaces 1.1.6 snap (23.03.2007), tobago 1.0.11 snap (17.03.2007)
>            Reporter: Guido Dubois
>             Fix For: 1.0.11
>
>         Attachments: disabled.war
>
>
> if field state changes from enabled to disabled it is not possible to set or clear the fields content

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.