javax.faces.FacesException: Nested form found on the page. The form action eleme
javax.faces.FacesException: Nested form found on the page. The form action element can not be nested
at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.validateNestingForm(FormRenderer.java:386)
at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.validateNestingForm(FormRenderer.java:389)
at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.validateNestingForm(FormRenderer.java:389)
at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.validateNestingForm(FormRenderer.java:389)
at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.encodeBegin(FormRenderer.java:89)
at com.icesoft.faces.component.ext.renderkit.FormRenderer.encodeBegin(FormRenderer.java:53)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:356)
at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:365)
at com.icesoft.faces.renderkit.dom_html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:96)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
at com.icesoft.faces.component.util.CustomComponentUtils.renderChild(CustomComponentUtils.java:339)
at com.icesoft.faces.component.paneltabset.PanelTabSetRenderer.writeTabCell(PanelTabSetRenderer.java:977)
at com.icesoft.faces.component.paneltabset.PanelTabSetRenderer.encodeEnd(PanelTabSetRenderer.java:423)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861)
at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:370)
at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:365)
at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeParentAndChildren(DomBasicRenderer.java:365)
at com.icesoft.faces.renderkit.dom_html_basic.GridRenderer.encodeChildren(GridRenderer.java:208)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:492)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:497)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:497)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:497)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:497)
at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
在做專案時,我使用的是icefacesUI標記組建,. JSF 提示 頁面 找到 form標籤巢狀,.我找了半天,. 終於知道是什麼原因了..我在使用 include:包含頁面時,在包含的頁面也定義了 ice:form 標籤.. 所以, 提示 form標籤巢狀了..
所以,解決方案是仔細找一下..是不是有form標籤.. 巢狀..
寫程式碼還是要細心好啊..
相關文章
- Form元件ORM元件
- Angular Form (響應式Form) 學習筆記AngularORM筆記
- HTML form 元素HTMLORM
- ElementUI Form resetFieldsUIORM
- Android Form元件AndroidORM元件
- Form1ORM
- Django Form元件DjangoORM元件
- 利用反射型XSS二次注入繞過CSP form-action限制反射ORM
- form-data與x-www-form-urlcoded區別ORM
- 表單form方式ORM
- js控制form提交JSORM
- 清空form表單ORM
- HTML 23 - Form AttributesHTMLORM
- HTML 24 - Form ControlHTMLORM
- SAP UI5 Form 和 Simple Form 的設計規範UIORM
- 表單 x-www-form-urlencoded 與 multipart/form-data 區別ORM
- form表單提交方式ORM
- Tape-out Checklist FormORM
- odoo form view套treeOdooORMView
- form&method【POST~GET】ORM
- [Vue Form] Basic Select componentVueORM
- 如何高效地寫 FormORM
- tpextbuilder- Form表單UIORM
- laravel-admin 之 formLaravelORM
- [前端開發]form-data和x-www-form-urlencoded的區別前端ORM
- rc-form流程簡析ORM
- 07 Django的Form模組DjangoORM
- Handling duplicate form submission in Spring MVCORMSpringMVC
- jquery.form.js知識jQueryORMJS
- 有關Weak Head Normal FormORM
- Form中使用DispatchAction 響應ORM
- django Form元件校驗流程DjangoORM元件
- tanstack react-form antd示例ReactORM
- react-hook-form驗證ReactHookORM
- orbeon form 的配置介紹ORBORM
- AR.Form、AR.ComboboxORM
- http請求頭中application/x-www-form-urlencoded和multipart/form-data區別HTTPAPPORM
- 說說form-data、x-www-form-urlencoded、raw、binary的區別是什麼?ORM
- Layui環境下form表單提交;jquery.form.js;lay-verify,lay-filter;UIORMjQueryJSFilter