In the intake service document located at:
http://jakarta.apache.org/turbine/turbine-2/services/intake-service.html
There is an example of java code that makes use of intake; partially clipped 
here...

-----------------------------------------

public void doLogin( RunData data, Context context ) throws Exception
{
    IntakeTool intake = (IntakeTool)context
        .get(ScarabConstants.INTAKE_TOOL);

    if ( intake.isAllValid() && checkUser(data, context) )
    {
        String template = data.getParameters()
            .getString(ScarabConstants.NEXT_TEMPLATE,
            TurbineResources.getString
            TurbineResources.getString("template.homepage", "Start.vm") );
        setTemplate(data, template);

...
}

-----------------------------------------

When grabbing an instance of the intake tool, there is a reference to 
"ScarabConstants.INTAKE_TOOL."

Question: Obviously I have no ScarabConstants defined. Is this actually 
"[MyProj]Constants.INTAKE_TOOL"

OR
???

Thanks
-JP




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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

Reply via email to