Hi Lucas,

I don't use the plugin as I find using jQuery without a plugin to be
simple enough.

I suspect that if you look at the generated javascript in your
searchResult.jsp page the jQuery binding will be waiting for a document
ready trigger which isn't fired for ajax requests.

The way I get around this to use the jQuery live function for binding
which works perfectly, but as I said not having used the sj plugin not
sure what you need to do.

Z.



On 21/11/12 12:46 AM, "lucas owen" <sr.ilus...@gmail.com> wrote:

>Hi Struts users!
>
>I'm building a web app and I have a serious problem:
>
>index.jsp is a search form with 2 combo boxes which i populate with
>sj:select (this works correctly)
>
>when the user clicks "search", the form sends the data to search.action
>and
>the results are displayed in searchResult.jsp
>
>in this searchResult.jsp i have the same 2 como boxes (same code) but
>
>1.- they dont work (they dont call the sj:select href action)
>2.- they dont get pre-selected with the value the user entered
>
>so the question is can i use sj:select after coming from search.action or
>this just can be used in jsp without any previous struts processing (like
>index.jsp)?
>
>thank you so much in advance!!



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

Reply via email to