Actions have access to the HTTP request, and therefore the request parms.
Put the following code in:
import org.apache.cocoon.environment.Redirector;
import org.apache.cocoon.environment.SourceResolver;
import java.util.Map;
import org.apache.avalon.framework.parameters.Parameters;
import org.apache.cocoon.environment.Request;
import org.apache.cocoon.Constants;
public class
YourAction extends AbstractComplementaryConfigurableAction {
public Map
act( Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters params) {
Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT);
String yourParmVal = request.getParameter("your_parm");
}
}
HTH.
DR
At 11:43 AM 12/19/01 -0500, you wrote:
>Ok thanks ill try that. Now for the variables that are passed from the
>login how would i include this in my action?
>
>------------------------------------------------------------------------
>//////| Dwayne A. Kemp //////// |
>////////| [EMAIL PROTECTED] //// "if the gospel be hid it is hid |
>//////////| 732 932 3938 ////// to those that are lost" |
>////////////| Programmer /////// |
>_______________________________________________________________________|
>
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>