You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Steven Yang <ke...@gmail.com> on 2011/03/15 10:35:34 UTC

Re: Unable to pass a date as a parameter a action

try setting devMode=true and set logging to DEBUG and see what message you
get

On Sat, Mar 12, 2011 at 2:59 AM, Jainitya <ja...@gmail.com>wrote:

>
> Hi I have to pass  a parmeter to action
>  <s:url action="DailyShopStockChart" id="url">
>              <s:param name="date" value="date"/>
>  </s:url>
> Now the Problem is : this code is unable to call the
> action"DailyShopStockChart"
> //Output URL on web:/LSMS/DailyShopStockChart.action?date=2011-01-01
>
> if i  remoove the {<s:param name="date" value="date"/>}
> I am  able to call the action.
> //Output URLon web:/LSMS/DailyShopStockChart.action
>
> If I change this Param "shopLog.dateSubmit" with "shopmaster.idShopMaster"
> then it also call the action with idShopMaster
> //Output URLon
> web:/LSMS/DailyShopStockChart.action?shopmaster.idShopMaster=1
>
>
> Could you please help me  to pass this date as an parameter to this action
> --
> View this message in context:
> http://old.nabble.com/Unable-to-pass-a-date-as-a--parameter-a-action-tp31127824p31127824.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>