my apologies, though I
> hope you understand what I was getting at :).
>
> If this WAS the case, since you're not using EL, feel free to remove the
> lines I gave you in an earlier post,
>
>
>
>
>
> As you don't need them.
>
> - Scott
>
>
>
mosho wrote:
Hi Scott,
I added a unspecified() method in my action class and it works now.
I am not able to understand though how it is working, unspecified() is
called when parameter name doesn;t exist, right?
I have a parameter name= navigation and its value is shown as {submitText}.
But it c
On 8/23/06, mosho <[EMAIL PROTECTED]> wrote:
I am assuming it is calling unspecified() because it is not able to find
the key name {submitText}
Instead of assuming you can verify it. If you are using Firefox,
LiveHTTPHeaders is invaluable plugin for HTTP traffic sniffing.
On 8/23/06, mosho <[EMAIL PROTECTED]> wrote:
I added a unspecified() method in my action class and it works now.
I am not able to understand though how it is working, unspecified() is
called when parameter name doesn;t exist, right?
I have a parameter name= navigation and its value is shown as
oesn't solve the problem.
>>
> Is the hidden field within the (here) tags?
>
> - Scott
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
mosho wrote:
Yes, that's exactly the way it works.
My navigation with lookupDispatchAction works perfectly. The problem arises
when I have another to link instead of button to submit the form, how do I
pass navigation parameter value then?
The javascript with hidden field doesn't solve the proble
rrect me if I'm wrong :)
>
> Oh one last thing. Make sure you're NOT overriding execute() in your
> subclass. It's fine for regular Action-derived classes, but you're
> using LookupDispatchAction, which needs to run its own implementation of
> execute().
>
>
mosho wrote:
Request[/planName] does not contain handler parameter named navigation
In your struts-config.xml, are you including 'parameter="navigation"' in
your action mapping? A la:
name="planNameForm" parameter="navigation">
...
The parameter gives you a place to pass additio
khina wrote:
>
>>
>> The "return false;" would have to go LAST, otherwise onClickSubmit()
>> wouldn't get called.
>
>
> Yup..sorry.. my wrong..
>
> --
> Puneet
>
>
--
View this message in context:
http://www.nabble.com/Question-abou
The "return false;" would have to go LAST, otherwise onClickSubmit()
wouldn't get called.
Yup..sorry.. my wrong..
--
Puneet
Puneet Lakhina wrote:
OK One more thing, if you need to call this javascript method even
from ur
submit button, to set the property value then you can do
/>
Notice the return false there.
In case of a link simply do
I hope this was what you wanted.
The "return false;" would have to g
On 8/19/06, Scott Van Wart <[EMAIL PROTECTED]> wrote:
mosho wrote:
> Hi Scott,
>
> It doesn't seem to work.
>
> My submit buttons look like this:
>
>
>
>
> Now, if I have a link, how can I set the property navigation for it.
> " onClickSubmit() pic.gif "
>
Well first you
mosho wrote:
Hi Scott,
It doesn't seem to work.
My submit buttons look like this:
Now, if I have a link, how can I set the property navigation for it.
" onClickSubmit() pic.gif "
Well first you should probably get rid of 'value="Previous"', since you
should be (an
map;
> }
>
> Then it would take a little trickery in the JSP to get the right values
> in the Javascript:
>
>
>
>
>
> So the web browser passes the correct value, and the lookup map will work:
>
> function onClickCreate() {
> document.someForm.action.v
Christopher Goldman wrote:
On Thu, 2006-08-17 at 14:26 -0700, mosho wrote:
Hi All,
I have multiple buttons on my form and I am using LookUpDistpatchAction to
submit the form depending on which button is clicked.
I have another requirement now, I have multiple images that are going to be
lin
On Thu, 2006-08-17 at 14:26 -0700, mosho wrote:
> Hi All,
>
> I have multiple buttons on my form and I am using LookUpDistpatchAction to
> submit the form depending on which button is clicked.
>
> I have another requirement now, I have multiple images that are going to be
> links. I need to submi
to submit the form. How can I change/ set
the value for my parameter?
It is giving me error:
Request[/selectLocation] does not contain handler parameter named navigation
Thanks for your help,
--
View this message in context:
http://www.nabble.com/Question-about-Lookup-dispatch-action
17 matches
Mail list logo