struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fea jabi" <zy...@hotmail.com>
Subject Re: href
Date Mon, 06 Feb 2006 13:58:39 GMT
can anyone helpme with this please?

Thanks.


>From: "fea jabi" <zyxrm@hotmail.com>
>Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
>To: user@struts.apache.org
>Subject: Re: href
>Date: Fri, 03 Feb 2006 14:07:24 -0500
>
>thanks for responding
>
>now gave
><a href="DispatchCust.do?method=delete&row=${row}">
>            <bean:message key="delete" property="method"/>
></a>
>
>My lookupaction does have the mapkey
>
>    protected Map getKeyMethodMap() {
>        Map map = new HashMap();
>        map.put("btn.save", "save");
>        map.put("btn.return", "returnDep");
>        map.put("delete", "deleteCust");
>        return map;
>    }
>
>but Now getting the below error.
>
>missing resource 'delete' in key method map
>
>What else is missing?
>
>Thanks.
>
>
>
>
>>From: Michael Jouravlev <jmikus@gmail.com>
>>Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
>>To: Struts Users Mailing List <user@struts.apache.org>
>>Subject: Re: href
>>Date: Fri, 3 Feb 2006 10:18:57 -0800
>>
>>On 2/3/06, fea jabi <zyxrm@hotmail.com> wrote:
>> > Have an a link in my JSP. When user presses the link I would like to 
>>delete
>> > that row in the LookupDispatchAction.
>> >
>> > I tried to do this using the below code.
>> >
>> > But getting error
>> > javax.servlet.ServletException: Request[/DispatchCust] does not contain
>> > handler parameter named 'method'.  This may be caused by whitespace in 
>>the
>> > label text.
>> >
>> > can I use the <bean:message> for this?
>> >
>> > Or is there a better way to do this?
>> >
>> > need to pass the row attribute
>> >
>> >
>> >                      <a href="DispatchCust.do?row=${row}">
>> >                         <bean:message key="delete" property="method"/>
>> >                     </a>
>> >
>> > Thanks.
>>
>>Try this: <a href="DispatchCust.do?method=delete&row=${row}">...</a>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>For additional commands, e-mail: user-help@struts.apache.org
>>
>
>_________________________________________________________________
>Express yourself instantly with MSN Messenger! Download today - it's FREE! 
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


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


Mime
View raw message