Ejemplo n.º 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);
 }
Ejemplo n.º 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];
   dir = (String) values[5];
   lang = (String) values[6];
 }