Hello!
I haven't solve my problem with Intake yet. I'll try to explain more
clearly what's going on.
I have an action object:
public class MeetingFormAction extends VelocityPortletAction {
protected void
buildNormalContext(org.apache.jetspeed.portal.portlets.VelocityPortlet
velocityPortlet, org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData runData) {
IntakeTool intake = (IntakeTool) context.get("intake");
System.out.println(intake);
...
}
public void doInsert(RunData rundata,
org.apache.velocity.context.Context context) throws Exception {
try {
IntakeTool intake = (IntakeTool)context.get("intake");
System.out.println(intake);
...
}
catch (Exception ex) {
ex.printStackTrace();
}
}
}
In first method (buildNormalContext) context.get("intake") returns a
proper object, but I really need it in doInsert method. There
context.get("intake") returns null.
What to do?
I can't store it in buildNormalContext, because when event doInsert is
invoked, there is a new object created.
Thanks for any help
Łukasz Olek
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>