
|
If you were logged in you would be able to see more operations.
|
|
|
Click
Created: 15/Mar/08 09:47 AM
Updated: 15/Mar/08 11:13 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
1.4
|
| Fix Version/s: |
1.5 M1
,
1.4.1
|
|
|
ClearValues clears the forms hidden fields as well. This is particularly problematic since it can clear the forms submit token.
I would think this method should not clear hidden fields.
At the least it should skip the SUBMIT_CHECK button.
CayenneForm and HibernateForm also uses HiddenFields. Calling clearValues on these forms might be problematic too.
|
|
Description
|
ClearValues clears the forms hidden fields as well. This is particularly problematic since it can clear the forms submit token.
I would think this method should not clear hidden fields.
At the least it should skip the SUBMIT_CHECK button.
CayenneForm and HibernateForm also uses HiddenFields. Calling clearValues on these forms might be problematic too. |
Show » |
|
|
I can see with the SUBMIT_CHECK that you would not want to clear this field, I can also imagine there are other scenarios where you want only to clear some of the fields. I suppose in the latter case it is up to the developer to decide what they need cleard.
regards Malcolm Edgar