Hi...
I'm tried to do a portlet example with richFaces functionality but I have some problems with the id to be rendered, because the id name begins with portlet instance name:formId:idtoberendered, how do I to obtain the portlet instance name?
this is my code.
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ include file="/WEB-INF/view/include/portletDefineObjects.jsp" %>
<f:view>
<a4j:portlet>
<h:form id="indexform" >
<h:inputText value="#{testBean.texto}">
<a4j:support event="onkeyup" reRender="sax"></a4j:support>
</h:inputText>
<h:outputText id="sax" value="#{testBean.texto}" style="color:red"></h:outputText>
</h:form>
</a4j:portlet>
</f:view>
anyone can help me?
Please sign in to flag this as inappropriate.