I have a rich:componentControl which sets a parameter called applicationId and displays a rich:contextMenu:
<rich:componentControl event="onRowClick" for="ctxMenu" operation="show">
<f:param value="#{item[1].applicationId}" name="applicationId"/>
</rich:componentControl>
and here's the rich:contextMenu:
<rich:contextMenu id="ctxMenu" submitMode="ajax">
<rich:menuItem ajaxSingle="true" value="View Resume" action="#{activeAppsForm.viewResume}" rendered="#{activeAppsForm.hasResume}" >
<a4j:actionparam name="selectedApplicationId" value="{applicationId}" assignTo="#{activeAppsForm.applicationId}"/>
</rich:menuItem>
</rich:contentMenu>
My problem is with the rendered attribute. The backing bean property it's calling needs access to applicationId before being able to correctly get the rendered value. How can I assign the applicationId value to #{activeAppsForm.applicationId} when the menu is rendered?
Thanks.