Showing Popup when clicking on calendar activity

First set the calendar activity
calendarActivityListener="#{calActivityBean.activityListener}"

second insert the popup and the panelform containg the iterator in the facet activityDetail

thired,in the backing beean add implements calendarActivityListener

    public void activityListener(CalendarActivityEvent calendarActivityEvent) {
        CalendarActivity activity =
              calendarActivityEvent.getCalendarActivity();
       
          if (activity != null) {
              DCBindingContainer dcbindings =
                  (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
              DCIteratorBinding iterator =
                  dcbindings.findIteratorBinding("CalenderEventsVoIterator");
              Key key = new Key(new Object[] { activity.getId() });
              RowSetIterator rsi = iterator.getRowSetIterator();
              Row row = rsi.findByKey(key, 1)[0];
              rsi.setCurrentRow(row);
          }
    }

Comments

Popular posts from this blog

Another user has changed the row with primary key oracle.jbo.Key[12 ].

Working With File Throgh WebUtill

weblogic windows JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: Failed to lock cwallet.sso.lck