Search code examples
javascriptdisplaytag

how to open popup window in Display tag column link


How to open popupwindow while clicking on Display tag column.

I have popupSmallWindow(this, 'update') javascript to open the popup. i need to call this from display tag.while clicking this below column.

paramName  = "propertyTypeId"
Value = propertyType.propertyTypeId
action= editType.action

And need to call popupSmallWindow(this, 'update')

<displayEL:column property="propertyType.propertyTypeName" 
                        titleKey="common.propertytype" sortable="true" style="width:30%" />

Solution

  • You're going to have to write Javascript code to find the column(s) after the page loads. Give the column a class value like "popupHere", and then in your "load" handler you can add a click handler to the cell.