Any further insights on this? It seems I'm missing something simple here...
I dont want ot have to manually call methods on my action...
help? :)
Is there something beyond the
html:hidden property=dispatch value=error/
that I need (and the hidden field named dispatch)
and of course to have
Are you overriding execute() in either your Action or BaseAction?
On 4/18/05, David Johnson [EMAIL PROTECTED] wrote:
Any further insights on this? It seems I'm missing something simple here...
-
To unsubscribe, e-mail: [EMAIL
IIRC you wanted the graph method to be called because you had
set('graph') in an onclick handler. What does the set('graph')
method do? Does it modify the dispatch form field?
On 4/18/05, David Johnson [EMAIL PROTECTED] wrote:
Any further insights on this? It seems I'm missing something simple
yes, exactly. If changed the value of the hidden field to graph
That part is working too. If I do a log.debug
(dispatch=+theForm.getDispatch());
it puts out the right value (graph or whatever I clicked in the form)
On 4/18/05, Hubert Rabago [EMAIL PROTECTED] wrote:
IIRC you wanted the graph
Please respond to
Struts Users Mailing List user@struts.apache.org
To
Struts Users Mailing List user@struts.apache.org, Hubert Rabago
[EMAIL PROTECTED]
cc
Subject
Re: Dispatch Action Strangeness
yes, exactly. If changed the value of the hidden field to graph
That part is working too. If I do
@struts.apache.org
To
Struts Users Mailing List user@struts.apache.org, Hubert Rabago
[EMAIL PROTECTED]
cc
Subject
Re: Dispatch Action Strangeness
yes, exactly. If changed the value of the hidden field to graph
That part is working too. If I do a log.debug
(dispatch=+theForm.getDispatch
David Johnson wrote:
yes, exactly. If changed the value of the hidden field to graph
That part is working too. If I do a log.debug
(dispatch=+theForm.getDispatch());
it puts out the right value (graph or whatever I clicked in the form)
What does the code for your base action (that subclasses
yeah. this is my Action mapping
action path=/PortfolioSummaryAction
name=portfolioSummaryForm
scope=request
input=page.portfolioSummary
type=com.foo.struts.PortfolioSummaryAction
parameter=dispatch
forward name=success path=page.portfolio.summary redirect=true/
forward name=invalidSession
/18/2005 03:28 PM
Please respond to
Struts Users Mailing List user@struts.apache.org
To
Struts Users Mailing List user@struts.apache.org, Hubert Rabago
[EMAIL PROTECTED]
cc
Subject
Re: Dispatch Action Strangeness
yes, exactly. If changed the value of the hidden field
@struts.apache.org, Hubert Rabago
[EMAIL PROTECTED]
cc
Subject
Re: Dispatch Action Strangeness
yes, exactly. If changed the value of the hidden field to graph
That part is working too. If I do a log.debug
(dispatch=+theForm.getDispatch());
it puts out the right
Hubert Rabago wrote:
Does it have an execute() method? If so, what does the execute method do?
Yeah--what you gave isn't enough. In order to diagnose we must see the
code, because on the surface everything appears to be fine.
Dave
which part to you need to see? I'm s thankful for any help :)
On 4/18/05, Dave Newton [EMAIL PROTECTED] wrote:
Hubert Rabago wrote:
Does it have an execute() method? If so, what does the execute method do?
Yeah--what you gave isn't enough. In order to diagnose we must see the
David Johnson wrote:
which part to you need to see? I'm s thankful for any help :)
All of it? What Hubert is asking is whether or not you override the
execute method of the DispatchAction subclass, as that could easily
munge up the dispatching. That's certainly among my top questions as
Hi there
I thought I'd break this into its own thread. I'm trying to implement
a DispatchAction as discussed by Ted Husted here --
http://husted.com/struts/tips/002.html
I have done the following
1. changed the html:submit to the following (along with the necassary
javascript)
html:submit
David Johnson wrote:
My Action class still extends Action should it inherit
DispatchAction instead? What am I missing?
If it doesn't extend DispatchAction how would it know to dispatch?
Dave
-
To unsubscribe, e-mail: [EMAIL
I saw that after I sent it. I have changed it to inherit from
org.apache.struts.actions.DispatchAction (actually my BaseAction
inherits from DispatchAction) but the methods still arent being
called.
strange right?
On 4/15/05, Dave Newton [EMAIL PROTECTED] wrote:
David Johnson wrote:
My
David Johnson wrote the following on 4/15/2005 3:21 PM:
I saw that after I sent it. I have changed it to inherit from
org.apache.struts.actions.DispatchAction (actually my BaseAction
inherits from DispatchAction) but the methods still arent being
called.
You sure you have the parameter property in
17 matches
Mail list logo