cancel
Showing results for 
Search instead for 
Did you mean: 

Popup Screen

Former Member
0 Kudos

Hi,

I have a requirement like this.

My iView has a tableview control. I have to implement

onCellClick event for one of the columns and then

bringup a popup page which has to display more data

based on the cell clicked. Can anyone tell me how

to implement this. Can I have a second JSP page in

the same project which I can show as popup or do I

have to create a seperate iView and capture the event

across the iViews ?

Refrence to good documentation would be appretiated.

-Sudheer

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

And, how do I pass the cell value(as parameter) from Parent page to Popup page?

-Sudheer

Former Member
0 Kudos

Create another componet and do the following in your method for the onCellClick event.

PortalComponentRequest request =(IPortalComponentRequest) this.getRequest();
PortalComponentResponse response =(IPortalComponentResponse) this.getResponse();
IPortalComponentURI componentURI = request.createPortalComponentURI();
// your new component name
componentURI.setContextName("com.ust.popup.display");
response.write("<script>window.open('" + componentURI.toString(); + "')</script>");