Hello to everyone, 

How can i get the value of the checkbox to use in my Actions? I am using 
appfuse 1.9.4 and using Webwork. This are my sample jsp code:]

<display:table name="imageList" cellspacing="0" cellpadding="0" requestURI="" 
style="width:100%"
    id="imageList" pagesize="<%=pageSize%>" class="table" export="false" 
decorator="genericDecorator">

    <display:column title="<center><input type='checkbox'
                                  style='text-align:center'
                                  name='selectall'
                                  onclick='checkUncheckAll(this);'/></center>"
                    style="text-align:center;" >


        <input type="checkbox" name="ids" value="id">


    </display:column>
......
</display:table>



I cant see the value of my checkboxes when I use this code to verify the values 
of what I checked:


private List ids;

public List getIds() {
    return ids;
}

public void setIds(List ids) {
    this.ids = ids;
}

public String delete() {
        for(Iterator i = this.getIds().iterator(); i.hasNext(); ){
            System.out.println("IDs: " + this.getIds().iterator().next());
            i.next();
        }

        .......
}



I also used these in my jsp but it didnt work:

<ww:checkbox name="ids" fieldValue="id" />
<ww:checkbox name="ids" fieldValue="${imagelist.id}" />



How can I get the value of checkboxes that I checked?

Thanks in advance...


Adriel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to