From: "Scott Eade" <[EMAIL PROTECTED]>
> I think I now have enough knowledge to go away and build
> my application.  Well almost, I think I need to read a bit more
> about the pull model before I jump in there.

Okay John.  From the Javadoc it looks like you are the best
person for my follow up question on pull - specifically OMTool.
Responses from anyone else are of course welcome.

Reading the Javadoc it looks like instead of having a Form 
action I should instead be able to do this:

    #set ( $entry = $om.get("Subject", $data.getParameters().get("subjectid")) )

Which I could then map to intake as I did before.

Later I could still use an action (SaveForm.vm in my running 
example) to save the Subject back to the database.

The invocation of get() above however results in a null pointer 
exception.  Am I doing something wrong with OMTool?
I can imagine needing to initialise it first and perhaps obtain an
instance of OMTool from a pool, but I am a little unsure.

Also, I am looking at this as a way to use pull rather than actions.
Is it conceivable that a pull tool might be used to update the 
database as well (sort of more like push)?

Thanks,

Scott




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

Reply via email to