Пример #1
0
 public void setValueBinding(String s, ValueBinding vb) {
   if (s != null && s.indexOf("effect") != -1) {
     // If this is an effect attribute make sure Ice Extras is included
     JavascriptContext.includeLib(JavascriptContext.ICE_EXTRAS, getFacesContext());
   }
   super.setValueBinding(s, vb);
 }
Пример #2
0
 /** Perform any processing required to restore the state from the entries in the state Object. */
 public void restoreState(FacesContext context, Object state) {
   Object values[] = (Object[]) state;
   super.restoreState(context, values[0]);
   renderedOnUserRole = (String) values[1];
   effect = (Effect) values[2];
   currentStyle = (CurrentStyle) values[3];
   visible = (Boolean) values[4];
 }