Yves, The problem here is that we want the portlet bridge to work as close to the servlet case as possible. Mike, let me see if I can come up with a usecase based on Yves' info and I'll geberate a jira .
On Friday, June 11, 2010, Yves Deschamps <[email protected]> wrote: > Thank you Michael > 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> > > > Michael Freedman a écrit : > > 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 ? > > > > > > -- > 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 > >

