After reading sone "noise"  ;-)   on Matt Raibles blog:

public interfce Action { //"DispatchAction", like if parm="save" it would call "onSaveExec(ctx), that would do FormModel.save();
public void execute(Context ctx); // poulate maped form and put results in ctx
}


public interface FormModel extends "Dyna"Collections, Iterator { // so anything can be a form, like maps and collections(for an index of maps) and use DyanProperties for View layer, Beans[], wrapers
public void populate(Context parms) throws Exception;
public void validate();
public DynaObjectProertyThing get(String name);// get property named in current row/index
public Class getFiledMetaData(String name); // what should the class of this field be, for nulls, etc.
public boolean hasNext(); // is this multi row...
public void next(); //next row in index


}

bP does similar to this, except not interfaces. Let the rock throwing being... (at the idea, not me!)

.V


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



Reply via email to