I
think the problem is the "id" property on the ActionTag itself. From the
ActionTag:
private Map createExtraContext()
{
Map extraContext = Ognl.createDefaultContext(this); // Leave the ValueStack out --
We're not processing inside the
tag
// OgnlValueStack vs = ActionContext.getContext().getValueStack(); // extraContext.put(ActionContext.VALUE_STACK, vs); Map parentParams = ActionContext.getContext().getParameters(); Map newParams = (parentParams != null) ? new HashMap(parentParams) : new HashMap(); if (params != null)
{
newParams.putAll(params); }
extraContext.put(ActionContext.PARAMETERS, newParams);
Patrick, this would cause "id" to be in the extraContext, which would
cause this problem when setting the params, right? Also, why are we leaving out
the ValueStack? Don't we want to pass the ValueStack? We could pop the Action
off afterwards if necessary...
Jason
|
Title: Message
- RE: [OS-webwork] Request parameters not being set Jason Carreira
- Re: [OS-webwork] Request parameters not being set Chris Widhelm
- RE: [OS-webwork] Request parameters not being set Jason Carreira
- Re: [OS-webwork] Request parameters not being ... Chris Widhelm
- RE: [OS-webwork] Request parameters not being set Jason Carreira
- Re: [OS-webwork] Request parameters not being ... Chris Widhelm
- Re: [OS-webwork] Request parameters not being set Jason Carreira
- Re: [OS-webwork] Request parameters not being ... Chris Widhelm
- Re: [OS-webwork] Request parameters not being ... Pat Lightbody
- [OS-webwork] ActionTag wipes out own Actio... Frederick N. Brier
- Re: [OS-webwork] ActionTag wipes out o... Frederick N. Brier
- Re: [OS-webwork] ActionTag wipes out o... Michal Mosiewicz
- Re: [OS-webwork] ActionTag wipes ... Frederick N. Brier