I am using IBM RSA at work :) I dont use trinidad.
here is commandlink code :
<t:dataList id="data4" styleClass="standardList"
var="service"
value="#{pc_TsontPage.services}"
layout="unorderedList"
forceId="true">
<h:commandLink id="link"
actionListener="#{pc_TsontPage.openServices}" onclick="window.open('
services.jsp')" >
<h:outputText value="#{service.browserText}" />
<f:param name="name" value="#{service.fillerText
}"/>
</h:commandLink>
</t:dataList>
pc_ServicesPage belongs to services.jsp.
murat
On Dec 5, 2007 12:44 AM, Cagatay Civici <[EMAIL PROTECTED]> wrote:
> pagecode and beans with pc_prefixes, I sense ibm's rsa tool here:)
>
> How do you define the commandlink and open the popup in the jsf page?
>
> Also see trinidad dialog framework if you are using Trinidad by any
> chance.
>
> Cagatay
>
>
> On Dec 4, 2007 11:53 PM, murat aydin <[EMAIL PROTECTED]> wrote:
>
> > Here it is :
> >
> > <managed-bean>
> > <managed-bean-name>pc_ServicesPage</managed-bean-name>
> >
> > <managed-bean-class>obrowse.ontology.pagecode.ServicesPage</managed-bean-class>
> >
> > <managed-bean-scope>session</managed-bean-scope>
> > </managed-bean>
> >
> > murat
> >
> > On Dec 4, 2007 7:56 PM, Simon Kitching < [EMAIL PROTECTED]>
> > wrote:
> >
> > > ---- murat aydin < [EMAIL PROTECTED]> schrieb:
> > > > Hi,
> > > >
> > > > I am setting a backing bean's attributes on an action of
> > > commandLink.
> > > > Commandlink opens a popup and the backing bean that i set its
> > > attributes
> > > > belongs to that popup page.
> > > > The values that i set to bean's attributes doesnt appear on the
> > > popup page.
> > > > When i do a refresh on the popup page, the new values appear.
> > > >
> > > > Here is the action code:
> > > >
> > > > public void openServices(ActionEvent event){
> > > > FacesContext context = FacesContext.getCurrentInstance();
> > > > Map map = context.getExternalContext().getRequestParameterMap();
> > >
> > > > String name = (String) map.get("name"); //parameter sent
> > > from
> > > > commandLink
> > > >
> > > > FacesContext.getCurrentInstance
> > > > ().getExternalContext().getSessionMap().remove("pc_ServicesPage");
> > > > ServicesPage bean = (ServicesPage) context.getApplication()
> > > > .getVariableResolver().resolveVariable(context,
> > > > "pc_ServicesPage");//Backing bean of popup page
> > > >
> > > > bean.setClassName(name); // new value is set, although it is
> > > updated
> > > > it show old value
> > > >
> > > > }
> > > >
> > > > How can i force to show new values on the popup page? Thanks in
> > > advance.
> > >
> > > What does your managed-bean declaration for pc_ServicesPage look like?
> > >
> > > Regards,
> > >
> > > Simon
> > >
> >
> >
>