Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error onclick of radio button inside display tag

 
Guna sekar
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Below is the display tag code


<tr>
<td width="100%" colspan="3">
<display:table export="false" id="admin" class="displaytag"
name="requestScope.adminConsoleForm.businessList" style="width:100%"
pagesize="1" >
<display:column style="width:4%" title="Id" sortable="true" >
<html:hidden name = "adminConsoleForm" property="hidAdminId"/>
<input type="radio" name="optnSelect" value="${admin.sbuId}" onClick="populateValues('${admin.sbuId}');"/>
<%--<html:radio name="adminConsoleForm" property="optnSelect" value="${admin.sbuId}" onclick="populateValues('${admin.sbuId}', '<bean:write name="adminConsoleForm" property="adminConsoleTitle"/>');"></html:radio>
--%></display:column>
<display:column style="width:6%" property="status" title="Status" sortable="false" />
<display:column style="width:10%" property="adminConsole" title="SBU" sortable="true" />
<display:column style="width:18%" property="description" title="Description" sortable="true" />
<display:column style="width:12%" property="createdBy" title="Created By" sortable="true" />
<display:column style="width:18%" property="createdDt" title="Created Dt." sortable="true" />
<display:column style="width:14%" property="lastModifiedBy" title="Last Modified By" sortable="true" />
<display:column style="width:18%;" property="lastModifiedDate" title="Last Modified Dt." sortable="true" />

</display:table>

onclick of radio button i m getting script error"object expected". Actually it will call a script method and an alert should be dispalyed to the user. but it is not working.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic