The code has nothing to do with myAction.dispatch. And, the code is
not mine. You have it all wrong: dispatch is not connected to the
action but to the html. There is nothing related to action chaining
inconsistent with any of the alternatives. I don't know what you've
done with the code, but -
Hi Jack,
you are right, it is indeed mixed up - all becuase I
need to support action chaining. So I had to modify
your code a bit 'cus it seems that the simple
MyAction.dispatch can not support my case.
secondly, I just realize that even my
code is wrong becuase 'value=xxx' will be used as
label
Yes, I am only looking for detail at this high level.
I think that a one or two page document with this
course level of detail over the entire app development
process would be pretty helpful for people like me who
are getting started. I think there is plenty of
documentation already to explain ea
I don't like relying on Javascript. Sometimes in fact I can't. But I see
what you mean. Also the action saves whatever changes are done to the
data on the screen, and then I use that strategy to pass on the request
to the other mapping.
On 10/30/2004 04:20 PM David G. Friedman wrote:
Adam,
Why
I see what you mean now about the different steps for the different
architectures. You are giving yourself a huge scope to deal with! It
strikes me that your document would constantly become out-of-date with
each new software release. Or are you going to leave it at the depth of
detail which yo
On 10/30/2004 02:14 PM Håkan Fransson wrote:
Yes, it's one solution to write forms in html but then you have a hardcoded
path
in the jsp-page. I dont want to have this.
I need html buttons instead of images and links because they are resizeable.
In your
browser e.g Mozilla Firefox press "View -> Te
I am trying to use validwhen with html multibox in
struts tag.
In my JSP I am using
a) A html:multibox which renders 4 check boxes for me
(using iterate tag).
In my ActionForm this multibox property stores values
to a "String Array" property name "reasons"
And
b) A text field of property name
I am trying to use validwhen with html multibox in
struts tag.
In my JSP I am using
a) a html:multibox which renders 4 check boxes for me
(using iterate tag).
In my actionform this multibox property stores values
to a "String Array" property name "reasons"
and
b) a text field of property name "di
Yves-Marie,
I think I have read on the list that chaining actions (without using
redirect="true", so the client never receives a redirect and all forwarding
is internal) causes each action to reparse the request, which should
re-populate the ActionForm with the original request data. Perhaps a be
This is Blueglue: http://www.openlogic.com/index.php
With blueglue, you download this application and then
check the boxes for, say, MySQL, Hibernate, JBoss, and
Middlegen, and blueglue installs everything on your
computer.
I am just getting started. I haven't developed any
apps yet, so picking
Adam,
Why don't you use Javascript? You could have each submit button change the
this.form.action (where the URL saying where to POST/GET the form to is
located) to make the page directly submit from the browser to the exact
Action once. This would remove the need for you to map between actions
(
Is the page hits functionality on the Jakarta Wikis not working?
Jack
--
"You can't wake a person who is pretending to be asleep."
~Native Proverb~
"Each man is good in His sight. It is not necessary for eagles to be crows."
~Hunkesni (Sitting Bull), Hunkpapa Sioux~
Hello, Chu,
You seem to be a bit mixed up. I am not even sure which solution you
are using anymore. However, if you are using the solution at
www.michaelmcgrady.com/button we discussed, then you have this coded
wrong.
First, you should have nothing in the parameter attribute of your
action mapp
Yes, it's one solution to write forms in html but then you have a hardcoded
path
in the jsp-page. I dont want to have this.
I need html buttons instead of images and links because they are resizeable.
In your
browser e.g Mozilla Firefox press "View -> Text Size -> Increase". Then
images dont increa
I just finished a project and once again Struts provided an excellent,
elegant framework for the presentation tier. However I'm not happy with
one thing.
The page design which I was not allowed to change was very complex. Each
page had up to a dozen submit buttons.
So what I did was this: I na
problem solved - I made a mistake in the JSP file,
here is the right one to return a parameter for a
submit button:
So in this case, if the Done button is pressed,
'ListPermission.dispatch=done' is sent to the server.
So now I hope I have a complete decoupled, I18N aware
DispatchAction. Tha
I realize that the problem is action chaining.
In my code, action one goes on to the next action - I
persume that the parameters passed to the first action
are still passed on to the next. here the problem
comes in: new parameter is appended at end so
getMethodName always gets the earlier paramete
What's blueglue? It sounds like maven (which is open-source)
You don't actually list anywhere what software you are using. It looks
like you are using Hibernate and EJB together. Is that logical? Why not
use CMP, or ditch EJB?
On 10/27/2004 05:52 PM Dan wrote:
I've never developed an open source
Hakan,
perhaps you should just write the form in HTML and not use the form taglib.
I still don't understand what you are doing though. If you have to use
text instead of an image in a link, why do you need a button?
In forms to submit with images, I use the input type=image. Is that what
you mea
I notice that your original question had to do with multiple submit
buttons, but that your code here only has one submit button. You
cannot necessarily take a solution for one problem and use if for
others. I don't know about the display tag, so I am not sure if you
are doing the right thing here
20 matches
Mail list logo