1 Reply Latest reply on Feb 17, 2009 9:19 AM by Nick Belaevski

    How to open & update child window fields from commandLink af

    jegan Newbie

      Hi all,

      My use case is: In parent window there is a datatable display with record's and each row is having hyper link(commandLink). on click of that link i need to call the action (getRecordDetails) and show the selected record details in a child window.

      I tried using the " rich:modalPanel " by showing and hiding using Richfaces.showmodalPanel().
      since there are lot's of comboboxes and fields are there in popup page i don't want to load all when the parent page rendered.

      If i do in this way.

      <a4j:commandLink action="#{Controller.getRecordDetails}"
      oncomplete="window.open('recordDetailPage.jspx');"> Detail

      I am able to call the action and get the record details but after that how to display those details in child window?

      I am using Richfaces 3.3 and A4J with JSF

      Please tell me how to achieve this scenario.

      Thanks in Advance.