Author: sletellier Date: 2011-06-29 16:45:18 +0200 (Wed, 29 Jun 2011) New Revision: 106 Url: http://chorem.org/repositories/revision/vradi/106 Log: Fix rst refresh Modified: trunk/vradi-web/src/main/webapp/WEB-INF/jsp/formNote.jsp Modified: trunk/vradi-web/src/main/webapp/WEB-INF/jsp/formNote.jsp =================================================================== --- trunk/vradi-web/src/main/webapp/WEB-INF/jsp/formNote.jsp 2011-06-29 14:30:46 UTC (rev 105) +++ trunk/vradi-web/src/main/webapp/WEB-INF/jsp/formNote.jsp 2011-06-29 14:45:18 UTC (rev 106) @@ -79,10 +79,11 @@ collapsible="true" useSelectedTabCookie="true"> <sj:tab id="tabHtmlSummary" target="htmlSummary" label="Summary"/> <sj:tab id="tabHtmlSummaryEdit" target="htmlSummaryEdit" label="Edit"/> - <div id="htmlSummary"> + <sj:div id="htmlSummary" + href="/ajax/rst.action?id=%{localNoteId}&field=%{localFieldSummary}" + listenTopics="updateHtmlSummary"> <img id="indicator-htmlSummary" src="/img/indicator.gif" alt="Loading..." style="display:none"/> - <%=action.getSummary()%> - </div> + </sj:div> <div id="htmlSummaryEdit"> <form id="htmlSummaryEditForm" action="/ajax/rst.action"> <s:hidden name="id" value="%{localNoteId}"/> @@ -90,7 +91,9 @@ <s:textarea name="rst" value="%{localSummary}"/> <sj:submit id="htmlSummaryEditSubmit" value="Save" - targets="htmlSummary" indicator="indicator-htmlSummary" + targets="result" + onCompleteTopics="updateHtmlSummary" + indicator="indicator-htmlSummary" button="true" buttonIcon="ui-icon-gear"/> </form> </div>
participants (1)
-
sletellier@users.chorem.org