From: "Warner Onstine" <[EMAIL PROTECTED]>
> Ok,
> I have been all through the intake docs and through the scarab stuff and
> have not found a way to do this just in intake so please correct me if I am
> wrong. I have also tried doing this through the OMTool with no success.
> 
> I want to be able to pass an id to a form and then be able to pre-populate
> the form with the available information. Now, scarab uses a special tool
> that it puts into the context with which you can retrieve instances of the
> Peers needed via their id or name in some cases.
> 
> Is there a way to just do this via Intake or the OMTool that I am missing?
> 
> -warner

The sample app that comes with the tdk provides a fine example
of retrieval of data and population of a form.  It retrieves the
data using a screen class, where as I assume Scarab uses a pull
tool of its own devising.  Pull tools are incredibly easy to write
once you realize they are simply a way of making a bunch of 
methods for data retrieval always available (via the tool name
you define in TR.props).

I gather that OMTool is not working and may even be removed.

The sample app doesn't use intake, which does server side
validation.  This is a little tricky to use at the moment, but with a bit 
of effort you can make it work.  Check the mailing list, a number
of intake issues have been covered in the last couple of weeks.
Be careful with the docs - the intake ones contain a number of 
inaccuracies, many of which can be worked out by looking at
the intake.dtd included with the tdk.

In short, you don't need intake or OMTool to do what you are 
after and the example application that is included with the tdk
clearly shows you how to do it.

Scott



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

Reply via email to