[Need Urgent Help] Problem with LookupDispatchAction

2003-09-28 Thread Rajesh M Vasudevan
Hi, I was following the link http://jakarta.apache.org/struts/api/org/apache/struts/actions/LookupDispatc hAction.html to implement multiple submit buttons mapped to the same Action Bean. I couldnt achieve the same. Here is a step by step account of what I did: 1.struts-config.xml action

Re: [Need Urgent Help] Problem with LookupDispatchAction

2003-09-28 Thread Rajesh M Vasudevan
Hi all, Eventhough I didnt miss it in my actual implementation, I missed to put the property=action in the jsp tag. Still the mechanism doesnt seem to work :-( So, the updated JSP would be nested:submit property=action bean:message key=button.Store//nested:submit Any feedbacks? -Rajesh Hi, I

Re: Need Urgent help

2002-06-14 Thread Richard Yee
Rayaku, What do you expect the tag to do if the method returns a null value? The logic tag documentation specifically states that the property cannot be null. Why don't you change the bean so it doesn't return a null result? Regards, Richard At 08:10 PM 6/25/2002 +0530, you wrote: Hi, I have

Re: Need Urgent help

2002-06-14 Thread Roy Truelove
Why don't you change the bean so it doesn't return a null result? You can also wrap the whole thing in a logic:notEmpty tag, so that the equal tag will not be evaulated if your property is null. Regards, Richard At 08:10 PM 6/25/2002 +0530, you wrote: Hi, I have a problem in using

Need Urgent help

2002-06-13 Thread Yaman Kumar
Hi, I have a problem in using logic:equal tag given below logic:equal name=beaninstance property=method value=A DO SOME. /logic:equal This code is working fine when it is not null. But when ever it { beaninstance.getMethod() } is becoming null, page is getting exception as below...

RE: Need Urgent help

2002-06-13 Thread Leonardo Maciel
Mailing List Subject: Need Urgent help Hi, I have a problem in using logic:equal tag given below logic:equal name=beaninstance property=method value=A DO SOME. /logic:equal This code is working fine when it is not null. But when ever it { beaninstance.getMethod() } is becoming null, page

RE: Need Urgent help

2002-06-13 Thread Rajesh Kalluri
- From: Yaman Kumar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 10:40 AM To: Struts Users Mailing List Subject: Need Urgent help Hi, I have a problem in using logic:equal tag given below logic:equal name=beaninstance property=method value=A DO SOME. /logic:equal This code is working

Re: Need Urgent help

2002-06-13 Thread Bharat Nagwani
use logic:present as a wrapper At 08:10 PM 6/25/2002 +0530, you wrote: Hi, I have a problem in using logic:equal tag given below logic:equal name=beaninstance property=method value=A DO SOME. /logic:equal This code is working fine when it is not null. But when ever it {