2
Fork 0

[svn r382] hacked jsf frontend working

This commit is contained in:
willemc 2009-08-11 20:31:29 +02:00
parent 37fdf22282
commit 9a605f177a
123 changed files with 7035 additions and 2418 deletions

View file

@ -37,15 +37,18 @@ import com.idcanet.vasc.core.actions.RowVascAction;
*/
public class AddRowAction extends AbstractVascAction implements RowVascAction {
public AddRowAction() {
setId("addRowAction");
setName("vasc.action.add.name");
setToolTip("vasc.action.add.tooltip");
setImage("vasc.action.add.image");
static public final String ACTION_ID = "addRowAction";
protected String getActionId() {
return ACTION_ID;
}
public void doRowAction(VascEntry enty,Object rowObject) throws Exception {
enty.getVascFrontendData().getVascFrontend().renderEdit(null);
public void doRowAction(VascEntry entry,Object rowObject) throws Exception {
entry.getVascFrontendData().setEditCreate(true);
Object object = entry.getVascFrontendData().getVascFrontendHelper().createObject(entry);
entry.getVascFrontendData().setEntryDataObject(object);
entry.getVascFrontendData().getVascFrontend().renderEdit();
}
/**