John McNally - Did you miss my query below concerning
OMTool usage? I was hoping you might be able to help
me along just a little bit more.
Thanks in advance,
Scott
----- Original Message -----
From: "Scott Eade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 23, 2001 9:29 PM
Subject: Re: intake problems
> 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]