You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Stuart Townhill <st...@townhill.net> on 2003/03/09 15:34:34 UTC

Out Of The Box Flux

To anyone who can help,
 
I am still making my way through understanding the various parts of
Turbine. I noticed that in the TDK sample app there is some attempt to
display an error message back to the user if not all the details are
given "FluxMissingRequiredInputs.vm". The Velocity template
"FluxUserForm.vm" uses the quiet reference notation but it appears that
a new user must be created once selecting add user and all the values
are pre-populated with values such as "$value" then if you try to insert
the user with a missing first and last name no error message appears and
the following values are transferred to the database "$!user.FirstName,
$!user.LastName".
 
I also noticed this code at  the bottom of the template so possibly this
is an unfinished functionality?
<!-- this gives an error !FIXME!
    <input type="hidden" name="userid" value="$!user.UserId"/>
-->
Any incite into how this functionality is used would be much
appreciated.
 
Regards,
 
Stuart Townhill.