Ok. I guess I'm missing something - or it just won't sink in. This really
isn't that long.
For simplicity, let's say I have a 4 page application.
1. Index
2. Search for an Item
3. Search Results List of Matching items
4. Details of an Item
All of these pages needs to gather data from a
For your steps 2 to 4:
in your struts-config:
form-bean name=myForm type=com.my.form.MyForm/
...
action path=/pageWithForm type=com.my.action.PreparePageAction
forward name=showForm path=/form.jsp
/action
action path=/formDestination
type=com.my.action.PreparePageAction
name=myForm
--- Matthew J. Vincent [EMAIL PROTECTED] wrote:
Re: Strust Search/Results/Display HELP!
Thanks for the help. Be gentle and explain slowly. :)
Also, people will help you even if your question is gentle and doesn't shout.
:)
__
Do you Yahoo!?
Yahoo
both
the search form and the search results? If so, how do I set this up?
Thanks for your help!
Matt
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 11:31 AM
To: Struts Users Mailing List
Subject: Re: Strust Search/Results/Display HELP
/Results/Display HELP!
For your steps 2 to 4:
in your struts-config:
form-bean name=myForm type=com.my.form.MyForm/
...
action path=/pageWithForm type=com.my.action.PreparePageAction
forward name=showForm path=/form.jsp
/action
action path=/formDestination
type
-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 2:52 PM
To: Struts Users Mailing List
Subject: Re: Struts Search/Results/Display Help (includes link to
Example to help me with)
Like in my two previous emails, it worked when I took out the name and
type
attributes
]
Sent: Friday, January 23, 2004 11:31 AM
To: Struts Users Mailing List
Subject: Re: Strust Search/Results/Display HELP!
For your steps 2 to 4:
in your struts-config:
form-bean name=myForm type=com.my.form.MyForm/
...
action path=/pageWithForm type=com.my.action.PreparePageAction
Hi all,
I have a template in which I include 4 jsp
The header, the menu, the display and the footer
I use Tomcat 4.1.24.
In the display.jsp I have a html:select with some options
When the display.jsp is rendered the html:select is OK but
its options are writen again in the footer.jsp as text
Hi,
After user clicks on search button, I try to display the
search results at the botton of the page. I am not sure how to do
this without using frames ( my html and _javascript are very lame) in Struts? This
must be vry common, but I just cannot think a nice way to do it. Is it possible to use
If you put your search results in a bean to be able to display them, it is
quite simple : just check if such a bean exists. If so, then a search has
been called.
html
// display search form here
logic:present name=yourresultbean
// display results here
/logic:present
/html
Thomas
Thanks, Thomas:
Seems pretty easy to handle, I gotto try it out using your
suggestions.
regards,
--- In [EMAIL PROTECTED], Thomas Cornet [EMAIL PROTECTED] wrote:
If you put your search results in a bean to be able to display them,
it is
quite simple : just check if such a bean exists.
Thanks, Thomas:
Seems pretty easy to handle, I gotto try it out using
your
suggestions.
regards,
--- Thomas Cornet [EMAIL PROTECTED] wrote:
If you put your search results in a bean to be able
to display them, it is
quite simple : just check if such a bean exists. If
so, then a search
12 matches
Mail list logo