Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- catch (RowInconsistentException rie) {
- RichPopup errMsgPop = (RichPopup)JSFUtils.findComponentInRoot("errMsgPop");
- if (null != errMsgPop) {
- RichPopup.PopupHints hints = new RichPopup.PopupHints();
- errMsgPop.show(hints);
- }
- }
- <af:popup id="errMsgPop">
- <af:dialog id="errMsgDlg" title="" type="ok"
- dialogListener="#{editWorkTimeBean.errMsgDialogListener}">
- <af:outputText value="#{res.ewt_msg_err}" id="aot1"/>
- </af:dialog>
- </af:popup>
- public void errMsgDialogListener(DialogEvent dialogEvent) {
- if (dialogEvent.getOutcome() == DialogEvent.Outcome.ok) {
- ViewObject vo = null;
- if (null != ADFUtils.getDCBindingContainer().findIteratorBinding(MAIN_TABLE_ITERATOR)) {
- vo = ADFUtils.findIterator(MAIN_TABLE_ITERATOR).getViewObject();
- } else {
- vo = (ViewObjectImpl)getMainViewObject();
- }
- vo.executeQuery();
- refreshTheMainTable();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement