如何防止adf inputFile控件在文件上传后改变其状态
有没有一种简单的方法来防止改变它的状态?我的意思是,当我上传文件 inputFile UI 以不同的方式呈现自身时,我找不到简单的方法来阻止它。是否可以通过其他方式更改其渲染器? 我正在使用 jDeveloper 11.1.1.4 的环境。
Is there an easy way to prevent from changing it's state ? I meant when I upload file inputFile UI render itself in a different fashion and I cannot find easy way to prevent it. Is it doable in some other way then altering it's renderer ?
I'm using environment from jDeveloper 11.1.1.4.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,没有一个。我发现这种行为也很烦人,但我认为他们是这样设计的,因为文件一旦提交(无论是通过自动提交还是只是常规提交),它就不会再次提交。您是否尝试过在第一次提交后重置/清除该值?也许这也会重置 inputFile 的状态。
None that I know of. I find the behavior annoying as well but I think they designed it that way because the moment the file has already been submitted(whether by autoSubmit or just a regular submit) it doesn't submit it again. Have you tried resetting/clearing the value after the first submit? Maybe that will reset the inputFile's state as well.