File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes error onclick of radio button inside display tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "error onclick of radio button inside display tag" Watch "error onclick of radio button inside display tag" New topic
Author

error onclick of radio button inside display tag

Guna sekar
Ranch Hand

Joined: May 18, 2010
Posts: 32
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
 
subject: error onclick of radio button inside display tag
 
Similar Threads
Question on using DisplayTag in JSPs
Internationalization of display tag
s:radio and display tag
maintin checkbox stauts during paginatin(dispalytag)
How to assign value to a Radio button in <display:column> tag