public AjaxRequestBuilder delay(String delay) { if (!LangUtils.isValueBlank(delay) && !delay.equals("none")) { buffer.append(",d:").append(delay); if (context.isProjectStage(ProjectStage.Development)) { try { Integer.parseInt(delay); } catch (NumberFormatException e) { throw new FaceletException("Delay attribute should only take numbers or \"none\""); } } } return this; }
@Override public VisitResult visit(VisitContext context, UIComponent target) { DataTable dt = (DataTable) target; try { document.add(exporter.exportPDFTable(context.getFacesContext(), dt, pageOnly, selectionOnly, encoding)); Paragraph preface = new Paragraph(); exporter.addEmptyLine(preface, 3); document.add(preface); } catch (DocumentException e) { throw new FaceletException(e.getMessage()); } return VisitResult.ACCEPT; }
@Override public void apply(FaceletContext ctx, UIComponent parent) throws IOException { throw new FaceletException("Error: The Facelet parser is responsible for handling the <ui:remove> element. This TagHandler implementation is only provided to allow the ui.taglib.xml file to be compliant with web-facelettaglibrary_2_2.xsd. If you are seeing this exception, there is something wrong with how the JSF runtime is configuring its Facelets compiler."); }
@Override public void apply(FaceletContext ctx, UIComponent parent) throws IOException { throw new FaceletException("Error: The Facelet parser is responsible for handling the <ui:remove> element. This TagHandler implementation is only provided to allow the ui.taglib.xml file to be compliant with web-facelettaglibrary_2_2.xsd. If you are seeing this exception, there is something wrong with how the JSF runtime is configuring its Facelets compiler."); }
public void apply(FaceletContext ctx, UIComponent parent) throws IOException { throw new FaceletException("Error: The Facelet parser is responsible for handling the <ui:remove> element. This TagHandler implementation is only provided to allow the ui.taglib.xml file to be compliant with web-facelettaglibrary_2_2.xsd. If you are seeing this exception, there is something wrong with how the JSF runtime is configuring its Facelets compiler."); }
@Override public void apply(FaceletContext ctx, UIComponent parent) throws IOException { throw new FaceletException("Error: The Facelet parser is responsible for handling the <ui:remove> element. This TagHandler implementation is only provided to allow the ui.taglib.xml file to be compliant with web-facelettaglibrary_2_2.xsd. If you are seeing this exception, there is something wrong with how the JSF runtime is configuring its Facelets compiler."); }
public UserConverterHandlerFactory(String converterId, Class type) { this.converterId = converterId; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (Exception e) { throw new FaceletException( "Must have a Constructor that takes in a ConverterConfig", e); } }
public UserBehaviorHandlerFactory(String behaviorId, Class type) { this.behaviorId = behaviorId; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (Exception e) { throw new FaceletException( "Must have a Constructor that takes in a BehaviorConfig", e); } }
public UserBehaviorHandlerFactory(String behaviorId, Class type) { this.behaviorId = behaviorId; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (NoSuchMethodException | SecurityException e) { throw new FaceletException( "Must have a Constructor that takes in a BehaviorConfig", e); } }
public UserValidatorHandlerFactory(String validatorId, Class type) { this.validatorId = validatorId; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (Exception e) { throw new FaceletException( "Must have a Constructor that takes in a ValidatorConfig", e); } }
public UserConverterHandlerFactory(String converterId, Class type) { this.converterId = converterId; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (NoSuchMethodException | SecurityException e) { throw new FaceletException( "Must have a Constructor that takes in a ConverterConfig", e); } }
public UserValidatorHandlerFactory(String validatorId, Class type) { this.validatorId = validatorId; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (NoSuchMethodException | SecurityException e) { throw new FaceletException( "Must have a Constructor that takes in a ValidatorConfig", e); } }
public UserConverterHandlerFactory(String converterId, Class<? extends TagHandler> type) { this.converterId = converterId; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (Exception e) { throw new FaceletException("Must have a Constructor that takes in a ConverterConfig", e); } }
public UserConverterHandlerFactory(String converterId, Class type) { this.converterId = converterId; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (NoSuchMethodException | SecurityException e) { throw new FaceletException( "Must have a Constructor that takes in a ConverterConfig", e); } }
public UserBehaviorHandlerFactory(String behaviorId, Class type) { this.behaviorId = behaviorId; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (NoSuchMethodException | SecurityException e) { throw new FaceletException( "Must have a Constructor that takes in a BehaviorConfig", e); } }
public UserValidatorHandlerFactory(String validatorId, Class type) { this.validatorId = validatorId; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (NoSuchMethodException | SecurityException e) { throw new FaceletException( "Must have a Constructor that takes in a ValidatorConfig", e); } }
public UserComponentHandlerFactory(String componentType, String renderType, Class type) { this.componentType = componentType; this.renderType = renderType; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (NoSuchMethodException | SecurityException e) { throw new FaceletException( "Must have a Constructor that takes in a ComponentConfig", e); } }
public UserBehaviorHandlerFactory(String behaviorId, Class<? extends TagHandler> type) { this.behaviorId = behaviorId; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (Exception e) { throw new FaceletException("Must have a Constructor that takes in a BehaviorConfig", e); } }
public UserConverterHandlerFactory(String converterId, Class<? extends TagHandler> type) { this.converterId = converterId; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (Exception e) { throw new FaceletException("Must have a Constructor that takes in a ConverterConfig", e); } }
public UserConverterHandlerFactory(String converterId, Class<? extends TagHandler> type) { this.converterId = converterId; this.type = type; try { this.constructor = this.type.getConstructor(CONS_SIG); } catch (Exception e) { throw new FaceletException("Must have a Constructor that takes in a ConverterConfig", e); } }