Spring WebFlow将JSF ajax响应显示为纯文本

时间:2013-08-27 11:38:17

标签: jsf spring-webflow

我有一个使用Spring WebFlow和JSF的Web应用程序。我的网站有列表页面和详细信息页面。在详细信息页面,我会在会话过期时单击保存按钮(PrimeFaces的命令按钮)。系统渲染到登录页面。我点击登录进入列表页面。之后我导航到详细信息页面。系统显示如下:

<partial-response>
<changes>
<update id="mandateForm">
<![CDATA[
<form id="mandateForm" name="mandateForm" method="post" action="/rrs-web/web/creditReport?execution=e3s1" enctype="application/x-www-form-urlencoded"> <input type="hidden" name="mandateForm" value="mandateForm" /> <h2>Mandatsträger</h2> <div class="tableSection left">
]]>
<![CDATA[
<div class="right mb05"><a id="mandateForm:j_idt350" href="#" class="ui-commandlink button01 add-management-board" onclick="PrimeFaces.ab({source:'mandateForm:j_idt350',update:'searchPersonForm',oncomplete:function(xhr,status,args){openDialogBoardsMembers(event);}});return false;">hinzufügen</a> </div> <h3>Geschäftsleitung</h3> <div class="clr"></div><table id="mandateForm:tblManagementBoard" class="table01"> <thead> <tr> <th class="alignleft w64" scope="col">Nachname</th> <th class="alignleft w60" scope="col">Vorname</th> <th class="alignleft w54" scope="col">Wohnort</th> <th class="alignleft w90" scope="col">Funktion</th> <th class="alignleft w52" scope="col">Gremium</th> <th class="alignleft w60" scope="col">Quelle</th> <th class="alignleft w80" scope="col">ConsumerTyp</th> <th class="alignleft w90" scope="col">OFWI-ID</th> <th class="aligncenter checkbox" scope="col"><abbr title="Verlustscheine">VS</abbr></th> <th class="aligncenter checkbox" scope="col"><abbr title="Pfändungen">PF</abbr></th> <th class="aligncenter checkbox" scope="col"><abbr title="Konkurskünstler">KK</abbr></th> <th class="aligncenter checkbox" scope="col"><abbr title="Privatkunkurs">PK</abbr></th> <th class="aligncenter checkbox" scope="col">IJ-bad</th> <th class="alignleft w36" scope="col">Aktion</th> </tr> </thead> <tbody> <tr><td></td></tr></tbody> </table> </div> <div class="clr"></div> <div class="tableSection left"> <div class="right mb05"><a id="mandateForm:j_idt400" href="#" class="ui-commandlink button01 add-company-representatives" onclick="PrimeFaces.ab({source:'mandateForm:j_idt400',update:'searchPersonForm',oncomplete:function(xhr,status,args){openDialogBoardsMembers(event);}});return false;">hinzufügen</a> </div> <h3>Firmenvertreter</h3> <div class="clr"></div><table id="mandateForm:tblCompanyRepresentatives" class="table01"> <thead> <tr> <th class="alignleft w64" scope="col">Nachname</th> <th class="alignleft w60" scope="col">Vorname</th> <th class="alignleft w54" scope="col">Wohnort</th> <th class="alignleft w90" scope="col">Funktion</th> <th class="alignleft w52" scope="col">Gremium</th> <th class="alignleft w60" scope="col">Quelle</th> <th class="alignleft w80" scope="col">ConsumerTyp</th> <th class="alignleft w90" scope="col">OFWI-ID</th> <th class="aligncenter checkbox" scope="col"><abbr title="Verlustscheine">VS</abbr></th> <th class="aligncenter checkbox" scope="col"><abbr title="Pfändungen">PF</abbr></th> <th class="aligncenter checkbox" scope="col"><abbr title="Konkurskünstler">KK</abbr></th> <th class="aligncenter checkbox" scope="col"><abbr title="Privatkunkurs">PK</abbr></th> <th class="aligncenter checkbox" scope="col">IJ-bad</th> <th class="alignleft w36" scope="col">Aktion</th> </tr> </thead> <tbody> <tr><td></td></tr></tbody> </table> </div> <div class="clr"></div> <div class="tableSection"> <h3>weitere HRMandatsträger (gruppiert)</h3><table id="mandateForm:tblMandateHolder" class="table01"> <thead> <tr> <th class="alignleft w100, alignleft" scope="col">Funktion</th> <th class="alignleft w100, alignleft" scope="col">Anzahl Mandatsträger</th> </tr> </thead> <tbody> <tr><td></td></tr></tbody> </table> </div> </form>
]]>
</update>
<update id="javax.faces.ViewState">
<![CDATA[ e3s1 ]]>
</update>
</changes>
</partial-response>

这是如何引起的?如何解决?

0 个答案:

没有答案