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-Controller logic.
>
If you look at Shale (with its support fo
Rick Reumann on 06/07/05 19:22, wrote:
In regard to "To redisplay invalid user data it must not be overwritten
by pre-loaded data, thus reset() seems as simple and easy way out..", I
must be confused on what you see happening that I don't. I don't use the
reset to pre-populate the form data and
Michael Jouravlev wrote:
> The only book I would follow without asking for explanation would be a
> nuclear power station operator's manual. In all other cases I have
> time to sit down and think things over.
Strictly speaking, you shouldn't actually be operating a nuclear power
station without a
Michael Jouravlev wrote the following on 7/6/2005 12:26 PM:
So, you use action forms both for input and output. This is great.
Change the scope to "session", throw in some methods, and you get
yourself a backing bean. This is what it should be.
Well, not really. I should be able to use a POJO/
On 7/6/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> 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"
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. Thus,
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, 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, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> > If by some chance you are, PLEASE do not advise the newbies to do this.
> > This totally defeats the pupose of what ActionForms should be used for
> > and will create all kinds of maintenance headaches, never mind the fact
> > that it's re
Michael Jouravlev wrote the following on 7/6/2005 3:22 AM:
Can you explain why is it so bad, besides that it is "bad design" and
"defeats pupose of what ActionForms should be used for"? What
ActionForms should be used for, anyway? It is just a class, which has
a simple lifecycle, maintained by S
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
> >>fields are set to false. I highly recommend you
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
fields are set to false. I highly recommend you DO NOT use the reset for
'business type' logic. Having a few def
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
Tony Dahbura wrote the following on 7/5/2005 7:36 PM:
For instance I have a form that lets user edit their profile and I want
to pre-populate with their name and phone number etc...Should I do all
this in the form's actionForm reset method or where?
No! Do not do this in the form's reset or
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
15 matches
Mail list logo