• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

error onclick of radio button inside display tag

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic