开发者

Nesting h:form tags in RichFaces a4j:included content

开发者 https://www.devze.com 2022-12-22 03:08 出处:网络
How is it possible to enclose ajax-related elements wi开发者_运维技巧th 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 probl

How is it possible to enclose ajax-related elements wi开发者_运维技巧th 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.

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'.

Thanks


You may use <a4j:region> instead of <x:form>. Nesting form is not recommended indeed.

0

精彩评论

暂无评论...
验证码 换一张
取 消