Skip to Content
author's profile photo Former Member
Former Member

link to java function within pdv column?


does anybody know how to implement an onClick()-Event within a PDV-Column?

I use the PDVJspDynPage API and tried the following:

protected void afterPdvExecuteSource(IDataViewer pdv)


// get data from PDV object



IData myData = pdv.getData();

// add a new column displaying status icons

IFieldInfoItem fieldInfo = myData.addColumn("DETAILS");






// set values for images by providing URLs

for (int i = 0; i < myData.getRowCount(); i++)


DataString linkURL = new DataString("detailImageClick");

DataString detailPicURL =

new DataString(productCatalogSegmentBean.getCmPath() + "details.jpg");

myData.setValue(i, "DETAILS", detailPicURL);

myData.setValue(i, "DETAILS_URL", linkURL);


linkURL:" + linkURL + "




catch (SourceException ex)





The link is working but opens a blank page which tries to open the page "detailImageClick" instead the onDetailImageClick() function... any ideas?

Cheers Jens

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2004 at 01:04 PM

    ... in other words... how can I create a Link in the Java Code which calls the Java Function from the JSP Page? cheers Jens.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.