@Override public void applyCompositeComponent(UIComponent parent, Resource resource) throws IOException, FaceletException, FacesException, ELException { _facelet.applyCompositeComponent(this, parent, resource); }
/** * Return an identifier used to derive an unique id per facelet instance. This * value should be the same for viewMetadata and normal facelet instances. * * @return */ public String getFaceletId() { return getAlias(); } }
/** * {@inheritDoc} */ @Override public ExpressionFactory getExpressionFactory() { return _facelet.getExpressionFactory(); }
/** * {@inheritDoc} */ @Override public void includeFacelet(UIComponent parent, URL absolutePath) throws IOException, FacesException, ELException { _facelet.include(this, parent, absolutePath); }
@Override public boolean isBuildingCompositeComponentMetadata() { return _facelet.isBuildingCompositeComponentMetadata(); }
if (markId == null) ((AbstractFacelet)componentFacelet).applyDynamicComponentHandler( facesContext, component, baseKey); ((AbstractFacelet)componentFacelet).applyDynamicComponentHandler( facesContext, component.getParent(), baseKey);
private void initPrefix() { if (_prefix == null) { _uniqueIdBuilder = new StringBuilder( _faceletHierarchy.size() * 30); for (int i = 0; i < _faceletHierarchy.size(); i++) { AbstractFacelet facelet = _faceletHierarchy.get(i); _uniqueIdBuilder.append(facelet.getFaceletId()); } // Integer prefixInt = new Integer(builder.toString().hashCode()); // -= Leonardo Uribe =- if the previous formula is used, it is possible that // negative values are introduced. The presence of '-' char causes problems // with htmlunit 2.4 or lower, so in order to prevent it it is better to use // only positive values instead. // Take into account CompilationManager.nextTagId() uses Math.abs too. _prefix = Integer.toString(Math.abs(_uniqueIdBuilder.toString().hashCode())); } }
/** * {@inheritDoc} */ @Override public void includeFacelet(UIComponent parent, String relativePath) throws IOException { _facelet.include(this, parent, relativePath); }
@Override public boolean isBuildingCompositeComponentMetadata() { return _facelet.isBuildingCompositeComponentMetadata(); }
if (markId == null) ((AbstractFacelet)componentFacelet).applyDynamicComponentHandler( facesContext, component, baseKey); ((AbstractFacelet)componentFacelet).applyDynamicComponentHandler( facesContext, component.getParent(), baseKey);
/** * {@inheritDoc} */ @Override public void includeFacelet(UIComponent parent, URL absolutePath) throws IOException, FacesException, ELException { _facelet.include(this, parent, absolutePath); }
/** * {@inheritDoc} */ @Override public ExpressionFactory getExpressionFactory() { return _facelet.getExpressionFactory(); }
@Override public boolean isBuildingCompositeComponentMetadata() { return _facelet.isBuildingCompositeComponentMetadata(); }
builder.append(facelet.getAlias());
@Override public void applyCompositeComponent(UIComponent parent, Resource resource) throws IOException, FaceletException, FacesException, ELException { _facelet.applyCompositeComponent(this, parent, resource); }
((AbstractFacelet)componentFacelet).applyDynamicComponentHandler( context, tempParent, baseKey);
/** * {@inheritDoc} */ @Override public void includeFacelet(UIComponent parent, String relativePath) throws IOException { _facelet.include(this, parent, relativePath); }
/** * {@inheritDoc} */ @Override public ExpressionFactory getExpressionFactory() { return _facelet.getExpressionFactory(); }
builder.append(facelet.getAlias());
@Override public void applyCompositeComponent(UIComponent parent, Resource resource) throws IOException, FaceletException, FacesException, ELException { _facelet.applyCompositeComponent(this, parent, resource); }