Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • 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
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!