You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by victor gu <vi...@yahoo.com> on 2003/07/19 19:40:10 UTC

search results display

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 tables to didplay results while keeping the search button on the top of the page? 
regards



---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

drop-down list help

Posted by Rick Col <ri...@yahoo.com>.
Hi, guys:

I am a struts newbie. I have spent sevaral days trying
build a struts page with several drop-down lists in
vain. I am wondering there are any struts drop down
lists examples out there. I appreciate your help. 

regards,


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: search results display

Posted by Sakis Chatzinikolaou <sh...@upatras.gr>.
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

The code is working fine in Tomcat 4.1.24 but on the production with Linux
and 4.1.2.4
this problem is produced.

I tried to use flush="true" but it didn't work

Any ideas

Thanks
Sakis



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: search results display

Posted by victor gu <vi...@yahoo.com>.
Thanks, Thomas:

Seems pretty easy to handle, I gotto try it out using
your 
suggestions. 

regards,

--- Thomas Cornet <th...@cornet.name> 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 has 
> been called.
> 
> 
> <html>
> 
> // display search form here
> 
> <logic:present name="<yourresultbean>">
> 
>          // display results here
> 
> </logic:present>
> 
> </html>
> 
> Thomas
> 
> At 19:40 19/07/2003, you wrote:
> >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 tables to didplay results
> while keeping the 
> >search button on the top of the page?
> >regards
> >
> >
> >
> >---------------------------------
> >Do you Yahoo!?
> >SBC Yahoo! DSL - Now only $29.95 per month!
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: search results display

Posted by victor_gusz <vi...@yahoo.com>.
Thanks, Thomas:

Seems pretty easy to handle, I gotto try it out using your 
suggestions. 

regards,


--- In struts@yahoogroups.com, Thomas Cornet <th...@c...> 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 has 
> been called.
> 
> 
> <html>
> 
> // display search form here
> 
> <logic:present name="<yourresultbean>">
> 
>          // display results here
> 
> </logic:present>
> 
> </html>
> 
> Thomas
> 
> At 19:40 19/07/2003, you wrote:
> >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 tables to didplay results while keeping the 
> >search button on the top of the page?
> >regards
> >
> >
> >
> >---------------------------------
> >Do you Yahoo!?
> >SBC Yahoo! DSL - Now only $29.95 per month!
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@j...
> For additional commands, e-mail: struts-user-help@j...


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: search results display

Posted by Thomas Cornet <th...@cornet.name>.
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

At 19:40 19/07/2003, you wrote:
>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 tables to didplay results while keeping the 
>search button on the top of the page?
>regards
>
>
>
>---------------------------------
>Do you Yahoo!?
>SBC Yahoo! DSL - Now only $29.95 per month!


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org