Hi Nikhil,

In Turbine 2.1 (don't know if same for 2.2), the form fields gets
populated by the call to $intake.some_group.mapTo($businessObject). e.g.
in your .vm file you might have something like this:

#set($loginGroup = $intake.LoginGroup.mapTo($loginObject))

where
- $loginObject is your populated business object.
- and $loginGroup is the intake group, with populated fields from
  $loginObject.

Or search in the mail archives for "prepopulate" and "intake".

ParameterParser is just another way for you to get at the params in the
request.

Hope this helps,
Dan

On Fri, 17 May 2002, Nikhil G. Daddikar wrote:

> When there is an error i.e. when intake.isAllValid is false, i re-show the orginal 
>form as described in the Intake HowTo. However
> when I print something like
>
> $docGroup.Name when field Name was actually set correctly it still returns blank. 
>Doesn't the group automatically get populated from
> the parameter parser?
>
> Thanks for any input.
> Nikhil
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>


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

Reply via email to