Forums

Home » Liferay Portal » English » 3. Development »

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Sergio Alejandro Muñoz
Need Help: portlet with richFaces functionality.
July 24, 2008 2:39 PM
Answer

Sergio Alejandro Muñoz

Rank: New Member

Posts: 24

Join Date: June 3, 2008

Recent Posts

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?
Sergio Alejandro Muñoz
RE: Need Help: portlet with richFaces functionality.
August 4, 2008 7:06 AM
Answer

Sergio Alejandro Muñoz

Rank: New Member

Posts: 24

Join Date: June 3, 2008

Recent Posts

All that interests them .....

After much searching in different forums found that Liferay portal users still do not have support for applications with features made richFaces, so we will have to wait for the team Liferay support to this powerful framework.