Greets,

I've got a basic understanding of Intake from reading the HowTo, but
since I'm doing JSPs and don't know Velocity I'm still quite in the
dark.  For starters I'd be super appreciative if someone could do some
basic explaining.

As my subject line implies, I'm using JSPs.  I'm also NOT using Torque,
although this apparently isn't a problem as long as I implement the
Retrievable interface.  My confusion is around the basic usage of Intake
for validation and how the mapping of objects occur.

More specifically: 

1) What is the syntax for using Intake to validate in a JSP?  I've seen
how Velocity uses it but this doesn't help.

2) Mapping is a complete mystery to me.  I understand java beans.  I
don't understand the "correct" or "best practice" way to, via a JSP page
created in Turbine, to: 
        a) create a new instance of a biz object implementing
get/set/retrievable and set it's properties to values entered in said
webpage (plus: where does this biz object go after creation? what does
the actual setting of values?)

        b) how to pick a specific, existing instance of a biz object
implementing get/set/retrievable, display it's values in a web page,
then reset those values to whatever changes were made in the webpage
(plus: how did we get the ref to the object? what sets the values?)

I did check out the intake.xml and undertand that a group's mapToObject
attribute specifies the class, and that a field's key says what the html
input field's name will be.  But I'm still missing some fundamental
pieces to understand the whole picture.

thanks A TON,
+jeff

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

Reply via email to