Mulligan, Scott H wrote the following on 4/19/2005 9:51 AM:
<td><input type="image" src="images/EditIcon.gif" alt="Add/Edit External
Note" onClick="showExtNoteModal('<nested:write
property="pendingExtNote"></nested:write>', '<%= rowIndex.toString() %>','editExternalNote')"/></td>
The problem is the dastardly single quote embedded in the nested:write
property, for example (Chris's Test Note).
Have you tried:
onClick='showExtNoteModal("<nested:write property='pendingExtNote' filter='false'/>","<%= rowIndex.toString() %>","editExternalNote")'/></td>
I'm not positive if changing the quotes around will work but it should, although you might have the problem then if they have " in the text. Usually the html conversion is what I want. Depends what I need to do.
By the way you can replace the scriplet for <%= rowIndex.toString() %> with a bean:write also. Not sure what you are using for your loop though. Are you using logic:iterate or c:forEach ?
-- Rick
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]