[ 
https://issues.apache.org/jira/browse/MYFACES-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17445182#comment-17445182
 ] 

Thomas Andraschko edited comment on MYFACES-4420 at 11/17/21, 1:57 PM:
-----------------------------------------------------------------------

yeah
thats how JSF works - you need also to enable on server side and bind the 
disabled attr to a bean var
you have the "DOM" on server side (JSF ViewRoot) and clientside (browser DOM)

clientside DOM can be manipulated from a hacker (like your JS) and posted
therefore its also checked on server side


was (Author: tandraschko):
yeah
thats how JSF works - you need also to enable on server side and bind the 
disabled attr to a bean var
you have the "DOM" on server side (JSF ViewRoot) and clientside (browser DOM)

> Values in BackingBean not updated
> ---------------------------------
>
>                 Key: MYFACES-4420
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4420
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.3-next-M6
>         Environment: Mac & Quarkus
>            Reporter: Timo Schöpflin
>            Priority: Trivial
>         Attachments: debug.png, post.png
>
>
> If I'm submitting a form the updated value is send in the POST, however in 
> the backing bean I'm still seeing the old value.
>  * *POST-Message send on form submit*
> !post.png!
>  * *Debug information in BackingBean*
> !debug.png!
>  * *POC Application*
> [https://github.com/t1m0/quarkus_myfaces]
>  
> I also raised this issue on stackoverflow 
> [https://stackoverflow.com/questions/69467576/jsf-myfaces-attributes-not-updating],
>  without feedback.
> Maybe I overlooked something - in that case sorry for the bug.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to