Hi,

 

 

I've just started working on struts 2. 

 

I have a table with check boxes in a matrix kind of a view. Here depending
on the database values some checkboxes are initially checked and the
remaining are unchecked.

When I check an unchecked box then I get a 'failed to load remote content
error'. Here is the code:

 

<td align=center>

<s:if test="${value} == 1">

                        <s:checkbox id="permissions" name="permissions"
value="true" fieldValue="${moduleName}.${key}" theme="simple"/>

            </s:if>

            <s:if test="${value} == 0">


                        <s:checkbox id="permissions" name="permissions"
value="false" fieldValue='${moduleName}.${key}' theme="simple"/>

            </s:if>

</td>

 

Here the fieldValue is used later to keep track of all the checked boxes.

 

Any help would be much appreciated.

 

 

Yours truly,

Vivek.


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Pvt. Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Pvt. Ltd. does not accept any liability for virus infected mails.

Reply via email to