在 RichFaces a4j:included 内容中嵌套 h:form 标签 [英] Nesting h:form tags in RichFaces a4j:included content
问题描述
如何将带有 h:form
标签的 ajax 相关元素包含在我想要的 jsp 文件中,然后 a4j:include
在另一个 jsp 文件中给出建议(编辑 3)通过附上我的 a4j:include 来解决另一个问题
在 h:form
标签中?
How is it possible to enclose ajax-related elements with h:form
tags in a jsp file which I want to then a4j:include
in another jsp file given the suggestion (EDIT 3) to fix another problem by enclosing my a4j:include
in an h:form
tag?
如果我包含的代码中也有表单,那将暗示可能会导致问题的嵌套表单结构.非常感谢如何解决此问题的解决方案.
If my included code also has forms in that would suggest a nested form structure which will likely cause problems. A solution to how to go about this would be greatly appreciated.
我正在创建一个使用 ajax 组件的 web 应用程序,因此没有页面到页面的导航,例如我希望所有内容都在同一个窗口"中.
I'm creating a webapp which uses ajax components so there is no page to page navigation as such as I want everything in the same 'window'.
谢谢
推荐答案
您可以使用
而不是
.确实不推荐嵌套形式.
You may use <a4j:region>
instead of <x:form>
. Nesting form is not recommended indeed.
这篇关于在 RichFaces a4j:included 内容中嵌套 h:form 标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!