Once again I really don't understand the suggestion. I will try and explain my situation with more clarity. Sorry for the first post not explaining very well.
In my jsp I use JSTL to populate a table with four columns. Column one is the document index which appears as a button with the value set to the index number, so authorized users can click and edit the document. The second column has part number, third is description. For the fourth column I want to put a link in each row appearing as view/print. When the user clicks this link the document will open as a printable document.
So when the JSTL runs on the page load I check the column number. If it equals 3 I put:
id="${itemArrayList}" href="javascript:viewprint(this.id)"
My function is(for
test)
function viewprint(wValue)
alert(wValue)
Now after the page loads and I click on one of the links I get undefined.
I hope this makes sense.