Hi All,
we have recently upgraded to JSF 1.2 for which the myfaces and Trinidad
jars have been upgraded to
myfaces-api-1.2.6.jar,
myfaces-impl-1.2.6.jar,
trinidad-impl-1.2.11.jar and
trinidad-api-1.2.11.jar
previously we were using
myfaces-api-1.1.5.jar
myfaces-impl-1.1.5.jar
trinidad-api-1.0.10.jar
trinidad-impl-1.0.10.jar
After the Upgrade below code snippet is not working on the upgraded
environment
On a parent page by clicking a button opens a pop-up window and the
window lists all the Groups (java bean objects), below code is doing
that functionality
<tr:table var="row" id="id11" emptyText="sample" width="100%"
rows="#{sampleBean.pageSize}"
binding="#{createNewUserBackingBean.groupsTableForDialog}"
value="#{sampleBean.groupsList}" rendered="#{sampleBean.groupsList !=
null}">
<tr:column width="15%" >
<f:facet name="header">
<tr:outputText id="id12" value="groupName"/>
</f:facet>
<tr:commandLink id="p_803_chooseGroupPopupId8" text="#{row.name}"
actionListener="#{sampleBean.selectGroup}" >
<tr:setActionListener from="#{row}"
to="#{pageFlowScope.selectedGroupName}" />
</tr:commandLink>
</tr:column>
</tr:table>
in the above code, setting of 'row' in to the 'pageFlowScope' is not
working and if i try to retrieve that value in the action listener
method(sampleBean.selectGroup) it is returning the NULL value.
below is the code retrieving the objec from the pageflowscope :
Object obj=
RequestContext.getCurrentInatance().getPageFlowScope().get("selectedGrou
pName");
obj is a null value.
the same code is working fine with my old environment
i would really appreciate if you could help me in solving this problem.