• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

error onclick of radio button inside display tag  RSS feed

 
Ranch Hand
Posts: 32
  • 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 can't beleive you just said that. Now I need to calm down with this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!