Re: Preparable, Type conversion and parameter

2007-06-29 Thread Nicolás Pace
On 6/25/07, Mansour <[EMAIL PROTECTED]> wrote: Dave Newton wrote: > --- Mansour <[EMAIL PROTECTED]> wrote: > >> I am trying to extract an int in the prepare method. >> I am not able to cast it. This is an example of >> > what > >> I am trying to do: >> >> Map parameters = >> ActionContext.getCon

Re: Preparable, Type conversion and parameter

2007-06-25 Thread Dave Newton
--- Mansour <[EMAIL PROTECTED]> wrote: > Like what. Please tell me a place where I can get > this resolved. :) You think I didn't look? I'm not really sure. This is pretty basic HTTP / HttpServletRequest stuff. (That was a clue... as was the exception.) If each key is mapped to a String array, t

Re: Preparable, Type conversion and parameter

2007-06-25 Thread Mansour
Dave Newton wrote: --- Mansour <[EMAIL PROTECTED]> wrote: I am trying to extract an int in the prepare method. I am not able to cast it. This is an example of what I am trying to do: Map parameters = ActionContext.getContext().getParameters(); Integer task_id = (Integer) paramet

Re: Preparable, Type conversion and parameter

2007-06-25 Thread Dave Newton
--- Mansour <[EMAIL PROTECTED]> wrote: > I am trying to extract an int in the prepare method. > I am not able to cast it. This is an example of what > I am trying to do: > > Map parameters = > ActionContext.getContext().getParameters(); > Integer task_id = (Integer) > parameters.get("task.id");

Preparable, Type conversion and parameter

2007-06-25 Thread Mansour
I am trying to extract an int in the prepare method. I am not able to cast it. This is an example of what I am trying to do: Map parameters = ActionContext.getContext().getParameters(); Integer task_id = (Integer) parameters.get("task.id"); I wanna try to avoid using Type conversion. This