hey,
I tried so hard but I just cannot get a simple Richfaces AjaxStatusTag inserted in my page. I generate the components from Java code, not xhtml. That's what I do:
AjaxStatusTag deleteStatus = new AjaxStatusTag();
FacetTag start = new FacetTag();
start.setName("start");
HtmlGraphicImage pic = new HtmlGraphicImage();
pic.setUrl("/resources/images/ajaxLoaderLong.gif");
pic.setAlt("ajaxLoaderLong.gif");
start.setValue("start", pic); //how to add pic to FacetTag?
start.setParent(deleteStatus);
I'm not even sure about the FacetTag either... Other cases, eg to have a simple Div with a link it's easy to get the children of the div and then add the link to that collection but AjaxStatusTag and FacetTag are different and I don't have any idea how to solve this.
Any help is appreciated!
cheers, balázs