function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gino BassoGino Basso 

Limit to number of VF components in an actionStatus facet?

<apex:form> <apex:actionStatus id="loadingFormDefaultsStatus"> <apex:facet name="start"> <apex:image url="{!$Resource.ActionStatusLoading}"/> <apex:outputText value=" loading defaults..."/> </apex:facet> <apex:facet name="stop"/> </apex:actionStatus> ... </apex:form>

 

 

In the above VF page snippet only the outputText component of the start facet gets rendered. If I switch the order then only the image component gets rendered.

 

I eventually got around this by using standard HTML tags but I was wondering if there was some limitation as to what one could include in an actionStatus facet.

 

This behaviour was observed in API 16.

 

mtbclimbermtbclimber
All facets currently have a limit of one child component. This can be worked-around by simply wrapping your components in a container like outputPanel.