Thank you Scott
I solve my problem like this, it's ok now.
<tr:commandLink styleClass="listingLink" action="page">
<f:setPropertyActionListener value="#{title.index}"
target="#{commonController.indexTitle}" />
<h:outputText value="#{title.title}" escape="false" />
</tr:commandLink>
Scott O'Bryan a écrit :
I have no clue on the Yves.. Does it work without the actionListener?
On 06/08/2010 08:50 AM, Yves Deschamps wrote:
Hi all,
I am using
Myfaces trinidad JSF 1.2
Myfaces PortletBridge (1.0)
uPortal 3.2 container
My JSF application (servlet) run but not in portlet mode.
When i see the home page after some refreshs, this action don't work...
<tr:commandLink styleClass="listingLink"
actionListener="#{commonController.titleActionListener}" action="page">
<h:outputText value="#{title}" escape="false" />
</tr:commandLink>
titleActionListener is ok, i see the title in log...
public String titleActionListener(ActionEvent action) {
CoreCommandLink link = (CoreCommandLink) action.getComponent();
HtmlOutputText html = (HtmlOutputText) link.getChildren().get(0);
title = (String) html.getValue();
logger.info("Title: " + title);
return null;
}
<navigation-case>
<from-outcome>page</from-outcome>
<to-view-id>/page.jsp</to-view-id>
</navigation-case>
But nothing change in portlet...
An idea ?
--
Yves Deschamps
CRI Pôle Web, Environnement Numérique de Travail
Bâtiment M4
Tel : 03 20 43 41 89
Fax : 03 20 43 66 25