Why don't you use a hidden field with the index number in it. So you can use that
information in your action.
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: donderdag 11 maart 2004 10:31
To: Struts Users Mailing List
Subject: Changing position of nested beans
I was
Can you elaborate? I'd have several indexed properties in my form, how
would i know which to extract?
On 11 Mar 2004, at 10:43, VAN BROECK Jimmy wrote:
Why don't you use a hidden field with the index number in it. So you
can use that information in your action.
-Original Message-
Mark,
Seems to me you have already worked out the solution, except why do you need
a lookup dispatch action - rather than a roll your own - you have two
methods right - Move Up and Move Down?
Your jsp will populate a (foo?) List with either Move Up or Move Down
(depending on the button pressed)
The only reason why dispatch action appeals is that i can map the form
to one action and have several buttons within a form without needing to
change to form action with javascript or anything grotty like that.
I'm not especially keen dispatch actions . Just this business of using
links and
List [EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 11:51 AM
Subject: Re: Changing position of nested beans
The only reason why dispatch action appeals is that i can map the form
to one action and have several buttons within a form without needing to
change to form action with javascript
, March 11, 2004 11:51 AM
Subject: Re: Changing position of nested beans
The only reason why dispatch action appeals is that i can map the form
to one action and have several buttons within a form without needing
to
change to form action with javascript or anything grotty like that.
I'm
Niall
Okay.. Can i assume your solution involves links and scoping to session
or is there something I'm missing?
On 11 Mar 2004, at 12:19, Niall Pemberton wrote:
Mark,
Seems to me you have already worked out the solution, except why do
you need
a lookup dispatch action - rather than a roll
without
using %= %? Could I have been on the crack, too, and not know it?
Hubert
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 10:05 AM
To: Struts Users Mailing List
Subject: Re: Changing position of nested beans
Crack smoking gags aside
10:05 AM
To: Struts Users Mailing List
Subject: Re: Changing position of nested beans
Crack smoking gags aside..
I've tried hacking around the problem using the unspecified method to
no avail. Looks like storing in session and using links.
Unless I have any sudden rushes of blood to the head
9 matches
Mail list logo