Hi,
i have two forms nested in the following way
:
html:form
action="album.do"html:hidden property="action"
value="deletePhotoList" /html:hidden property="forward"
value='%= actionForward %' /html:hidden property="id"
value='%= album.getAlbumId() %' /logic:iterate id="photo"
with nested html:form
Hi,
i have two forms nested in the following way :
html:form action=album.do
html:hidden property=action value=deletePhotoList /
html:hidden property=forward value='%= actionForward %' /
html:hidden property=id value='%= album.getAlbumId() %' /
logic:iterate id=photo name=album
I do not believe that you are allowed to have nested forms in html (though
correct me if I'm wrong!).
Dave
But we need something like nested forms, because we have actions for a list
of objects and actions for a single one of these objects.
Do you have any idea how to realize it in an other
Can you explain your situation further? Would frames help?
Dave
Marc Eckart [EMAIL PROTECTED] on 06/06/2001 06:20:28 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: David Hay/Lex/Lexmark)
Subject: Re: Problem with nested html:form
I do not believe
: Problem with nested html:form
I do not believe that you are allowed to have nested forms in html (though
correct me if I'm wrong!).
Dave
But we need something like nested forms, because we have actions for a list
of objects and actions for a single one of these objects.
Do you have any idea
Can you explain your situation further? Would frames help?
Dave
I don't think so.
We have a list of pictures. Now we want to delete some of the photos by
selecting checkboxes and press a delete button. But we also want to move the
pictures up and down by pressing on a button associated to
This is definitely a challenge. You can use a single form with multiple
submits, each with a meaningful name. The name will be sent with the
request - use the name to select the appropriate action.
Marc Eckart wrote:
But we need something like nested forms, because we have actions for a
Yes. I can't tell you if STRUTS addresses this, but with HTML and
Javascript you have a lot of control over what happens before a form is
submitted.
How do you mean this. How can I control which action is commited with HTML
and Javascript ?
Marc
Struts doesn't have anything to do with it at this point; it's all up to
the client (e.g. browser).
The client eventually sends a request to an Action, and then Struts can
go to work again.
The only option when HTML doesn't meet your needs is to move to an
applet.
Marc Eckart wrote:
I do
You can think of link (href) as a form action request. Why not trigger a
delete or order control or both that way?
Anthony
-Original Message-
From: Marc Eckart [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 3:42 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem with nested
Hello Marc,
Thursday, June 07, 2001, 2:20:28 AM, you wrote:
I do not believe that you are allowed to have nested forms in html (though
correct me if I'm wrong!).
Dave
ME But we need something like nested forms, because we have actions for a list
ME of objects and actions for a single one of
11 matches
Mail list logo