I working on a project which requires deletion of a record from a collection.I would like to mark the row with the record to be deleted and click on a delete button to delete the record.I have considered the RemoveSelectedInCollectionAction.java in openxava to help me out.However, if I use the action Iget this error
Impossible to execute Completed action: It's required that the View represents a collection in order to call method getCollectionSelectedValues()
Hie everyone
I working on a project which requires deletion of a record from a collection.I would like to mark the row with the record to be deleted and click on a delete button to delete the record.I have considered the RemoveSelectedInCollectionAction.java in openxava to help me out.However, if I use the action Iget this error
Impossible to execute Completed action: It's required that the View represents a collection in order to call method getCollectionSelectedValues()
This is my class
package org.openxava.billing.model;
import java.math.;
import java.util.;
import javax.persistence.*;
import org.openxava.annotations.;
import org.openxava.billing.actions.;
import org.openxava.billing.annotations.;
import org.openxava.billing.model.Bilmat.;
import org.openxava.billing.model.DiaryDetails;
@Entity
@Table(schema="cli", name="matdet")
//@Tab(properties="bilmat.matid, bilmat.mdesc")
@View(members="MatterDescription ["+
"matid;" +
" ];" +
"details"
)
public class DiaryEnquiry {
}
Any help is well appreciated
Thanks regards
Hi Francis,
Maybe I don't understand well, but the feature you're developing are provided by OpenXava out-of-the-box.
Help others in this forum as I help you.