velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis <brede...@mac.com>
Subject Re: send textfield value with addPathInfo() ?
Date Thu, 20 Mar 2003 12:14:21 GMT
Leina,

What is addPathInfo? Is it a Java method?

If so, you need to have an instance of the class in the context, and do:

$myclass.addPathInfo("YYYY", $request.getParameter("YYYY"))

(I don't know if $request.getParameter exists in your context, it's 
just to give you an idea)
Cheers,

-- Denis.

On Thursday, March 20, 2003, at 12:02  pm, Leina Last wrote:

>
> Hi
>
> I will appreciate if someone PLEASE can help me.
>
> I have a text field like <input type="text" name="YYYY" value="2003"> 
> and would like to send the value of YYYY to a servlet, making use of 
> addPathInfo().
>
> I tried something like addPathInfo("YYYY",YYYY.value), I also tried 
> calling a javascript something like addPathInfo( "YYYY",getYearValue() 
> ). None of these work.
>
> How can I manage to send a value from a text field making use of 
> addPathInfo() ?
>
> Thank You
>
> L
>


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message