Proper way to extend/change Form enctype? #1499
Unanswered
juan-ayala
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The form container core/wcm/components/form/container/v2/container sets a enctype attribute on the
<form>
tag.The model ContainerImpl.java has an
@ValueMapValue
attribute for this that defaults tomultipart/form-data
contrary to W3C default.I would expect there to be a dialog or design_dialog field for this property but I can not find any. It seems it has been this way as far back as version 1.0.0 of the components.
Was this done intentionally? What would be the correct way to extend this? Add the dialog/policy field to my wrapper component? Add it to the
cq:template
? Or am I missing something?Beta Was this translation helpful? Give feedback.
All reactions