On 6/6/05, Tony Smith <[EMAIL PROTECTED]> wrote:
> Hi, I am using struts to develop a webapp. One piece
> of work is the user information. I will allow user to
> create, view, and update his personal information.
Maybe you would like to reconsider your three pages, and split them
into "edit new",
Turn validation off by setting validate="false" in your action mapping
difinition in struts-config.xml file, and call form.validate()
manually from appropriate handler methods.
On 6/6/05, delbd <[EMAIL PROTECTED]> wrote:
> Hello, i have a form using a dispatch action, amongst the actions in the
>
I wonder, what kind of usability issue that could be? I see two cases:
1) At best, URL should show the path to the object, like
app/task/itemid/actiontype or something. I think this is better than
artificial breadcrumbs, which do basically the same. And, if a user
tries to go one "directory" up, a
:
Folder:
https://easywizard.dev.java.net/servlets/ProjectDocumentList?folderID=3494&expandFolder=3494&folderID=3494
File name:
strutsdialog.zip
Michael Jouravlev.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
On 6/7/05, Daniel Kies <[EMAIL PROTECTED]> wrote:
> Greetings. Here is my problem:
> index.jsp does a redirect to my action.
> action loads a bean with data
> forwards to x.jsp
>
> x.jsp looks fine, data comes up fine.
>
> I do a refresh. I get Cannot find bean in any scope. The first time
> i
If you want some kind of automation to build an HTML form or JSP for
an arbitrary object on the fly, then Struts does not provide this
service. You need to design pages yourself. Maybe there are some
third-party libraries to do this.
I might implement something like this as an example for Struts D
1) First, set the null attribute to "false" in your message resources
config: http://www.systemmobile.com/articles/strutsMessageResources.html
And check that Struts at least tries to load messages.
2) Does your form bean check for empty fields? Seems, that it forwards
to "input" without handing co
Do you have <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
in your JSP?
On 6/7/05, chuck harris <[EMAIL PROTECTED]> wrote:
> I had a struts 1.1 web app contained in its own
> ear/war. It is/was deployed in jboss/tomcat 4.01sp1.
> Most of the pages extend validatorform. The
> validat
mage buttons do only with a lot less bloating of the
> code See http://www.michaelmcgrady.com/button/
>
>
>
> On 6/7/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> > Struts Dialogs is an extension of Struts actions that provides an
> > improved user experi
> hey, this is the internet - 4 seconds and I'm gone! ;)
>
> On 08/06/05 07:08 Michael Jouravlev wrote:
> > You do understand that SelectAction is actually just a helper, and the
> > real story is DialogAction, do you? Have you seen the Login Control
> > example?
>
On 6/8/05, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> In a matter of a few minutes, I suddenly got three offline messages
> with follow up questions. I usually don't mind, though each time I
> reply to such messages, I include the text below. In this case, I
> thought I'd share these thoughts wit
> I don't understand how you managed to get the page with validate-error
> not to make an entry in the browser history. I see you've turned off
> automatic validation but closer than that I'm not sure. It seems to be
> linked to the no-cache stuff but I didn't think the caching had anything
> to do
New project homepage: http://struts.sourceforge.net/strutsdialogs/
According to survey
http://jmikus.freepolls.com/cgi-bin/polls/001/poll_center.htm ,
about 60% of Struts developers use form beans for both input and
output, that is, as temporary I/O buffer. If I am not mistaken, JSF
calls these bu
On 6/9/05, Dakota Jack <[EMAIL PROTECTED]> wrote:
> I still am absolutely amazed that you "came up with these tricks"
> without even knowing that the difficulty was that you could not
> directly reference a name in name value pair because includes
> an .x and a .y with the name. The code you dupl
On 6/9/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> Yes but what about Netscape 4? only kidding :)
>
> The effect is neat however you do have to implement the no-cache and you
> have to turn off auto-validation and then rely on the browser, so I
> wonder whether it is really neat enough to be
On 6/9/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> your further discussion lost me since I only have a vague concept of
> what the terms web control and portlet actually mean.
I guess we actually need to establish some difinitions. I searched
Struts list but did not find relevant info. If it is th
On 6/9/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> So what you are saying is that really all you need to do to implement
> this feature is to keep the struts mapping the same and put no-cache
> instructions in the page header.
>
> I can do that anyway without using DialogAction, right?
I found th
Something like this:
ActionForward af = mapping.findForward("showParentForm");
return new ActionForward(
actionForward.getName(),
actionForward.getPath() + "?drawing_id=24",
actionForward.getRedirect()
);
You must create a new instance of ActionForward, you cannot change
existing one, since
is a non-breaking space. Regular space is just &sp;
On 6/11/05, Mark Benussi <[EMAIL PROTECTED]> wrote:
>
>
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
> Sent: 10 June 2005 20:00
> To: user@struts.apache.org
> Subject: Re: [OT] using JSTL wi
You may want to take a look at the Struts Dialogs:
http://struts.sourceforge.net/strutsdialogs/ It is a new development
within Struts Application project.
It was me who wrote the article on TSS, and I am gradually making
these ideas into usable components. DialogAction is an action which
uses POST
> Ok, here is the problem. When I load up my web app the page loads fine.
Which app, what page? Not enough detail, and the question is too generic.
> When I try to advance to another web page in my web app all I get
is a blank screen.
You do not "advance to pages" in Struts. You have to get use
Struts Workflow Extension is not part of Struts. You need to consult
its author. Also, there are alternatives to it, like Struts Flow
http://struts.sourceforge.net/struts-flow or Easy Wizard
http://www.superinterface.com/easywizard.htm. The last project is
written by me, and is in the process of re
HttpSession is the same everywhere: in plain servlet/JSP, in Struts or in JBoss.
On 6/13/05, marc <[EMAIL PROTECTED]> wrote:
> How do I easy and smart make a bean and put it in the client's session,
> when the client logs on. So no mather where the client is, I can access
> the bean.
> Like a bean
What do you mean "clear out" and what do you mean by "reload"? If you
need a stateful component to obtain user data, and to be able to to
redisplay the page with error messages, and to store intermediate
data, and to correctly process Refresh and Back buttons, you might
want to take a look at the c
On 6/13/05, Paul Goepfert <[EMAIL PROTECTED]> wrote:
> ok here is what I am talking about. I have a form that takes in first
> name, last name, street address, city, state and zipcode. When I press
> on the button to enter that information into a database. I want the
> page to reload with clear
It was discussed, but I could not find a bug in Bugzilla. Yep,
choosing between an exception and blank screen, I would prefer an
exception with forward name.
Michael.
On 6/13/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Yeah, that seemed a little too easy :)
>
> I would think it should thr
Dakota Jack worked with image buttons: www.michaelmcgrady.com/button
Maybe you find this useful.
On 6/14/05, Rafael Taboada <[EMAIL PROTECTED]> wrote:
> Hi folks. I'm using LookupDispatchAction in order to manage several buttons
> in a form.
> All work fine, but I want to use html:image instead
http://marc.theaimsgroup.com/?l=struts-user&m=111841184227894&w=2
> I have an action (Action1) which when completed successfully, forwards
> to another action (Action2). I need to be able to send dyanamic
> parameters to Action2
---
On 6/14/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> If you just want images on the buttons, you can do it with CSS and keep the
> (which you already have working):
> http://www.ampsoft.net/webdesign-l/image-button.html
Neat! But images do not scale automatically, I prefer not to use them.
W
Rafael, first of all, as web developer you should always know what
input your application receives. If you use Firefox, go to their
plugin site and get LiveHTTPHeaders plugin, an invaluable thing. After
you install it, you will be able to trace requests and responses.
To save you time, I can tell
> You need to specify method name in "value" attribute. Since it is an
> image, it won't be shown:
>
> value="myProcName" src="myimage.gif" />
>
> The above should produce request like this:
> method.x=51&method.y=16&method=myProcName
Hmm... Seems like MSIE do not add "method=myProcName" for
va
Yep, MSIE is a sucky one. For the following image button:
Firefox generates the following:
method.x=48&method.y=20&method=add
while MSIE generates just the following:
method.x=48&method.y=20
Hmm, how to obtain method name on MSIE? I don't know yet. But
obviously I need to update my DialogAc
On 6/13/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> I didn't get any response to this last time so I'm asking again... :-)
>
> I'd like to replace URLs like this:
>
>/Sections/Subsections/?section=Section1&subsection=SubSection1
>
> with URLs like this:
>
>/Sections/Section1/Subsecti
Depends. This topic is discussed heavily from time to time. The last
tide was about a month ago :) Search archives.
Basically, if you need only to output your A, B, C entities, you do
not need action forms. Just stick your object in the proper scope.
If you need to input data into A, B, C or your
On 6/14/05, Zarar Siddiqi <[EMAIL PROTECTED]> wrote:
> Where do you see the af.setURL(String) method in the ActionForward class?
> http://struts.apache.org/api/org/apache/struts/action/ActionForward.html
>
> I had a similar problem where dynamic values needed to be passed in via an
> ActionForward
First off, there is no clear definition of what chaining is. Some say,
that chaining is the process of transferring control strictly on the
server (forwarding from action to action), thus linking action via
redirect does not count as chaining :) Also there is an opinion that
two actions do not make
Does anyone know, how to find out that URL contains session ID in it?
Usually this happens only once in the beginning of a session, if
browser supports cookies. I even don't need the value itself, I just
want to know that fact, that session ID is appended to URL, not sent
as cookie.
Session ID is
D'oh! Thanks, David!
On 6/15/05, David G. Friedman <[EMAIL PROTECTED]> wrote:
> See the HttpServletRequest API for these methods:
>
> boolean isRequestedSessionIdFromUrl() (pre 2.1)
> boolean isRequestedSessionIdFromURL() (2.1 or later)
> boolean isRequestedSessionIdFromCookie()
>
> Regards,
> D
On 6/15/05, Dave Newton <[EMAIL PROTECTED]> wrote:
> David G. Friedman wrote:
>
> >See the HttpServletRequest API for these methods:
> >
> >boolean isRequestedSessionIdFromUrl() (pre 2.1)
> >boolean isRequestedSessionIdFromURL() (2.1 or later)
> >boolean isRequestedSessionIdFromCookie()
> >
> >
>
On 6/16/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> It's not stupid, it returns a boolean informing you where the
> session.getId() gets its info from. Makes sense to me.
Makes sense to me too, but I also want to know is there session ID in
the URL. Any advice how to find this out?
> Although you
On 6/16/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> It seems to be hard-coded behaviour that you can't do anything about
> unless you want to write some javascript to check the URL and put a
> token in the query string for the next request.
Nah, I cannot rely on Javascript. I guess I should drop t
On 6/16/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> Even quicker would be to check if you have the first request that
> establishes the session, and then put some token in the form or
> querystring, to mimic the JSESSIONID. Then you can just check
> for your token.
Yes, I guess I can do that.
> I
On 6/16/05, Max Cooper <[EMAIL PROTECTED]> wrote:
> I think this is a weird requirement, and it may be worth re-evaluating
> why you want to know this (are you fighting the technology, or
> leveraging it?).
I can explain but remember, that you asked it first ;) It will take some time :)
The point
On 6/17/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> What really got me on my last project was changing from one organisation
> to another, the project packages had to be renamed from uk.co.bbb to
> com.siemans and we actually made it all the more pointless by discussing
> whether it should be com.s
On 6/17/05, Harland, David <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How do you make the form remember the form values even if it fails the
> validation. At the moment I am having to store them in a request
> attribute before calling validate. Is there an easier way.
>
> Thanks
>
> Dave.
* Use strin
On 6/17/05, Janek Ziniewicz <[EMAIL PROTECTED]> wrote:
> SimpleDispatchAction inherits from Action class not from DispatchAction.
> At http://wiki.apache.org/struts/StrutsCatalogDispatchActionImproved you
> can read:
> "You can use a dispatch action without requiring configuration of a
> parameter
Yep, a lot of work. SimpleDispatchAction indeed looks much simpler:
http://wiki.apache.org/struts/StrutsCatalogDispatchActionImproved
On 6/17/05, Zarar Siddiqi <[EMAIL PROTECTED]> wrote:
> Link looks like:
> hi
>
> Make sure you have following in ApplicationResources.properties:
> whatever.dispat
On 6/17/05, Emmanouil Batsis <[EMAIL PROTECTED]> wrote:
> Adam Hardy wrote:
>
> > I'd love to drop the whole top-level domain but why on earth is it
> > there in the first place?
>
>
> Domain names are used as identifiers and are controlled by the or
> authority that owns them; as such they are
On 6/17/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> getPathInfo() might be interesting for this. Have you tried it Michael?
> I have use getPathInfo in my code but without setting up my appserver
> and running it I can't tell.
No, getPathInfo does not work. I guess I will just stick my own key
val
Do you have jsp:include on this page? If you do, do you forward from
your included location to other location?
On 6/18/05, O. Oke <[EMAIL PROTECTED]> wrote:
> Please help!...
>
>
> BACKGROUND
> ==
> I am using Tomcat-5.0.27 on Windows 2000. I use
> Eclipse IDEfor dev.
>
> Furthermore,
There is nothing impossible with Javascript ;)
But I would say that this good practice is to submit forms with
buttons using POST request method. Simply because that is what POST
method is for. Do you really need to submit a form using link?
Michael.
On 6/20/05, Rafael Taboada <[EMAIL PROTECTED
RTFM URL encoding
On 6/20/05, David Gagnon <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm using tomcat and Struts I just noticed that charater + is not
> transmitted correcty to the server:
>
> Per example if posting to addresse
> IFrameDoc.location.replace('/unikommerce/action.do?id=DAVE+++aa&l
On 6/20/05, Janek Ziniewicz <[EMAIL PROTECTED]> wrote:
> I probably have found an error. It needs short description.
> Each of ActionForms in my app uses two Action classes. One is
> 'typical' form launched after submitting a form. Its execute method
> forwards to next Action which sets data for n
> In the past years I answered a lot of questions on this forum. If you like
> using RTFM (Michael, Dennis) you will be happy, you can answer a lot of
> question like that here... so have fun.
>
> Personnaly I like that people act like adult not like kids that try to say
> BIG WORDS whenever t
On 6/21/05, Rafael Taboada <[EMAIL PROTECTED]> wrote:
> Hi folks. I need to store some objects in session scope in order to use
> around the application. What is the best way to do that?
> I need to have TAX value in any place of the application. I thought about
> creating an Action class y call a
CRUDAction defines all necessary handlers and mappings for basic CRUD
operations like create, duplicate, edit, view and delete. Along with
proven two-phase input processing (aka Post-Redirect-Get), which saves
you and your users from implicit double submits and POSTDATA messages,
this class makes y
Base64 will not work, because its charset includes + and / ASCII
characters. So you might write something like strToHex() (or whatever
its name is), for example see Cryptix library, Hex utility class. Or
you can just use that class directly.
On the other hand, you may use Base64, and then URLEncod
On 6/22/05, Mark Galbreath <[EMAIL PROTECTED]> wrote:
> Validator is crap...and always has been. If you look in the archive, you
> will see more complaints about Validator working over the past 3 years and
> any other 2 subjects combined.
Risking to start offtopic here, I would say that the wh
Just cannot help it; I am sorry, just cannot keep it inside ;) On the
other hand, maybe not everyone knows about it yet?
Homepage: http://www.superinterface.com/easywizard.htm
Live demo: http://www.superinterface.com/wizard/signupWizard.do
Now back to the regular programming (c) Frank ;-)
P.S. T
On 6/22/05, Michael Taylor <[EMAIL PROTECTED]> wrote:
> Michael,
>
> It appears from your
> articles that your solution depends upon tight integration with the
> application model. There are two down sides to this. The obvious one
> is writing more code, where it might be generated from a model.
On 6/23/05, Ciaran Hanley <[EMAIL PROTECTED]> wrote:
> Can somebody help me or propose a solution to the following please.
>
> I wish to create a form dynamically. Depending on the business logic there
> could be 0 to N rows in the form.
...
> I also need to iterate over a bean containing informat
WebWork actions are somewhat like Struts Action and ActionForm
combined: they can transfer request parameters and can be stateful,
like ActionForm, but they also can process input events, like Action.
I created several rather generic action classes, like DialogAction or
CRUDAction, and now working
1) In action mapping: validate = "false"
2) Validate manually from Action class
3) Forward where you need.
On 6/23/05, Grzegorz Stasica <[EMAIL PROTECTED]> wrote:
> hi,
>
> The problem is that after I validate values in the method, the
> controller forwards me to input page. Since I use tiles in
I happened to initiate a private discussion on the topic, so if
someone interested, I am sharing it, with Michael Oliver's consent.
Hopefully, it is readable ;-)
> On 6/23/05, Michael Oliver <[EMAIL PROTECTED]> > > > wrote:
> > On 6/23/05, Michael Jouravlev &l
I refactored my initial Easy Wizard library, which did not have nice
integration with Struts. Now, after I created Struts Dialogs, I added
wizard capability as a new action: WizardAction.
Check out the live wizard demo, while I am updating the docs:
http://www.superinterface.com/strutsdialog/wizar
First, check out this live demo:
http://www.superinterface.com/strutsdialog/embeddedmasterpage-tomcat.do
See the "Sign In" cell? It is JSP/Struts web component, built with
Struts Dialogs. This login component is rendered using a separate
included JSP. It is:
* independent. The only information nee
I think that the easiest way is not to use automatic validation. Call
validate() manually from action class. If errors found, stick your
datalist into request object and forward to dataform.jsp.
If you want to redirect, append datalist to URL. You would need to
create new ActionForward instance.
You want bean utils to convert your proprietary value object into
generic List? Umm, don't see how this is possible.
Michael.
On 6/28/05, Siena, Christina (.) <[EMAIL PROTECTED]> wrote:
> As you can see, the forms implement programList differently which is the
> cause of the problem. In order fo
On 6/28/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> I'm curious though... I'm looking at the 4.01 spec now and I don't see
> anyplace that says the non-clicked button shouldn't be submitted... I
> would actually expect it to work like any other form element in that they
> all get submitted r
On 6/29/05, Scott Piker <[EMAIL PROTECTED]> wrote:
> It's pretty simple; you just need to populate the form bean and put it
> into request/session scope prior to forwarding to your jsp when in edit
> mode. You'll also need a hidden variable in your form to flag whether
> you're in edit or add mode
Hmm, I don't see how the session can be null. If you start from JSP,
and you did not set session="false" in the page directive, then to my
understanding, session should be created right in the JSP.
Michael.
> My index.jsp only forwards like this:
>
> <%@ taglib uri="/WEB-INF/struts-logic.tld" pr
On 6/30/05, Aleksandar Matijaca <[EMAIL PROTECTED]> wrote:
> On 6/30/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > From: "Bill Schneider" <[EMAIL PROTECTED]>
> > > Tiles is very powerful but I've found that 99% of the time I'm only using
> > > it to wrap a page in a consistent layout/navigation. I
On 6/30/05, Julian Kerr <[EMAIL PROTECTED]> wrote:
> The html:link tag automatically applies URL rewriting to maintain
> session state in the absence of cookies. Is it possible to disable this
> feature?
Have you tried <%@ page session="false" %> ?
Michael.
--
On 7/4/05, Ben <[EMAIL PROTECTED]> wrote:
> Hi
>
> My form has some boolean properties and I set them to false in the
> reset method. The Action that handles the form has redirect attribute
> as true, i.e if there is an error, it redirects to the same page that
> has the form with errors. When it
You want to have your TOs populated by Struts? Why would not you just
make FatherTO as a member of ActionForm, and use it as nested
property? If you want to retain TO values between requests, set form
scope to "session".
Michael.
> Rivka Shisman wrote:
> > Hello Friends,
> >
> >
> >
> > I have a
On 7/5/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Michael Jouravlev wrote the following on 7/5/2005 1:41 PM:
> > You want to have your TOs populated by Struts? Why would not you just
> > make FatherTO as a member of ActionForm, and use it as nested
> > property? If y
On 7/5/05, Tony Dahbura <[EMAIL PROTECTED]> wrote:
> Team:
>
> I am trying to pre-populate a form before letting the user enter/correct
> data in it.
>
> The only way I have seen to do this is to actually do this prefilling
> fields in the reset method of the actionform. I am not sure this is th
On 7/5/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Use the reset method only for doing things like making sure some boolean
> fields are set to false. I highly recommend you DO NOT use the reset for
> 'business type' logic. Having a few default things set there is fine,
> but for stuff like you a
On 7/5/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Michael Jouravlev wrote the following on 7/6/2005 1:11 AM:
> > On 7/5/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> >
> >>Use the reset method only for doing things like making sure some boolean
> >&g
On 7/6/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> 1) The person asking I believe was a beginner to Struts. Suggesting to
> have a DAO used in ActionForm is something definitely unorthodox and
> since the person is new to the framework it is unlikely he'll see many
> examples of this and it can g
On 7/6/05, Jeff Beal <[EMAIL PROTECTED]> wrote:
> Here's the last paragraph of the JavaDoc for the reset() method
> (emphasis in original):
>
> "This method is *not* the appropriate place to initialize form value
> for an "update" type page (this should be done in a setup Action). You
> mainly nee
On 7/6/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
Hmm, the description for CRUDAction does not have a link to the live
demo. Here it is:
http://www.superinterface.com/strutsdialog/cruditemlist.do
This one uses two separate actions: one for the list and another for
all crud operations
On 7/6/05, Jeff Beal <[EMAIL PROTECTED]> wrote:
> On 7/6/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> > Jeff, I don't have a blind faith in word written by someone whom I
> > have not even had a drink with.
> >
> > ;-)
> >
> > Mi
On 7/6/05, Aleksandar Matijaca <[EMAIL PROTECTED]> wrote:
> PDF is definitely the way to go
I would not say that pdf is "definitely the way to go". CSS with
"print" media type and points or cm or inches for units (not pixels)
should work quite well.
Michael.
On 7/6/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> I can't believe I now have to watch what I say on this mailing list.
You always have to watch what you say and do, Big Brother is watching.
Kidding aside, I know this first hand. Weather, football and cars seem
to be safe topics. Until you call
edit' to implement 'add new' operation. But now I
use a single action class with dispatch-style handlers and redirecting
to itself for rendering. Technically, it is not even chaining, because
I do not use in-server forwarding, I use redirection.
On 7/6/05, Rick Reumann <[EMAIL PRO
On 7/6/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On 7/6/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> >
> > Now there is talk of Struts in the future containing ActionCommands
> > which can be substituted in place of Actions, and strung together in a
> > chain, and presumably can perform View
On 7/6/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Michael Jouravlev wrote the following on 7/6/2005 5:03 PM:
>
> > The action class
> > provides the event contract, while the action form does the dirty
> > work.
>
> Well in this case the struts-config file
On 7/6/05, Mick Knutson <[EMAIL PROTECTED]> wrote:
> I have the following that works almost fine:
>
> paramId="commonEnrollmentID"
> paramName="consumerValidatorForm"
> paramProperty="commonEnrollmentID"
>
On 7/7/05, Andrew Tomaka <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I'm attempting to create a JSP that is made up of two forms. Each
> form needs a different form bean and is processed by a different
> action. The catch is that the first form returns back to the JSP and
> the action responsible
On 7/7/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Tony Dahbura wrote the following on 7/6/2005 11:09 PM:
>
> > So I have a setup action. How do I in this setup action setup my
> > ActionForm values so when I forward control to the form they are there
> > and present for display. This form is
On 7/7/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> I posted this in reply to Tony's post, but figured this stuff comes up
> all the time and to those new to Struts, this below might help
>
> You can accomplish 99% of what you want with this simple design
Ok, Rick, lets pull out and compare
On 7/7/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> (For any newbies reading this, the difference that matters is that with a
> DispatchAction, you have a single entry in struts-config, but you have to
> pass a parameter with each request. With plain Actions, you would have
> multiple mappin
Typo: I wrote "DispatchAction and its subclasses accepts input as form
submission
only (POST)". Must read as "DialogAction and its subclasses accepts
input as form submission only (POST)"
Also, two other methods for completeness. This one is called when a
user submits new/updated item to persist i
how is multiple Actions not serving from the same location?
> It's not the same URL, granted, is that what you meant?
>
> --
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
>
> On Thu, July 7, 2005 1:44 pm
On 7/7/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> I understand the PRG pattern. I don't see how it is relevant to the
> Action vs. DispatchAction point.
>
> Perhaps I'm just being dense...
Perhaps. Or perhaps I cannot explain my thoughts cleanly enough.
Please, reread the email and pay a
On 7/7/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
Just a clarification:
> Now, bring up the login form, use guest/guest and log in. Now it shows
> "Logged In" form with "Log Out" button. Check the address, it is the
> same as for login form. Click Back
On 7/7/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> (moved to new topic heading, but keeping seem referenceID for those
> threading)..
>
> Michael Jouravlev wrote the following on 7/7/2005 1:40 PM:
>
> > Ok, Rick, lets pull out and compare :-) But before I go into
On 7/7/05, Abdullah Jibaly <[EMAIL PROTECTED]> wrote:
> No, I actually meant that Struts will only process and associate one form
> with the action processing that request, and therefore any validation, etc.
> So only one html form will get associated with the current ActionForm, even
> with ses
On 7/7/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> klute wrote the following on 7/7/2005 3:07 PM:
>
> > It seems like it would make sense to have both so that
> > you can use GET to set up a particular form and POST
> > to process that form. Instead, I'd have to look at the
> > request to see wh
1 - 100 of 992 matches
Mail list logo