Any chance you can send us the (source) code for this sample so I can
look through it and try to see what might be wrong?
Also can you clarify what your problem is? Are you saying that it only
runs as a servlet and not as a portlet? I.e. you can register the
portlet but it never renders? Or are you saying that it runs as a
portlet and generally works though after refreshing a page the actions
on the page don't work? It sounds liek the later but your statements at
the beginning of the message are confusing....
Also, what version of the bridge are you using? alpha2? Any chance you
can build a version from the main trunk?
(http://svn.apache.org/repos/asf/myfaces/portlet-bridge/core/trunk) as
we are just about to release this version as 1.0.0 and hence has many
bug improvements since alpha2.
Finally, when the action isn't navigating are you seeing any additional
information being output to the log? Maybe you can send the log along
as well?
-Mike-
On 6/8/2010 7: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 ?