org.ajax4jsf.component
Interface AjaxChildrenEncoder
- All Known Subinterfaces:
- AjaxDataEncoder
public interface AjaxChildrenEncoder
Marker interface for components, have ability to manipulate rendering in case of Ajax responses.
Such as ajax-enabled iterator, menus etc
- Author:
- shura
Method Summary |
void |
encodeAjaxChild(javax.faces.context.FacesContext context,
java.lang.String path,
java.util.Set<java.lang.String> ids,
java.util.Set<java.lang.String> renderedAreas)
Iterate over all childs of components. |
encodeAjaxChild
void encodeAjaxChild(javax.faces.context.FacesContext context,
java.lang.String path,
java.util.Set<java.lang.String> ids,
java.util.Set<java.lang.String> renderedAreas)
throws java.io.IOException
- Iterate over all childs of components. If component id contains in list ,
or, if list is empty, compotents is submitted form - render it.
TODO - Instead of calculate full path for every component, build current Path
for componet and send as parameter.
- Parameters:
context
- -
current contextcomponent
- -
curent faces component.ids
- -
list of Id to render.
- Throws:
java.io.IOException
Copyright © 2010. All Rights Reserved.